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 lightsun47, Today, 03:51 PM
        0 responses
        4 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        8 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        44 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        13 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        8 views
        0 likes
        Last Post port119
        by port119
         
        Working...
        X