PureBytes Links
Trading Reference Links
|
I was finally going through Chande's book, and particularly liked the Thrust
Oscillator as an alternative to the TRIN (Arms index). I coded the following
(for MS 8 & 9 and Reuters data EOD). Nothing special, but it might save
someone a few minutes. If you use a different data provider you'll have to
change the security references. A 21 day SMA of the TO works well for
intermediate work. It's just more consistent then the TRIN.
----------------------------------------------------------------------------
-------------
Thrust Oscillator NASD
Adv:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NASD-A",C);
AV:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NASD-A",V);
Dec:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NASD-D",C);
DV:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NASD-D",V);
MT:=(Adv*AV - Dec*DV);
MTT:=(Adv*AV + Dec*DV);
TO:=MT/MTT*100;TO;
----------------------------------------------------------------------------
-----------
Thrust Oscillator NYSE
Adv:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NYSE-A",C);
AV:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NYSE-A",V);
Dec:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NYSE-D",C);
DV:= Security("C:\MetaStock Data\Indices & Indicators\Market
Indicators\X.NYSE-D",V);
MT:=(Adv*AV - Dec*DV);
MTT:=(Adv*AV + Dec*DV);
TO:=MT/MTT*100;TO;
----------------------------------------------------------------------------
------------
Andrew
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|