auto9817:
Try MQLInfoInteger() with MQL_TESTER
I need to change variable in the strategy testing mode.
So how to detect if EA is working on the Strategy testing mode or visual mode using code?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I need to change variable in the strategy testing mode.
So how to detect if EA is working on the Strategy testing mode or visual mode using code?