Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

rising indicator for the last 3 bars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rising indicator for the last 3 bars

    Dear all,

    this is probably a quite easy question:
    How to implement a stategy with an entry signal after 3 bars show a rising indicator?

    I managed to implement the rising condition but since I could´t figure out how to put in the 3-bars-condition as well it just compares the actual and the last bar.

    I am using the wizard to create the strategy.

    Thanks in advance

    #2
    MightyM,

    I am not sure I understand what you mean by 3-bars. What happens on these 3 bars? What do they signify? Please clarify. Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi NinjaTrader_Josh,

      I meant that the condition for the entry should be, that the indicator rose with the last three bars of the chart.

      Thanks

      Comment


        #4
        MightyM,

        Create yourself 3 conditions, each time increasing the Bars Ago parameter. Then you will be checking for it rising on bars ago 0, 1, and 2. That will be rising of 3 bars.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          OK thank you very much!

          But what for then is the "rising==true" feature in the condition builder?
          Can I not implement the "3" there?

          Comment


            #6
            Rising == true is used when you only care for the latest bar. It is not used for checking if it is rising over x amount of bars.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Thank you!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              599 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              344 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              558 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              557 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X