Posted By: gtell
Operations with series - 07/28/16 13:36
Hi all,
Suppose you have the following series:
vars MA = series(SMA(Close, 21));
I want to calculate the difference with a shifted value:
MA[i] - MA[i+shift]
Where shift is a given int.
How can I do it?
Thanks
Suppose you have the following series:
vars MA = series(SMA(Close, 21));
I want to calculate the difference with a shifted value:
MA[i] - MA[i+shift]
Where shift is a given int.
How can I do it?
Thanks