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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      309 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X