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 realblubb, Today, 09:28 AM
          0 responses
          1 view
          0 likes
          Last Post realblubb  
          Started by AaronKoRn, Yesterday, 09:49 PM
          1 response
          18 views
          0 likes
          Last Post Rikazkhan007  
          Started by ageeholdings, Today, 07:43 AM
          0 responses
          12 views
          0 likes
          Last Post ageeholdings  
          Started by pibrew, Today, 06:37 AM
          0 responses
          4 views
          0 likes
          Last Post pibrew
          by pibrew
           
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Working...
          X