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"
You cannot force validator to use only XAUUSD.
According to MetaQuotes rules the automatic validation process is designed to ensure a product is robust across different environments (any symbol/timeframe):
"Products cannot apply restrictions. All limitations should be marked as recommendations"
Can read this
Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market
- 2017.08.07
- www.mql5.com
- 2017.08.07
- 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
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.
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"