Sound_On-Off

Author: Copyright � 2010, Korvin � Co.
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
Sound_On-Off
//+------------------------------------------------------------------+
//|                                                 Sound_On-Off.mq4 |
//|                                   Copyright © 2010, Korvin ® Co. |
//|                                         http://alecask.narod.ru/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, Korvin ® Co."
#property link      "http://alecask.narod.ru/"
#property show_inputs
#define QUESTION "ÂÊËÞ×ÈÒÜ ÈËÈ ÂÛÊËÞ×ÈÒÜ ÇÂÓÊ ?!"
extern string msg1 = QUESTION;
extern bool SoundOn;
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
if (SoundOn) {GlobalVariableSet("Sound", 1); msg1 = "ÇÂÓÊ ÂÊËÞ×¨Í !!!";}
else {GlobalVariableSet("Sound", 0); msg1 = "ÇÂÓÊ ÎÒËÞ×¨Í !!!";}
Alert(msg1);
   return(0);
  }
//+------------------------------------------------------------------+

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---