flyboypa,

This worked!
mp=IIf(C,(H+L+C)/3,(H+L)/2);

x=MA(mp,18);

Plot(x,"Centered ", colorRed, styleLine, Null, Null,-9);

Thanks!


  ----- Original Message ----- 
  From: flyboypa30 
  To: [email protected] 
  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