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

Moving Average of High or lows

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

    Moving Average of High or lows

    For some reason I am unable to locate a simple moving average ninjascript that I can place across the highs and then add another MA to the lows. The MA envelope indicator just uses a % displacement and that is not what I want.

    Can Anyone point me to an existing ninjascript with those parameters? Thanks for any help!

    #2
    Hello plemal

    Thanks for your post.

    Any of the moving averages can work with the selected price type which defaults to "Close". When you apply the indicator to a chart you can change the input series to be the "Close", "High", "Low", Median", "Open", "Typical, or "Weighted".

    Ninjascript examples:

    SMA(High, 20)
    EMA(Typical, 13)
    WMA(Low, 33)
    HMA(Median, 17)
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the help-I'm just not sure what I'm missing-as you can see from this http://screencast.com/t/eCnK0nFFZ
      there is no option to choose anything but calculate on bar close (high or low is not shown)..

      I can be dense at times so please let me know what I'm missing-thanks!

      Paul

      Comment


        #4
        Hi Paul,

        Thanks for your reply.

        Next row down, please see: http://screencast.com/t/sCUYnWf8j
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks Paul-that worked-I appreciate the help!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by helpwanted, Today, 03:06 AM
          1 response
          7 views
          0 likes
          Last Post sarafuenonly123  
          Started by Brevo, Today, 01:45 AM
          0 responses
          7 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by aussugardefender, Today, 01:07 AM
          0 responses
          5 views
          0 likes
          Last Post aussugardefender  
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          242 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          384 views
          1 like
          Last Post Gavini
          by Gavini
           
          Working...
          X