[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ROC Formula


  • To: RealTraders Discussion Group <realtraders@xxxxxxxxxxxxxx>
  • Subject: Re: ROC Formula
  • From: gary@xxxxxxxxxxxx (Gary Funck)
  • Date: Thu, 5 Mar 1998 08:18:26 -0800 (PST)
  • In-reply-to: <199803051004_MC2-359E-5A9@xxxxxxxxxxxxxx>

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