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 mattbsea, Today, 05:44 PM
        0 responses
        4 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        20 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X