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

Dynamic parts of formulas



PureBytes Links

Trading Reference Links


Thanks Mike for helping me find the "plain text" button under "Format" on
the IE 4.0 toolbar.

Back to VIDYA by Tushar Chande as published by Gerald Matisch in the January
98 issue of TASC:

Note: ? - was Chande's original a 9 day lookback and 12 day smoothing or a
CMO(9) and VIDYA(12).


As I understand it, VIDYA uses a Volitility measure (CMO) to modify the
Smoothing Constant (SC) used in the Exponential Moving Average (EMA).
(Chande used several other measures beside CMO, i.e., r squared, etc.)

VIDYA 21 - 5 Indicator:

Length:=Input("Length",1,200,21);   {21 = the lookback period}

Smooth:=Input("Smoothing",1,200,5);   {5 = the smoothing period)

AbsCMO:=(Abs(CMO(C<Length)))/100;  {used to adjust the Smoothing Constant =
2/(n+1)?}

SC:=2/(smooth+1);  {? is SC = Smoothing Constant or Scaled Constant}

VIDYA:=If(Cum(1)<=(Length+1),C,(SC*AbsCMO*CLOSE)+(1-(SC*AbsCMO))*PREV;


Any help in breaking down this formula or any other "variable" or "adaptive"
formulas would be appreciated.

Walter Lake