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 Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,788 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        12 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        62 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X