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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        44 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        56 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        35 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        95 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        57 views
        0 likes
        Last Post PaulMohn  
        Working...
        X