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

Notification

Icon
Error

Options
Go to last post Go to first unread
KTP2  
#1 Posted : Tuesday, November 11, 2008 4:40:55 PM(UTC)
KTP2

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/2/2007(UTC)
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

Here is the MetaStock 6.5 or higher custom formula for the Stochastics:

KPERIODS := Input("%K Time Periods",1,20,5);
KSLOW := Input("%K Slowing",1,20,3);
DPERIODS := Input("%D Time Periods",1,20,3);
K := 100*(Sum(CLOSE - LLV(LOW,KPERIODS),KSLOW)) / (Sum(HHV(HIGH,KPERIODS)-
LLV(LOW,KPERIODS),KSLOW));
D := Mov(K,DPERIODS,S);
K;
D;

MetaStock also contains built in indicators for the Stochastic Oscillator and Stochastic Momentum Index.

Users browsing this topic
Guest (Hidden)
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.