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.
![Documentation on MQL5: MQL5 programs / Testing Trading Strategies Documentation on MQL5: MQL5 programs / Testing Trading Strategies](/i/community/logo_mql5_small.png)
- 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!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- 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