logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Tuesday, November 5, 2019 5:46:22 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)

Markos Katsanos’ article, “A Technical Method for Rating Stocks”, explains a system he created to rate stocks solely on technical indicators. Here is the MetaStock formula for this rating system:

Katsanos Stock Rating Score:

Code:
s1:= Security("ONLINE:SPY", C);
VFIPeriod := 130;
MADL:= 100;
{VFI formula}
Coef:= 0.2;
VCoef:= 2.5;
inter:= Log( Typical() ) - Log( Ref( Typical(), -1 ) );
Vinter:= Stdev(inter, 30 );
Cutoff:= Coef * Vinter * CLOSE;
Vave := Ref( Mov( V, VFIPeriod, S ), -1 );
Vmax := Vave * Vcoef;
Vc := Min( V, VMax );
MF := Typical() - Ref( Typical(), -1 );
VCP := If( MF > Cutoff, VC, If( MF < -Cutoff, -VC, 0 ) );
VFIa := Sum( VCP , VFIPeriod )/Vave;
VFI := If(BarsSince(Cum(1)>268)>=0, Mov( VFIa, 3, E),0);
MA:= Mov(C, MADL, S);
stiffness:= Sum(C < MA , 63);
rating:= (VFI>0) + (C > MA) + (MA > Ref( MA, -4)) + (stiffness <= 7 ) + ((Mov(s1, MADL, E) > Ref(Mov(s1, MADL, E),-2))*2);
rating

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.