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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      236 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      150 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      162 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      243 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      198 views
      0 likes
      Last Post CarlTrading  
      Working...
      X