Download MetaTrader 5

Add a simple alert.

To add comments, please log in or register
ironmat
38
ironmat 2015.07.02 12:30 

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
4731
Marco vd Heijden 2015.07.02 12:37  

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 2015.07.02 13:53  
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
472
agung suprianto 2015.07.03 02:25  
Thanks Marco
Roberto Jacobs
47116
Roberto Jacobs 2015.07.03 16:53  
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