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