Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Update on Last Bar On Screen?

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

    Update on Last Bar On Screen?

    Is there a way to know when the last Bar updates on the Screen?.
    When you Press F5 the indicator will draw per bar which with a heavy drawing indicator can be very slow. So I am trying to optimize the reload just painting when the last bar on the screen is updated.
    I cant use Historical for this as I want to draw even in that case.
    Thanks
    Last edited by pacpac; 03-15-2011, 11:11 PM.

    #2
    pacpac, there's unfortunately not supported method for this task, however as a hint you could look into the VolumeZones use of the ChartControl.LastBarPainted I believe.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    155 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    137 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X