Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Project (Displace) a Moving Average forward

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

    Project (Displace) a Moving Average forward

    How can I project a moving average forward by 5 candles past current price?

    I tried putting the number 5 in the displacement box of the indicator, but it just moved it higher/lower to the candle instead of projecting it forward.

    Thank you,

    Dan

    #2
    Hello danp502,

    Thank you for your note.

    To have a plot which has a current bar value of the SMA 5 bars ago, you would need an indicator with a plot line, and that plot set to the value of,

    Plot0.Set(SMA(Close, 10)[5]);

    I have attached an indictor which applied will show a current plot value of what the 10 period SMA was 5 bars ago.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      That's not what I'm looking for. I would like to see an extension of the moving average beyond price that would adjust as the moving average adjusts. See me sample pic.

      Thank you,

      Dan

      Comment


        #4
        Hello danp502,

        So I can better assist you, please provide a screen shot of what it is you're looking for.

        I look forward to your reply.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          I would like to see moving averages project a head of price action if possible. See screenshot.
          [IMG]C:\Users\Trader\Desktop\ScreenHunter_130 Feb. 07 13.50[/IMG]

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          4 views
          0 likes
          Last Post Javierw.ok  
          Started by timmbbo, Today, 08:59 AM
          2 responses
          10 views
          0 likes
          Last Post bltdavid  
          Started by alifarahani, Today, 09:40 AM
          6 responses
          40 views
          0 likes
          Last Post alifarahani  
          Started by Waxavi, Today, 02:10 AM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by Kaledus, Today, 01:29 PM
          5 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X