Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

BarsInProgress

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

    BarsInProgress

    Hello

    I have a simple question. I am playing with BarsInProgress and try to understand the way it works because I have to do some initialization and have to understand the way it does things....

    I have two time frame. First ProgressBar 0 = 5 minutes. This is the time frame I am applying to the chart. I have added a 1 tick data series in the initialize() method
    Add(PeriodType.Tick,1);

    Now I have to initialize variable right on the first tick of the session...
    Which data series comes first the BarsInProgress == 0 (5 minutes chart)
    or BarsInProgress == 1 the smallest time frame (1 tick data series)

    Thank you

    #2
    Hello blar58,

    It will work differently in real compared to historically. This document is good for detailing how data is accessed in multiseries. Click the link, then > How bar data is referenced:
    Last edited by NinjaTrader_RyanM1; 02-21-2011, 11:58 AM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ryan

      Are you sure you've got the right link because I keep getting this same page back

      Comment


        #4
        Sorry for the circular reference. Please see here instead:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        0 responses
        3 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        8 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X