Symbol problem
-
My broker uses different suffix in all the currency pair symbols.
Examples:
EURUSD = EURUSD.e
GBPJPY = GBPJPY.eMy EAs fail with errors all over the place suggesting that the symbol does not exist. Following is an example of the errors I receive:
Symbol USDJPY does not exists and will be excluded from the list in block #2
I really do not want to change everything in my code to resolve this. I also want my EA to work with any/every broker. Is there any quick and easy way to address this issue?
-
Can someone please help on this one?
-
If you want the EA to work with the current symbol, don't specify any symbol, don't touch these settings at all and it should work. If you want to specify a symbol, then the name should be the same as those used by the broker. If you specify USDJPY and there is no such symbol, then the EA fails. The EA doesn't know that USDJPY should be the same as USDJPY.e