Add a simple alert.

 

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
 

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:
 
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.
 
Thanks Marco
 
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:
Reason: