EA is showing results as expected but, on the XM platform it is showing 130 error after 3 months of backtesting, while on ICMarkets it isn't
showing any result and no ERROR, both were backtested on the EURUSD. And here is what made it confusing, backtesting the EA on USDJPY worked
well. Am I missing something about how to work with data? Or some difference that can be observed from brokers? I'm very new to programming. I
have put the code source below if you can check it. Thank you!
- Custom Indicator: iCustom values do not correspond to values on chart
- EA apparently not running
- Is This Possible
Hi, check this topic https://www.mql5.com/en/forum/105138 also keep in
mind about different timezone between brokers, spread and backtest period (10 years or more). Regards Greg

If the naming pattern of your charts isn't exactly "BasQuo" then your code could fail.
Broker's use a variety of naming patterns: EURUSD, EURUSDc, EURUSDct, EURUSDi, EURUSDm, EURUSDecn, EURUSDpro, "EUR.USD", "EUR/USD", "EURUSD#", "EURUSD.", "EURUSD..", "EURUSD.c", "EURUSD.G", "EURUSD.SBe", "EURUSD.stp", "EURUSD+", "EURUSD-sb", etc.
Don't hard code things; just use the predefined _Symbol. Or calculate the adornments
SymbolName/Symbol. OrderSend - Symbols - MQL4 programming forum
Broker's use a variety of naming patterns: EURUSD, EURUSDc, EURUSDct, EURUSDi, EURUSDm, EURUSDecn, EURUSDpro, "EUR.USD", "EUR/USD", "EURUSD#", "EURUSD.", "EURUSD..", "EURUSD.c", "EURUSD.G", "EURUSD.SBe", "EURUSD.stp", "EURUSD+", "EURUSD-sb", etc.
Don't hard code things; just use the predefined _Symbol. Or calculate the adornments
SymbolName/Symbol. OrderSend - Symbols - MQL4 programming forum

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