• 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 rickyblah12, Today, 01:01 PM
        1 response
        11 views
        0 likes
        Last Post Erwin Beckers  
        Started by dadarara, Today, 12:18 PM
        0 responses
        8 views
        0 likes
        Last Post dadarara  
        Started by joemiller, Today, 07:33 AM
        2 responses
        12 views
        0 likes
        Last Post joemiller  
        Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
        7 responses
        38 views
        0 likes
        Last Post DaveS
        by DaveS
         
        Started by claxxical, Yesterday, 10:00 PM
        0 responses
        13 views
        0 likes
        Last Post claxxical  
        Working...
        X