Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

bar brushes and mulitiple instruments

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

    bar brushes and mulitiple instruments

    I have 2 indicators that will use bar brushes. For some reason my second bar brush will be painted over the condition. It sometimes works and sometimes it does not work. If I add a third indicator with the same logic it will always work. Which bar brush has priority?

    #2
    Hello ballboy11,

    If both indicators are added at the same time, the first one you clicked will take precedent.

    If you add one, apply it to a chart, then add another and apply it to the chart, the first one will take precedent and the second will not change the color.

    I have attached a script you can use to test this. Apply the indicator, add another changing its bar brush, and apply that.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by JonesJoker, 04-22-2024, 12:23 PM
    7 responses
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Waxavi, 04-19-2024, 02:10 AM
    2 responses
    37 views
    0 likes
    Last Post poeds
    by poeds
     
    Started by chbruno, Yesterday, 04:10 PM
    1 response
    44 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Max238, Today, 01:28 AM
    1 response
    24 views
    0 likes
    Last Post CactusMan  
    Started by giulyko00, Yesterday, 12:03 PM
    2 responses
    10 views
    0 likes
    Last Post giulyko00  
    Working...
    X