PureBytes Links
Trading Reference Links
|
On Mar 5, 10:46am, TheGonch at MediaKat wrote:
> > A variation of the above that I like is: (Close[0] - Close[n] / squareroot
> > of the time period used).
> >
> > ((Close[0] - Close[5]) / squareroot (5)).
The above formula has the advantage, that it will let you compare ROC's
calculated at different time frames, because theoretically, the deviation
will vary as the squae root of the time frame. If you want to oonvert
the formula above to percent ROC%, then
100 * (C[0] - C[L]) / (C[L] * squareroot (L));
where L is the length in bars (days).
--
--
| Gary Funck, Intrepid Technology, gary@xxxxxxxxxxxx, (650) 964-8135
|