You are welcome ^_^
Thank you M. jacobs for this generous contribution
I use your indicator as a signal for an Ea.
Profitable and safe
Alerts on MT4 tabs are different from alerts made by indicators.
To change the sound of an alert (default sound alert on MT4) with a sound file with another sound, the format file must be wav, and the file must be placed in the MT4 sound folder.
and call sound files with the PlaySound("filename.wav") command, not with the Alert (...) command.
If you don't change the Alert code (...), the sound file will be defeated by the alert sound (the sound file will not be heard).
If the indicator is tested on the Strategy Tester, the alert will not sound. You can see the alert on the Strategy Tester Journal tab.