Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CandleOutlineBrushes null when set by other indicator

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

    CandleOutlineBrushes null when set by other indicator

    I would like to detect if another indicator has set the color of the CandleOutlineBrush.
    Both the CandleOutlineBrush and CandleOutlineBrushes[0] are always null when they are set in a different indicator.
    I have attached two sample indicators to demonstrate this issue.
    GSetBarColors - sets the CandleOutlineBrushes[0] to gold (and it works).
    GDetectBarColors - gets the brush from CandleOutlineBrushes[0] but is is always null.

    Put both indicators on the chart and there should be output in the OutputWindow if it works.

    What is the issue here? Isn't there really on one CandleOutlineBrushes series shared between all indicators on the chart? If so, why can't one indicator see what the other indicator has set it to?
    If there is some other approach to do this, please let me know.

    BTW, The reason this is needed is because a third party indicator I use is setting the CandleOutlineBrushes and I would like to to know what Brush exactly.

    Gary
    Attached Files

    #2
    Hello Gary,

    The CandleOutlineBrush(es) and BackBrush(es) properties and series are independent to each script.

    I am happy to submit a feature request on your behalf for these to be shared from the chart control instead if you would like.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      BarOutlineBrushes series should be shared by all on chart.

      It does not make sense that the BarOutlineBrushes series is independent to each indicator since there is only one outline showing on the chart.

      I request that the BarOutlineBrushes series (and BarOutlineBrush) be shared across all indicators on the chart.

      Thanks,
      Gary Albers

      Comment


        #4
        Hello GaryAlbers,

        Thank you for your patience.

        This feature request has been assigned the internal tracking id of SFT-3316.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        637 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        572 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X