How do I restrict my ea to only backrest and not trade.example like what is done by MQL when you download the from version of an ea and all you can do is to backrest and not trade the system..please how do I achieve this.
- How to copy deals of successful traders in MetaTrader 5
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- How to connect to the web platform - MetaTrader 5
Don Kush:
How do I restrict my ea to only backrest and not trade.example like what is done by MQL when you download the from version of an ea and all you can do is to backrest and not trade the system..please how do I achieve this.
How do I restrict my ea to only backrest and not trade.example like what is done by MQL when you download the from version of an ea and all you can do is to backrest and not trade the system..please how do I achieve this.
It is difficult to be sure exactly what you are asking for.
If you mean backtesting in the strategy tester, then don't attach the EA to any chart, just use the tester.
Keith Watford:
It is difficult to be sure exactly what you are asking for.
If you mean backtesting in the strategy tester, then don't attach the EA to any chart, just use the tester.
I want to restrict ea to only backrest when I send them to my clients
Don Kush:
I want to restrict ea to only backrest when I send them to my clients
Use something like
if(!IsTesting()) return; // You can issue an alert and/or use ExpertRemove() instead
![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