OnTick() { PlaySound("OK.wav"); }
Have you tried?
Marco vd Heijden:
Have you tried?
When there is an alert, place a button on the chart.
Sound the alert using OnTimer()
Click the button to kill the timer and delete the button.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm trying to figure out a way to create a looping alert that won't shut off until I click a button on the MT4. I need it to continuously loop forever until it's disabled. I'm using my MT4 to wake me up during the night when the price hits a certain target, but to do that I need to have my MT4 play a custom audio file that simulates a train horn (don't ask lol). I couldn't find any utilities in the marketplace to help me with this. Also, the Alert function on MT4 isn't suitable for what I need because it only plays the alert for 1 min and then automatically shuts off, no matter how long the .wav file is.
Any ideas?
Thanks