Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2nd Timeframe w/ limited lookback

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

    2nd Timeframe w/ limited lookback

    Hi there,

    I am developing a strategy which primary timeframe is 1min bars.

    I would like to add a 2nd timeframe (namely, 1sec bars) but I don't need and don't want to keep in memory more than the last 256 bars of that 2nd TF. Is it possible to do that ?

    Thanks
    Dominique

    #2
    Hello dom993,
    Unfortunately you cannot do it using the Add method.

    As an alternative you can build your own bar using unsupported codes. Please refer to this thread for more ideas.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Hi Joydeep,

      Thanks for the link - much appreciated. I will have to wait for next week to test if that works for a live strategy.

      Cheers
      Dominique

      Comment

      Latest Posts

      Collapse

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