After extern parameters, add :
Add this, in-line in the conditions for long signal and short signal :Code:extern bool SoundAlert = true;
Then where the signal is generated :Code:&& (SoundAlert == "true")
PLAYSOUND will play a wave file. You can add any .wav file you want to the SOUND folder in your MT4 files and call it up from the indicator.Code:PlaySound("alert.wav");