Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsInProgress problem

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

    BarsInProgress problem

    I'm working with second data, and have added a minute period to my strategy,

    if (BarsInProgress == 0)
    {
    // Do something within the context of the 1 second Bars here
    }
    else if (BarsInProgress == 1)
    {

    // Do something within the context of the 1 minute Bars
    }

    but on each OnBarUpdate, everything executes.

    Ninjatrader 7 RC1.

    #2
    altjt, can you please post the complete code you're using so we can see what might be going on?
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    33 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    26 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    35 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    141 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X