Discussion of article "The checks a trading robot must pass before publication in the Market" - page 28

 
Stanislav Korotky #:

With the current dominance of AI and IO, when a model is stitched into an EA, the presence of hidden parameters (in the number of thousands or millions!) is everywhere. And it is impossible to check such a thing. In principle, most EAs have some variables that for one reason or another are not placed in the interface (for debugging, experimental modes, etc.) and can be controlled in alternative ways. I don't see any violations in this.

Let's imagine that TC sets fixed SL/TP. Is it a violation to hide the possibility of adjusting these parameters or optimising them?
sinput int inSL = 100; // SL
sinput int inTP = 100; // TP
 
fxsaber #:
Let's imagine that a TC sets fixed SL/TP. Is it a violation to hide the possibility of adjusting these parameters or optimising them?
It is hardly an infringement. IMHO, the author himself decides what and how to optimise.
 
Stanislav Korotky #:
This is hardly a violation. IMHO, the author himself decides what and how to optimise.
A trading advisor without input parameters is apparently a valid option.
 

Hi everyone, I developed an Expert Advisor (EA) exclusively for XAUUSD on M5, but when I run the validation or attempt to publish it, the test seems to be automatically running on EURUSD, which causes a validation failure.

I want to ensure the EA validates correctly for XAUUSD only.

  • How can I force the validation/test to use XAUUSD?
  • Are there specific settings in MetaTrader 5 that restrict EA validation to a particular symbol?
  • Could this be related to code limitations or broker/server issues?

Any guidance on how to fix this issue so I can successfully publish my EA would be appreciated!


"test on EURUSD,H1 (netting)

DQ 0 01:40:07.098 Core 01 2022.02.01 00:00:00   WARNING: EA designed for M5. Running on PERIOD_H1 — FVG signals may not fire correctly.

 2022.03.10 16:39:40   failed modify #18 sell 1.8 EURUSD sl: 1.10253, tp: 1.09984 -> sl: 1.10200, tp: 1.09984 [Modification failed due to order or position being close to market]

strategy tester report 12 total trades"

MQL5 Market: MetaTrader 5
MQL5 Market: MetaTrader 5
  • www.mql5.com
A Market of Applications for the MetaTrader 5 and MetaTrader 4
 

Hi all, I have developed an Expert Advisor ( EA ) on M5 specifically for XAUUSD but when I run a validation or try to publish it, the test seems to automatically run on EURUSD, causing the validation to fail.

I want to make sure that the EA only validates correctly for XAUUSD.

  • How do I force the validation/test to use XAUUSD?
  • Is there a specific setting in MetaTrader 5 that restricts EA validation to specific symbols?
  • Is this related to code limitations or broker/server issues?

I hope you guys can advise me, thanks a lot and good luck with your trading!

test on EURUSD,H1 (netting)
2022.03.02 00:07:00 failed market sell 0.2 EURUSD sl: 1.11285 tp: 1.11085 [Invalid stops]
2022.03.02 00:07:30 failed market sell 0.2 EURUSD sl: 1.11288 tp: 1.11088 [Invalid stops]
2022.03.02 00:07:59 failed market sell 0.2 EURUSD sl: 1.11286 tp: 1.11086 [Invalid stops]
2022.05.02 00:02:30 failed market sell 0.2 EURUSD sl: 1.05521 tp: 1.05321 [Invalid stops]
2022.06.20 00:04:00 failed market buy 0.2 EURUSD sl: 1.04810 tp: 1.05010 [Invalid stops]

strategy tester report 4147 total trades

This is the failure log

 
Lian Zhong #: C ow can I force the validation/test to use XAUUSD?
You cannot choose a specific symbol. The tests are done intentionally on different symbols (including XAUUSD).


Lian Zhong #: Is there a specific setting in MetaTrader 5 that restricts EA validation to specific symbols?

There isn't (see previous answer).


Lian Zhong #: Is this related to code limitations or broker/server problems?

Definitely code limitations. You need to fix it. The EA must be able to trade without errors on any symbol and timeframe, regardless of the results (it doesn't have to be profitable, but it can't have failures).