PureBytes Links
Trading Reference Links
|
Hi Adam:
Try this code- pretty well straight from Blau's book
"momentum, direction & divergence"
Stochastic Momentum Index
qq:= Input("lookback q" ,1, 100, 20);
rr:= Input("first smoothing r" ,1 ,100 ,60 );
ss:= Input("second smoothing s" ,1 ,100 ,1 );
uu:= Input("third smoothing u", 1,100,1);
value1:=(CLOSE-(.5*(HHV(HIGH ,qq )+ LLV(LOW ,qq ))));
value2:=(HHV(HIGH ,qq )- LLV(LOW ,qq ));
Numerator:= Mov(Mov(Mov(value1,rr,E),ss,E),uu,E);
Denominator:=.5* Mov(Mov(Mov(value2,rr,E),ss,E),uu,E);
If(Denominator <>0,(100*(Numerator/Denominator)),0 );
Add a 5 period exponential mvav for trigger, and
check it out on a couple of strongly trending internet stocks, such as
AMTD and AMZN. Seems pretty timely.
Also try 20,20,5,1 variables, with +50/-50 for
OB/OS. Also seems to work well.
Let me know what you think, if you decide to experiment
with it.
Thanks for all the Gann Swing and MTF code.
Bob Lambert
lambertb@xxxxxxxxxxxxx
--- VonHef <VonHef@xxxxxxxxxxxxx> wrote:
> Many months back someone posted some information on
> the "SMI" indicator,
> I still have the code, but I lost all the info ( I
> cant even remember what
> "SMI" stands for). If anyone still has a copy of
> this information......I would
> be very grateful for it!
>
> Best wishes,
> Adam Hefner.
> VonHef@xxxxxxxxxxxxx
>
> ---------------------------------------
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|