Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

nBarsUp/nBarsDown / maximum x bars

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

    nBarsUp/nBarsDown / maximum x bars

    Hello,

    i have a question regarding a strategy build.

    I want to go short with an break of every 5 minute bar as long we had not more than e.g. 2 upcandles in the selected time frame for the day.
    How can i do this ?

    with nBarsUP/down i look for a "minimum" of x up or down bars.
    Can i also set the condition somehow to work as "maximum" ?

    thank you for your support

    #2
    nt2010, I believe you can work with CountIf to test for this occurence during your time periods of the day - http://www.ninjatrader-support.com/H...6/CountIf.html
    Last edited by NinjaTrader_Bertrand; 08-26-2010, 12:12 PM.

    Comment


      #3
      Bertrand, thank you for this great hint. This was exactly what i was looking for.

      nt2010

      Comment


        #4
        You're welcome, great that helped you realize your task.

        Comment

        Latest Posts

        Collapse

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