• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 babouin77, Yesterday, 08:37 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by tomd0361, Yesterday, 08:58 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by Talicer, Today, 05:40 AM
    0 responses
    1 view
    0 likes
    Last Post Talicer
    by Talicer
     
    Started by PG7940, Today, 04:36 AM
    0 responses
    3 views
    0 likes
    Last Post PG7940
    by PG7940
     
    Started by elliot5, Today, 03:40 AM
    0 responses
    6 views
    0 likes
    Last Post elliot5
    by elliot5
     
    Working...
    X