Forum

Delay in playing next sound alert

Thanks to raff1410@o2.pl for this great alert indicator. How would one add a delay to playing the sound alert? The sound file loops very quickly and can sound annoying.. #property copyright "raff1410@o2.pl" #property indicator_chart_window extern string LineName= "MyLineL" ; extern string LineName1=

PlaySound MT4 Delay

I have an indicator that plays a sound when price passes a level ( horizontal line ) , The problem is there is no delay is sounding the alert (wav file) .. I do i put a delay in to do this in the code