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 sjsj2732, 03-23-2026, 04:31 AM
    0 responses
    76 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    313 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    313 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    149 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    113 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X