Ok, I understand.

And If I want also ac as a series:

vars ac = series(ao - SMA(ao,5));

this is correct?

Last edited by Maruska; 01/31/13 08:51.