Try the following:

x = MA(mp,18);

Plot(x,"Centered ", colored, styleline, null, null, -9);

This will do the "centering" of the MA in the Plot statement.

Yes, the above formula plots a centered MA. When I am viewing the MA on a chart 
somewhere in the middle of the chart the first 9 bars are blank. There is 
forward data available beyond the visible chart boundaries to calculate the 
average to fill in the blank area, but for some reason the forward data is not 
used in the calculation. I

Is there a way to include the off-chart forward data in the calculation to fill 
in the blank bars?




  ----- Original Message ----- 
  From: flyboypa30 
  To: amibroker@yahoogroups.com 
  Sent: Wednesday, September 01, 2010 8:50 AM
  Subject: [amibroker] Re: Moving Average


    
  Dennis,

  Try the following:

  x = MA(mp,18);

  Plot(x,"Centered ", colorred, styleline, null, null, -9);

  This will do the "centering" of the MA in the Plot statement.



  

Reply via email to