Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Easiest way to check for 'LastBarOnChart'?

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

    Easiest way to check for 'LastBarOnChart'?

    In Tradestation you could check for 'LastBarOnChart'.
    What is the easiest way to do that in NT6?

    #2
    imported post

    We have a concept of "Historical" meaning, a bar is either real-time or Historical therefore, if you only wanted to process on the last bar of a chart, you could do something like:

    if (!Historical)
    // Real-time bar which can only be the last bar of a chart
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by junkone, Today, 09:11 PM
    0 responses
    3 views
    0 likes
    Last Post junkone
    by junkone
     
    Started by DavidThornbery, Today, 09:03 PM
    0 responses
    3 views
    0 likes
    Last Post DavidThornbery  
    Started by jmneto, 03-02-2017, 11:34 AM
    5 responses
    1,590 views
    0 likes
    Last Post anon84
    by anon84
     
    Started by nikorrriko, Today, 04:42 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_ThomasC  
    Started by rajeshks1988, Yesterday, 05:32 AM
    1 response
    17 views
    0 likes
    Last Post cincai
    by cincai
     
    Working...
    X