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

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 jaybedreamin, Today, 05:56 PM
        0 responses
        2 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Working...
        X