Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean?
It means you are takes a huge time per tick or never returning from OnTick at all, so the tester can't verify your EA. Fix your broken EA.
-
EAs : Don't do per tick what you can do per bar, or on open.
If you are waiting for a level, don't reevaluate, wait until price reaches it (or a new bar starts, and you recalculate.)
If you are waiting for an order to close, only look when OrdersTotal (or MT5 equivalent) has changed.
How to get backtesting faster ? - MT4 - MQL4 programming forum (2017) -
Indicators: Code it properly so it only recomputes bar zero (after the initial run).
How to do your lookbacks correctly. (2016)
3 Methods of Indicators Acceleration by the Example of the Linear Regression - MQL5 Articles. (2011)
Forum on trading, automated trading systems and testing trading strategies
Sergey Golubev, 2022.01.11 07:59
There are errors in your products.
because the validation system is checking everything which was checked in your code (min/max lot size, and more).
There is forum thread about it: Strategy Tester Report not found
..and there is an article:
交易机器人在市场发布前必须经过的检验 - the article
And some discussion is on this thread:
Automatic checking of products in the Market (questions and suggestions) - page 5
to make it shorter -
Forum on trading, automated trading systems and testing trading strategies
Ugochukwu Mobi, 2022.04.11 06:41
You need to optmize your codes- 2019.05.09
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use