I am trying to write a EA that stops for a few seconds after the close of every bar.
Here is the code, it pauses after the bar close but does not play sound, any help appreciated.
Thanks
_______________________________________________
Are you testing this live/demo or in the Strategy Tester ? sounds are not played in the Strategy Tester: Testing Features and Limits in MetaTrader 4
Thanks RaptorUK.
I am trying it in the Strategy tester - basically I don't want to keep starring at the screen till the start of the next bar. So some sound notification at the end of the bar would help.
Is there any way to do that in the Strategy tester.
Thanks
Thanks RaptorUK.
I am trying it in the Strategy tester - basically I don't want to keep starring at the screen till the start of the next bar. So some sound notification at the end of the bar would help.
Is there any way to do that in the Strategy tester.
Thanks
Not with standard mql4 functions, sounds aren't played from the Strategy Tester, you might be able to do it with WinAPI calls.
Ok, thanks

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am trying to write a EA that stops for a few seconds after the close of every bar.
Here is the code, it pauses after the bar close but does not play sound, any help appreciated.
Thanks
_______________________________________________