Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-Bar if(IsFirstTickOfBar)

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

    Multi-Bar if(IsFirstTickOfBar)

    How would you call "IsFirstTickOfBar" for additional bars that are added to the indicator or strategy?

    Would something like this work? Since its being called in the context of the additional dataseries.

    if (BarsInProgress == 1)
    {
    if(IsFirstTickOfBar)
    dosomething;
    }

    #2
    Hello,

    Yes, that would be the best way to filter for the first tick of bar on any specific added series.
    Dave I.NinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by hazylizard, Today, 08:38 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    2 responses
    17 views
    0 likes
    Last Post geddyisodin  
    Started by Max238, Today, 01:28 AM
    5 responses
    45 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by giulyko00, Yesterday, 12:03 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by habeebft, Today, 07:27 AM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_ChristopherS  
    Working...
    X