Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BackColor not updating in realtime

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

    BackColor not updating in realtime

    An indicator I created is supposed to change the BackColor. However it doesn't change the BackColor to a different color when it should but continues to paint the next bar with the prior bar's BackColor. Only if I hit F5 does it refresh it to the new color. See attached image.

    I would appreciate if someone knowledgeable could review my coding and tell me what I need to fix. My understanding is that BackColor actually should be able to update in realtime. Or am I wrong with that assumption?

    sandman
    Attached Files

    #2
    Hello sandman,

    Thank you for your post.

    Switch to BackColorSeries: http://ninjatrader.com/support/helpG...olorseries.htm
    This will allow you to set the color at the bars ago value. This should alleviate the delay or incorrect back color as you see it.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    156 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    307 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    244 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    346 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    176 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X