Announcement

Collapse
No announcement yet.

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)

    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

        Comment


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

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          55 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          30 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          41 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          57 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          47 views
          0 likes
          Last Post CarlTrading  
          Working...
          X