DislikedHello, I coded an alert indicator. The plot on chart and text alert work well. However, its playsound() doesn't work at all. The related codes are following: if(AlertOn && (TimeCurrent()-LastAlertTime5>=300)) { PlaySound("news.wav"); Alert(Symbol(),"m5","_","VSA Strategy","_Upthrust","_Short"); } Can anyone tell me how to make PlaySound() work here ? Thank you in advanceIgnored
Inserted Code
if(AlertOn && (TimeCurrent()-LastAlertTime5>=300)) { PlaySound("news.wav"); Alert(Symbol(),"m5","_","VSA Strategy","_Upthrust","_Short"); LastAlertTime5=TimeCurrent(); }