Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to tell 'screen refresh' bars

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

    How to tell 'screen refresh' bars

    When you press F5 and refresh a chart, each bar is processed through each indicator on the chart. In the OnBarUpdate() for these indicators, how do you tell that the bar being processed is a 'refresh' bar, as opposed to a historical or 'current' bar? The Historical flag is true on all bars, whether refreshing the chart or manually stepping through the chart bar by bar, so that won't work. I need to know this for my custom indicators.

    Thanks!
    Bryan

    #2
    Hi Bryan, unfortunately a programmatic NS reload / refresh (the F5) is not supported.

    Comment


      #3
      Well, that's not quite what I was asking. I don't want to refresh programmatically. What I want to know is how to tell in the OnBarUpdate() whether a bar that's being processed is the result of a refresh or not.

      Comment


        #4
        Thanks for clarifying Bryan - sorry there's no method available to track this either, Historical is tied to chart data.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        656 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        371 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X