Question on Alert()???

 

Hi

Does anyone have idea why an Expert Advisor calls an alert() under backtest mode won't work, but it will works when an alert is called under an indicator in backtest? I want the EA prompts alert in backtest. the alert is worked properly in live and demo account but not backtest mode? Anyone can help

Thanks

Trish

 

Hi,

According to my personnal point of view, I think you have to consider Backtesting as a Batch treatment, so not a Conversational one : you are working with files, no operator intervention is possible while running. In that logic, no message to the operator will be displayed: no use.

May be you can try to write your alert in a file for your tests.

 
Some functions such as Alert, Sleep and Sendmail don't work in tester. Use Print to see your sign in logs.
Reason: