fxDreema

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

    ONE ORDER PER SIGNAL

    Questions & Answers
    2
    3
    355
    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.
    • M
      mr lenny last edited by mr lenny

      HEY GUYS i have a slight problem when i create ea to open example a sell order based on moving average example when price is below moving average 50 open sell and tp one it hits tp it imidiately opens another order in the same direction so my question is how can i have it to open one trade only and open another trade wheen price is obove ma 50,,https://fxdreema.com/shared/UKtXyaiY

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @mr lenny last edited by

        @mr-lenny said in ONE ORDER PER SIGNAL:

        HEY GUYS i have a slight problem when i create ea to open example a sell order based on moving average example when price is below moving average 50 open sell and tp one it hits tp it imidiately opens another order in the same direction so my question is how can i have it to open one trade only and open another trade wheen price is obove ma 50,,https://fxdreema.com/shared/UKtXyaiY
        change your no position block to this.
        0_1647043550522_b975362f-93b0-4869-9fde-61e7c4d6d759-image.png

        if that doesnt fix it, change the conditions to be on the cross of the 50 as well. But that may not work logically because you are using ask rather than candle.
        I would personally use C1 close X,< or X> EMA50 on C1...rather than bid and ask .
        0_1647043659414_ff6f2f4e-4e9d-4e95-98a3-0927129a3ab4-image.png

        M 1 Reply Last reply Reply Quote 0
        • M
          mr lenny @TipsyWisdom last edited by

          @tipsywisdom okay thank you bro i will check this

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

          Online Users

          E
          N
          N
          F
          M
          A
          L
          O
          S

          24
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors