KST Indicator Builder Formula
Short-term (daily) KST formula
for MetaStock's Indicator Builder

{Uses daily data}
KST1:=(Mov(ROC(C,10,%),10,S)*1) +
(Mov(ROC(C,15,%),10,S)*2) +
(Mov(ROC(C,20,%),10,S)*3) +
(Mov(ROC(C,30,%),15,S)*4);

{The first signal line is the KST itself, and the second, the
moving average of the KST. The third line plots a horizontal zero
line on the indicator.}

KST1;
Mov(KST1,10,S);
0

Medium-term (weekly) KST Indicator Builder formula

{Use weekly data}
KST2:=(Mov(ROC(C,10,%),10,S)*1) +
(Mov(ROC(C,13,%),13,S)*2) +
(Mov(ROC(C,15,%),15,S)*3) +
(Mov(ROC(C,20,%),20,S)*4);

KST2;
Mov(KST2,10,S);
0

Long-Term (monthly) KST Indicator Builder Formula

{Use monthly data}
KST3:=(Mov(ROC(C,9,%),6,S)*1) +
(Mov(ROC(C,12,%),6,S)*2) +
(Mov(ROC(C,18,%),6,S)*3) +
(Mov(ROC(C,24,%),9,S)*4);

KST3;
Mov(KST3,10,S);
0