Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Min. Bars Required Question...

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

    Min. Bars Required Question...

    Hey, got a quick question... hope someone can give me an idea...

    I want to add a feature into a strategy i'm designing where from the moment I start trading it, it waits for X number of bars to build prior to entering trades... ie Min Bars Required is 50...

    any help would be much appreciated...

    Thanks!

    #2
    There already is such a property: http://www.ninjatrader-support.com/H...Required1.html

    Comment


      #3
      so I don't have to add it directly to my code? I can just simply set the value from the strategy tab and it'll work?

      I tried running a strategy today using 5 minute bars... the results are significantly different than what I got running a simulation after market close using today's data.

      Essentially I want to start collecting ticks in 5 minute bars for 75 minutes (15 periods) such that I have 15 periods worth of data to start trading off of when my strategy starts running at 9:30am EST.

      Comment


        #4
        >> I can just simply set the value from the strategy tab and it'll work?
        correct

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X