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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    36 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X