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 t.kelly4149, Today, 05:36 PM
          1 response
          7 views
          0 likes
          Last Post bltdavid  
          Started by SilverSurfer1, Today, 06:29 PM
          0 responses
          16 views
          0 likes
          Last Post SilverSurfer1  
          Started by trader3000a, Today, 01:06 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by marcus2300, Today, 11:45 AM
          3 responses
          31 views
          0 likes
          Last Post marcus2300  
          Started by pel11, Today, 11:06 AM
          0 responses
          13 views
          0 likes
          Last Post pel11
          by pel11
           
          Working...
          X