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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        70 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        152 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        100 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        288 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X