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 CarlTrading, 03-31-2026, 09:41 PM
              1 response
              64 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              35 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              59 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              62 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              51 views
              0 likes
              Last Post CarlTrading  
              Working...
              X