Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Gradient coloring Indicator

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

    Gradient coloring Indicator

    Yes...I would like to know how to properly implement gradient coloring in an indicator.

    #2
    Hello RandomTask, thanks for posting.

    In the RSI Gradient indicator, the BarBrushes collection is modified on each bar to give the illusion of a gradient brush. To do this with a plot object (not the bar series) use the PlotBruses array.

    Please let me know if I can assist any further.

    Comment


      #3
      You don't run into the "65535 unique Brush instances" limit eventually?

      Comment


        #4
        Hello RandomTask, thanks for your reply.

        If you get this issue using the PlotBrushes array we would need to fix something internally on our end since the brush initialization is handled by the NinjaTrader core. If you can reproduce the issue using this array I would be happy to take a look for you.

        Kind regards.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X