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 Haiasi, 04-25-2024, 06:53 PM
          2 responses
          17 views
          0 likes
          Last Post Massinisa  
          Started by Creamers, Today, 05:32 AM
          0 responses
          5 views
          0 likes
          Last Post Creamers  
          Started by Segwin, 05-07-2018, 02:15 PM
          12 responses
          1,786 views
          0 likes
          Last Post Leafcutter  
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,408 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Working...
          X