fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Symbol problem

    Questions & Answers
    2
    3
    1099
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BlueMoon last edited by

      My broker uses different suffix in all the currency pair symbols.

      Examples:
      EURUSD = EURUSD.e
      GBPJPY = GBPJPY.e

      My 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?

      1 Reply Last reply Reply Quote 0
      • B
        BlueMoon last edited by

        Can someone please help on this one?

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          D
          S
          G

          12
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors