- Why? You don't care. No one is likely to subscribe if they can't back test it.
- Test for it.
Write logging data to text file? - MQL5 programming forum #3.2 20.04.21
I have read, but but I still haven’t figured out how I can block the trategy tester fonction
int OnInit() { if(IsTesting()) return(INIT_FAILED); return(INIT_SUCCEEDED); }
In future please post in the correct section
I have moved your topic to the MQL4 and Metatrader 4 section.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello all!
Iam novice on mql4, i would like to block the backtest of my expert advisor.
I looked, but found nothing about this.
I only see who i need to user "MQL_TESTER"
So i would like to disable backtesting of my ea.
Who can help me for only this little option to add to my code.
Thank you