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

Hull Moving Average

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

    Hull Moving Average

    Hi,

    Is it possible to make the hull moving average color coded for up/ down
    ie: blue for up and red for down

    Also offset it.

    If this is possible let me know - thanks

    ~Colin

    #2
    Hi prostyle,

    It is possible to get two colors and it is also possible to do the offset.

    To achieve the two colors please check out the concepts presented in this tutorial (http://www.ninjatrader-support.com/H...ml?Overview25). Basically what it does is create two plots instead of one. When the HMA is up, add the value to your blue plot. When the HMA is down, add the value to your red plot.

    To offset the indicator there is an option in the Indicator dialog that is called "Displacement". You can set this parameter when you are adding the HMA and you will also be able to modify its value at a later date.

    Hope that helps.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      The link cited is no longer valid. How can I get a ZLEME or HMA to be green when advancing and red when declining?

      Comment


        #4
        Hello,

        Thank you for the question.

        I am unsure of the original content, but the NT7 help guide has one example that demonstrates changing a Plot color based on a condition: http://ninjatrader.com/support/helpG...sub=PlotColors

        In any case, you would need to edit the actual indicators that you want to change in this way to allow for the plots colors to be changed based on a condition such as Rising or Falling.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NRITV, Today, 01:15 PM
        2 responses
        6 views
        0 likes
        Last Post NRITV
        by NRITV
         
        Started by frankthearm, Today, 09:08 AM
        7 responses
        31 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by maybeimnotrader, Yesterday, 05:46 PM
        5 responses
        25 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by quantismo, Yesterday, 05:13 PM
        2 responses
        19 views
        0 likes
        Last Post quantismo  
        Started by adeelshahzad, Today, 03:54 AM
        5 responses
        33 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X