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 cre8able, Today, 03:20 PM
          0 responses
          5 views
          0 likes
          Last Post cre8able  
          Started by Fran888, 02-16-2024, 10:48 AM
          3 responses
          47 views
          0 likes
          Last Post Sam2515
          by Sam2515
           
          Started by martin70, 03-24-2023, 04:58 AM
          15 responses
          114 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by The_Sec, Today, 02:29 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by jeronymite, 04-12-2024, 04:26 PM
          2 responses
          31 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X