Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Code for range of last n Bars

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

    Code for range of last n Bars

    Can someone help with code to produce the range for the last n bars? I looked at the Sample Breakout Strategy which finds Highest Highs but it is not last n bars but only bars since session opened. Thanks!

    #2
    Hi LLO9999, welcome to the NinjaTrader support forums! If I understand your request correctly, you can check into the 'DonchianChannel' code for your needs - http://www.ninjatrader-support.com/H...anChannel.html

    Comment


      #3
      Bertrand,
      It's just what I needed!
      Thanks,
      Len

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      585 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      340 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
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X