Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarBrush and conflicts

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

    BarBrush and conflicts

    I stupidly spent all weekend working on an indicator that colors signal bars then remove those colors after a period specified by the user. But my Indicator currently is only working on the Long side. I completely forgot that once I add the short side logic, I will end up with some conflicts. Where A Long Signal Bar will also be a Short Signal Bar.

    How does NT handle this actually, if 2 different indicators are sending requests to color the same bar. I guess you could end up with some wild results, especially if using onPriceChange?

    #2
    Hello several,

    Whichever indicator colors the bar last will be the color that is set to the bar. You would have to combine the indicators to be able to mitigate that by using logic in the indicator.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    55 views
    0 likes
    Last Post CarlTrading  
    Working...
    X