MT4 Validation expert

 
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px '.AppleSystemUIFont'; color: #0e0e0e} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px '.AppleSystemUIFont'; color: #0e0e0e; min-height: 17.2px}

Hello everyone,


I’m currently developing an Expert Advisor (EA) that is specifically optimized for the GBP/USD pair. The strategy is tailored exclusively for GBP/USD, with order levels, stop loss, take profit, and risk management designed around the characteristics of this pair.


However, I’ve run into a significant issue during Market validation. Every time I submit my EA for validation, the Strategy Tester ends up running it on other currency pairs—such as EURUSD or NZDUSD—rather than GBP/USD. As a result, my EA either fails to operate correctly or simply does not execute any trades, leading to validation failure.


I’ve tried several approaches, including forcing the EA to use GBP/USD data in the initialization function, but I keep encountering errors like “unknown symbol name GBPUSD” or “invalid stops” when the tester runs on a different instrument. This prevents my EA from passing the necessary validation requirements.


Has anyone experienced this issue before? Is there a recommended workaround or best practice to force Market validation to use GBP/USD exclusively? Any insights, code suggestions, or tips would be greatly appreciated.


Thank you in advance for your help!

 
Remy, Pierre H Coste:

Products on the Market must be tested on EURUSD, XAUUSD and other pairs. This does not mean that they must be profitable, only that they work properly.

This ensures that the EA is minimally well coded in aspects such as lot control, among others.