Hi,
It seems like SendNotification() is ignored when executed in the Strategy Tester. Right? So there is no need to do a conditional check? MQL5InfoInteger(MQL5_TESTER)?
Shouldn't this be documented? Are there more functions that are ignored in test mode?
Regards, Erik
All about Strategy Tester and more precisely https://www.mql5.com/en/docs/runtime/testing.

- www.mql5.com
All about Strategy Tester and more precisely https://www.mql5.com/en/docs/runtime/testing.
Thanks for the links. Good reading.
It's obvious it's not appropriate to send Notifications from within the Strategy Tester. But it's not obvious whether it's up to the programmer to prohibit it or not. What about SendMail() and SendFTP? Also neglected in the tester?
Thanks for the links. Good reading.
It's obvious it's not appropriate to send Notifications from within the Strategy Tester. But it's not obvious whether it's up to the programmer to prohibit it or not.
You are right it would be more clear to note that in the documentation.
What about SendMail() and SendFTP? Also neglected in the tester?
Thanks for fast replies!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
It seems like SendNotification() is ignored when executed in the Strategy Tester. Right? So there is no need to do a conditional check? MQL5InfoInteger(MQL5_TESTER)?
Shouldn't this be documented? Are there more functions that are ignored in test mode?
Regards, Erik