fxDreema

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

    How to access the trades made by same EA on another chart

    Questions & Answers
    3
    4
    857
    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.
    • vish
      vish last edited by

      I have an EA which I run on several charts. I want to ensure that I do not get into trades with same currency. For instance when there is a EURUSD trade I dont want to enter into another trade which is GBPUSD. How can EA running on GPBUSD chart know if EURUSD chart has a trade? (Assuming same EA is run on both charts on the same account). Is there a way to see running trades on the other charts?

      1 Reply Last reply Reply Quote 0
      • D
        DGRL last edited by

        @vish

        Do you want a total number of trades to be 1?
        Or only 1 trade for *USD?
        and i assume then also 1 trade for *EUR / *GBP etc etc

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

          trades aren't saved by chart but they are saved by account.

          each trade started by an EA has a "magic number" so the program can somehow sort which trade was started by which EA.

          leave the magic number the same on both charts.

          and if you always want to have only 1 trade make a block like this
          0_1557165858761_8088f210-c45e-4ac6-b299-5fe0a1c66ad0-image.png

          if you're using multiple trades and want for different trades to affect different trades put the same group number to those trades.

          if you want only 1 trade active on your account then leave it empty
          (changing the group number will increase the magic number by the group number. that way the client can know with which trade to interact)
          put symbol to any symbol and the block will check all running trades on your account on any symbol, check for their magic number and if there's no trade running the block will proceed (orange path)

          vish 1 Reply Last reply Reply Quote 0
          • vish
            vish @Spuzy last edited by

            @spuzy Great. This is exactly what I wanted to know

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

            Online Users

            B
            A
            J
            D
            E

            16
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors