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 bortz, 11-06-2023, 08:04 AM
        47 responses
        1,606 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        9 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        19 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        6 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        15 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X