Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Changing Background color between two Moving averages.

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

    Changing Background color between two Moving averages.

    Hello All,

    Looking to change the color of the chart only between two moving averages. So when for example 7 SMA cross above 20 SMA then the area between them ONLY changes color to Green. the rest of the chart remain the same . and when the 7SMA crosses below the 20 SMA then Only the area between the two moving averages change color to RED.
    How do I do that in Ninja trader.

    Do you have an example or code I can look at.

    Regards,
    George

    #2
    Hello George,

    Thank you for your post.

    You would want to download and import the SMARegions indicator from our forum which does this kind of setup

    http://www.ninjatrader.com/support/f...tid=4&lpage=11

    To Import

    * Download the indicator to your desktop, keep them in the compressed .zip file.
    * From the Control Center window select the menu File> Utilities> Import NinjaScript
    * Select the downloaded .zip file
    * NinjaTrader will then confirm if the import has been successful.


    Critical - Specifically for some indicators, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

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

    Comment


      #3
      Indicator-Crossover area color change

      Hello,

      What you have is very helpful and I do appreciate it. It will give me an idea of how to code my own. Do you have an Indicator that has EMA and VWMA. where can I find more downloaded indicators and strategy made by the community.

      Regards,
      George
      Thank you for your help

      Comment


        #4
        Hi George, for an extensive collection of community published scripts you could check into this section of our forums - http://www.ninjatrader.com/support/f...splay.php?f=37
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by PaulMohn, Today, 12:36 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by yertle, Yesterday, 08:38 AM
        8 responses
        36 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by rdtdale, Today, 01:02 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by alifarahani, Today, 09:40 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by RookieTrader, Today, 09:37 AM
        4 responses
        19 views
        0 likes
        Last Post RookieTrader  
        Working...
        X