Discussion of article "The checks a trading robot must pass before publication in the Market" - page 3
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 mean to make it as a panel? And check it that way? Or how?
just open any trade manually at the moment and this EA is attached to the chart to the ticket of the open order.
ok
If YOU wrote the utility yourself, YOU can open a trade in the tester in INIT and the assistant will manage it.
If the Expert Advisor has passed the tests in the terminal and opens trades, then in the automatic check it writes an error that no trades have been opened (pair and TF are the same), respectively it does not pass the "Automatic check"
Coincidence? I don't think so!
What to do?
Is it possible for MetaQuotes to generate a template for developers? It will make it easier for developers and also save MetaQuotes tons of money and resources on checking submitted EAs.
Have the template for developer in the code base
https://www.mql5.com/en/code/mt4/experts/best
That's an interesting article, unfortunately there are too much errors (typo or even logical errors in the proposed code), and it will probably confuse more people than help them at some points.
1°
1°
Logical error. If there is no position yet, you still have to check the pendings volume and calculate allowed volume. This code returns allowed_volume=0 if there is no position already opened without taking pendings into account.
2°
+ missing parameter (PrintFormat has for %, but only 3 parameters are provided).
Thank you! Fixed
3°
Similar error as point 2° above.
And same errors also in OrderModifyCheck() mql4 version.
All fixed, thank you!
2°
An other logical error. Changing a SL/TP by 1 point is allowed. It should be >=
As far as I remember we use such practice just in order to do not get refusion from trade sercver due the price changing for the time while our trade request reaches to server
It is just more secure approach.
2°
+ typo error, should be "-tp)>=point);"
//--