Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsInProgress question

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

    BarsInProgress question

    If I Add a tick Bars object (Add(Period.Tick,150) - BarsInProgress index = 1 - to a 30 Minutes Bar Chart - BarsInProgress index = 0 - which one will trigger first on historical and real time data with CalculateOnBarClose = false;




    Thanks

    #2
    Hello,

    Thanks for your note.

    If I understand your question correctly the smallest time frame OnBarUpdate() will always occur first.

    Also OnBarUpdate() will not run for any BarsArray until all data is there for all BarsArrays. Then the indicator/strategy will start its OnBarUpdate() loop.

    For example, you have tick data back to this 1st of this month but Minute data a year back. The indicator will only run a Month back.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    605 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    351 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    560 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    561 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X