John Sender / Publications
Forum
Playsound from Indicator
How do you set an alert/playsound to go off when an indicator hits it's extremes? I've tried to insert: //---- PlaySound if(k<0.01) PlaySound("sample.wav"); if(k>99.99) PlaySound("sample.wav"); return(0); } at then end of my Stochastic .mq4 file but it does not seem to work