Download MetaTrader 5

Add a simple alert.

To add comments, please log in or register
ironmat
38
ironmat  

Hello everybody!

please, help me to add a simple alert with sound, in this indicator. I tried to add it, but repeats all the time the alarm.

Thanks.
Files:
AddAlert.mq4 3 kb
Marco vd Heijden
Moderator
6152
Marco vd Heijden  

i do not see any alerts in your code so i have to assume you want a flip-flop.

Because you can have several modes of operation like for example alert every time it goes above threshold, or between high and low thresholds.

Files:
ironmat
38
ironmat  
Thanks Marco (are you italian like me?) for the help, but it don't works. This indicator works with other three indicators. In the code in fact appear icustom .... indicator_1, _2 and _3. When these are aligned, my indicator draw an arrow. I wish that when the arrow appear and the candle is closed, an alert play sound. Thanks.
agung suprianto
464
agung suprianto  
Thanks Marco
Roberto Jacobs
49160
Roberto Jacobs  
ironmat:

Hello everybody!

please, help me to add a simple alert with sound, in this indicator. I tried to add it, but repeats all the time the alarm.

Thanks.
May be useful and work well.
Files:
To add comments, please log in or register