fxDreema

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

    Set "Current market" for next blocks

    Questions & Answers
    2
    4
    1065
    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.
    • J
      james last edited by

      I understand this block will pass when the open chart matches the list of markets within the block. The examples given within the block itself are, EURUSD,GBPUSD,AUDUSD.

      Some markets change their symbol at different times of year. On my broker, the S&P500 index is known as US500.Z, US500.H, US500.M, and US500.U depending on the time of year.

      How should I enter this in the block? Is simply "US500" sufficient to catch all variations? Or should it be "US500?" as in the Project Options?

      Thanks.
      🙂

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

        No, this block runs because of the current market where the EA is placed, and for that single run it causes the next block connected to it to run as many times as many market there are defined. At any iteration it sets the default Market parameter to different market.

        There is no system that listens to multiple markets at the same time and reacts on each one individually. Well, adding the same EA on multiple charts works that way 🙂

        1 Reply Last reply Reply Quote 0
        • J
          james last edited by

          OK. Thank you for the reply.

          So, unless I'm mistaken, in the block I'll put the following:

          __US500.Z,US500.H,US500.M,US500.U[/quote:6i4dakji]

          ...and this will mean that the EA will run on any of these markets each time I start it on one of them.

          Please correct me if I'm wrong!

          🙂

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

            This is the idea, but if you want to check if it's working correctly, place some Alert message block after that one

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

            Online Users

            L
            S
            A
            F

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors