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 r68cervera, Today, 05:29 AM
        0 responses
        2 views
        0 likes
        Last Post r68cervera  
        Started by geddyisodin, Today, 05:20 AM
        0 responses
        3 views
        0 likes
        Last Post geddyisodin  
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        33 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,239 views
        0 likes
        Last Post Leafcutter  
        Started by AveryFlynn, Today, 04:57 AM
        0 responses
        6 views
        0 likes
        Last Post AveryFlynn  
        Working...
        X