• 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

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 astridg15, Today, 11:32 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Hank Scorpio, Today, 11:57 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_Heath  
        Started by chaitunt, Today, 11:00 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by HombreLobo, Today, 11:17 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by PeterGolz, Today, 10:42 AM
        2 responses
        9 views
        0 likes
        Last Post PeterGolz  
        Working...
        X