On the MACD crossover EFS, I added an audio alert to the EFS that dings when MACD and signal line cross. However, I would like to hear the ding only on close, not intra-bar. Any suggestions?
The code I used for the alert was "
alert.playsound("ding.wav"); // play sound file
The code I used for the alert was "
alert.playsound("ding.wav"); // play sound file
Comment