Set the alertsOn parameter to true and it will alert (see the example) :
sorry double post.
Still did not get it going. Is my setting correct. I am running on mt4 build 670.
Sorry wrong image posted. The alert sound is also set to true.
In build 670 Alert() function (and sound() function) are not working in back-test. See the example : alerting procedure is correctly called in visual back test but neither Alert() nor sound was triggered. Why? The "smart" guys from mq did it so in this build (build 670). It was working before. When will it work again in back-test? When they become even "smarter"
Attaching a very, very, very simple indicator that will show you that new build does not allow alerts (it disables them) in back test
Thanks for the answer. Stupid mt4 build 670.
See this post : https://www.mql5.com/en/forum/181280/page31
Instead of displaying a popup window, it is simply displayed as simple text in the journal tab of the back test (like this :
16:28:47 TestGenerator: current spread 5 used
16:29:13 Custom indicator ADXm & alerts EURUSD,M1: loaded successfully
16:29:23 _for visual inputs: MaPeriod=10;
16:29:26 2013.01.01 23:03 ADXm & alerts EURUSD,M1: Alert: EURUSD at 23:03:01 ADXm changed trend to down
16:29:28 2013.01.01 23:05 ADXm & alerts EURUSD,M1: Alert: EURUSD at 23:05:00 ADXm changed trend to up
16:29:33 2013.01.01 23:12 ADXm & alerts EURUSD,M1: Alert: EURUSD at 23:12:00 ADXm changed trend to down
sorry for my bad english
can you alert for this indicatorsigdeh-idragon_.mq4
thank you verry much
Hi Hesam_sabet, added alerts.
thank you verry much mrtools
Hello Mr.mladen and MR.mrtools
Please adding alert this indicator!