Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Shading/Coloring between indicator lines

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

    Shading/Coloring between indicator lines

    Could anyone provide some guidance on shading between indicator lines. E.g. shading green between 50 MA and 200 MA if 50 MA above 200 MA and red if 50 MA below 200 MA.

    Any help would be much appreciated. Thanks!

    #2
    Hello DKennedy,

    Thank you for your post.

    You would want to use the DrawRegion() to have the shaded area between your Indicators plots.

    http://www.ninjatrader.com/support/h...drawregion.htm

    You can also view the SMARegions indicator from our Indicators section to see how to code the cross detection -
    http://www.ninjatrader.com/support/f...atid=4&lpage=9

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X