Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

last bar on the chart

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

    last bar on the chart

    hi,

    When I load a chart with an indicator, there is processing i only want to do once and i want to do it once on the last bar on the chart?

    Is there a way to tell if the current bar being processed is also the last bar on the chart?

    Onn

    #2
    Hi onnb1, yes you can make a comparison here via CurrentBar (currently processed bar by OnBarUpdate() and Count (all bars on the chart) to know if the last bar is processed.

    Comment

    Latest Posts

    Collapse

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