fxDreema

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

    i use the no trade and once ber but there problem ?

    Questions & Answers
    2
    3
    833
    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.
    • N
      nagdy last edited by nagdy

      hello

      if i want open one order example buy when RSI x> 70 and i put stop lose 2 pips ( i use no trade and once bar )

      When candle close to up RSI break number 70 , So create my order

      but after above if the same candle close to down will be under 70 and may be stop lose after down 2 pips

      the problem if the same candle close to up again and break 70 again will create order again in the same option - i dont want that

      i want create one order only until if order stop lose

      one order until if candle break again x> 70 - dont create buy again

      in the same candle

      how i can do that ?

      thank you

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

        Block "Once per bar" can only pass 1 time per bar. You can put this block directly on top level in "on Tick" (which means that the block will run many many times, maybe few times per second) and it will pass only 1 time per bar.

        https://fxdreema.com/demo/mt4-once-per-bar

        When you use the crossover options in "Condition" (x> and x<), you could have multiple signals (passes of the block) in the same candle, but then after that candle closes all signals stop, at least for the whole next candle. This is because of the way these crossovers are detected, you just can't have crossover detected in one candle and then another crossover on the very next candle.

        Again, while in the same candle you will see many many signals (passes of the Condition block), because the crossover detection is made out of 2 simple IF checks, as it is described here: https://fxdreema.com/help/working-with/crossover That's why the "Once per bar" block is normally used before or after this Condition block, as described here: https://fxdreema.com/demo/mt4-once-per-bar

        N 1 Reply Last reply Reply Quote 1
        • N
          nagdy @fxDreema last edited by

          @fxDreema

          thank you for that explain
          thnx

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

          Online Users

          A
          M
          K
          M
          B
          A

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors