• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 rwilliam, Today, 03:14 PM
    0 responses
    3 views
    0 likes
    Last Post rwilliam  
    Started by rwilliam, Today, 03:10 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rontronimous, Today, 03:04 PM
    2 responses
    5 views
    0 likes
    Last Post rontronimous  
    Started by zacharydw00, Today, 03:14 PM
    0 responses
    4 views
    0 likes
    Last Post zacharydw00  
    Started by junkone, 09-12-2019, 07:10 PM
    11 responses
    82 views
    0 likes
    Last Post cnecorp
    by cnecorp
     
    Working...
    X