Discussion of article "The checks a trading robot must pass before publication in the Market" - page 8
![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
It seems you did not read this topic before posting ...
It is still a limitation. Remove any and all limitations by setting the default parameter values to allow trading irrespective of any given date, symbol, or time-frame.
The EA will also need to read the contract specifications and adjust accordingly, or else it will fail the validation process.
I've checked many times in strategy tester and my EA works without any errors.
I coded a "Validation Test" EA that simply opens a position with minimum allowed volume and closes the position after a few seconds, but same error did happen.
Just read a comment regarding validation report saying "no trading activities". Must all EAs trade? My EA is just drawing stuffs on the chart, or it should had been an Indicator?
Anyone with this type of problem? In the Metaquotes DEMO account it works normally and in the test it did not pass validation.
test on EURUSD,H1 (netting) 2021.06.30 23:59:59 ExpertRemove() function called removed itself within OnDeinit removed itself on 99% of testing interval strategy tester report 1 total trades
i am getting a error while publishing my ea. someone help me with this
Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
Salut la communauté. Moi je reçois constamment ce message d'erreur:
test on EURUSD,H1 (netting) 2022.02.01 00:00:59 failed modify order #2 buy stop 0.2 at 1.12483 sl: 1.12453 tp: 0.00000 -> 1.12483, sl: 1.12453 tp: 0.00000 [No changes] 2022.02.01 00:00:59 failed modify order #3 sell stop 0.2 at 1.12221 sl: 1.12251 tp: 0.00000 -> 1.12221, sl: 1.12251 tp: 0.00000 [No changes] 2022.02.01 00:02:20 failed modify order #2 buy stop 0.2 at 1.12475 sl: 1.12445 tp: 0.00000 -> 1.12475, sl: 1.12445 tp: 0.00000 [No changes] 2022.02.01 00:02:20 failed modify order #3 sell stop 0.2 at 1.12214 sl: 1.12244 tp: 0.00000 -> 1.12214, sl: 1.12244 tp: 0.00000 [No changes] 2022.02.01 00:03:00 failed modify order #2 buy stop 0.2 at 1.12483 sl: 1.12453 tp: 0.00000 -> 1.12483, sl: 1.12453 tp: 0.00000 [No changes] 2022.02.01 00:03:00 failed modify order #3 sell stop 0.2 at 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [No changes] 2022.02.01 00:04:00 failed modify order #3 sell stop 0.2 at 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [No changes] 2022.02.01 00:04:20 failed modify order #2 buy stop 0.2 at 1.12487 sl: 1.12457 tp: 0.00000 -> 1.12487, sl: 1.12457 tp: 0.00000 [No changes] 2022.02.01 00:04:20 failed modify order #3 sell stop 0.2 at 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [No changes] 2022.02.01 00:07:59 failed modify order #2 buy stop 0.2 at 1.12484 sl: 1.12454 tp: 0.00000 -> 1.12484, sl: 1.12454 tp: 0.00000 [No changes] 2022.02.01 00:07:59 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:09:00 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:09:20 failed modify order #2 buy stop 0.2 at 1.12446 sl: 1.12416 tp: 0.00000 -> 1.12446, sl: 1.12416 tp: 0.00000 [No changes] 2022.02.01 00:09:20 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:10:00 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:11:20 failed modify order #2 buy stop 0.2 at 1.12453 sl: 1.12423 tp: 0.00000 -> 1.12453, sl: 1.12423 tp: 0.00000 [No changes] 2022.02.01 00:11:20 failed modify order #3 sell stop 0.2 at 1.12223 sl: 1.12253 tp: 0.00000 -> 1.12223, sl: 1.12253 tp: 0.00000 [No changes] 2022.02.01 00:12:20 failed modify order #2 buy stop 0.2 at 1.12461 sl: 1.12431 tp: 0.00000 -> 1.12461, sl: 1.12431 tp: 0.00000 [No changes] 2022.02.01 00:12:20 failed modify order #3 sell stop 0.2 at 1.12231 sl: 1.12261 tp: 0.00000 -> 1.12231, sl: 1.12261 tp: 0.00000 [No changes] 2022.02.01 00:12:59 failed modify order #2 buy stop 0.2 at 1.12453 sl: 1.12423 tp: 0.00000 -> 1.12453, sl: 1.12423 tp: 0.00000 [No changes] 2022.02.01 00:12:59 failed modify order #3 sell stop 0.2 at 1.12223 sl: 1.12253 tp: 0.00000 -> 1.12223, sl: 1.12253 tp: 0.00000 [No changes] strategy tester report 2 total trades
Queslqu'un pourrait m'aider ?
NEED HELP PLEASE 😥😥😥😥
your ea cannot change the sl due to your account being netting. It will only modify trades on a hedging account.
If you are author of the ea, then, you need to post your code to receive help or suggestions to fix. On a netting account, i believe, you have to modify the orders in sequence that they opened. You may have to have just 1 sl for those trades too. Could be incorrect, but some suggestions.
EDIT: you can not change or modify pending orders. You have to delete the order, and create a new one.