PureBytes Links
Trading Reference Links
|
This is the MS code for VIDYA 21,5 which applies to the article "Breaking
Out Of Price Channels" by Gerald Marisch in TASC Jan'98 edition.
Length:=Input("Length",1,200,21);
Smooth:=Input("Smoothing",1,200,5);
AbsCMO:=(Abs(CMO(C,Length)))/100;
SC:=2/(Smooth+1);
VIDYA:=If(Cum(1)<=(Length+1),C,(SC*AbsCMO*CLOSE)+(1-(SC*AbsCMO))*PREV);
VIDYA
>From: "Barry Marx" <bmarx@xxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: Re: The New Technical Trader (VIDYA)
>Date: Fri, 21 Jan 2000 18:51:11 -0500
>
>The site http://www.nt-tech.com.au/guppy/gup128.htm has tons of MetaStock
>formulas, many of them taken from this mailing list. I didn't see VIDYA
>referenced in the index, but happened to run across it while looking for
>something else, on page 10. Here is the formula posted on that site:
>
>Vidya:
>K:=Stdev(P,5)/Mov(Stdev(P,5),20,S);
>SC:=Input("SC",.1,.9,.1);
>Vidya:=SC*K*P+(1-SC*K)*Ref(P,-1);
>Vidya;
>{the sc input is more responsive if you use a higher number}
>
> - Barry
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|