How to compare Symbol() string to find "EURUSD" in it?
My broker symbol for EURUSD is EURUSDgfx5 for 5 min chart on live account. It does not contain the 5 on the demo account.
I would like to know the code to find out whether the Symbol() string contains EURUSD so that there would be no mistakes if the suffix changes from one account to another or one broker to another.
My broker symbol for EURUSD is EURUSDgfx5 for 5 min chart on live account. It does not contain the 5 on the demo account.
I would like to know the code to find out whether the Symbol() string contains EURUSD so that there would be no mistakes if the suffix changes from one account to another or one broker to another.