MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 A B C D E F G H I J K L M N O P R S T U V W Y Z #

Diffusion Index by Donald L. Cassidy
Przykładowa formuła do obliczania Indeksu Rozproszenia. ....
Więcej szczegółów w tek¶cie.

Diffusion Index

ISWPD:=Input("Ile sesji wstecz porównujesz dane ? -",2,999,21);
DISOI:=Input("Dla ilu spółek obliczasz indeks ? -",2,999,9);
ZZ:=(100/DISOI);
Input("Górna Linia Sygnału .",0,100,90);
Input("Linia Zero .",50,50,50);
Input("Dolna Linia Sygnału .",0,100,10);

If(Security("BDX",C)>Ref(Security("BDX",C),-ISWPD),ZZ,0)+
If(Security("EXB",C)>Ref(Security("EXB",C),-ISWPD),ZZ,0)+
If(Security("MSX",C)>Ref(Security("MSX",C),-ISWPD),ZZ,0)+
If(Security("MSZ",C)>Ref(Security("MSZ",C),-ISWPD),ZZ,0)+
If(Security("BIG",C)>Ref(Security("BIG",C),-ISWPD),ZZ,0)+
If(Security("KRB",C)>Ref(Security("KRB",C),-ISWPD),ZZ,0)+
If(Security("BRE",C)>Ref(Security("BRE",C),-ISWPD),ZZ,0)+
If(Security("OPT",C)>Ref(Security("OPT",C),-ISWPD),ZZ,0)+
If(Security("CPL",C)>Ref(Security("CPL",C),-ISWPD),ZZ,0)

Source / From: TOP
"Profesjonalny Inwestor" - nr 1/2001 (9) s. 19.

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.