fxDreema

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

    Wait X Bars before opening another trade

    Questions & Answers
    2
    3
    414
    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.
    • D
      Darekl last edited by

      Hello,

      I'm working on a project that consists of an initial trade based on specific conditions and a Continuation trade in the same direction if the same conditions are met again. What I'm trying t figure out is how to set it so that after the initial trade, the system waits until 2 bars before it considers opening the continuation trade.

      Is there a function I'm overlooking where you can set for the system to wait for X bars after the initial trade is placed before the continuation trade is considered. I don't want this to be a time-based restriction because it would be complicated when working with different time frames. I would prefer for it to wait for at least to bars after the initial trade.

      Thanks for the help in advance.

      Q 1 Reply Last reply Reply Quote 0
      • Q
        q8carpenter @Darekl last edited by

        @darekl Hello,

        I'm not sure if there's a simple block solution but here is an example of how I would do it. The blocks has to be in a specific order to work correctly.

        0_1623902208402_counter skip.png

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

          Thanks for the help!

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

          Online Users

          R
          R
          G
          K
          M
          M
          S
          E

          13
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors