Team,

Buy, when green candle & kst above signal line.

Sell, when red candle & kst below signal line.

Also, how to scan/add alerts with two different indicators(KST + RSI/Moving Average)??

Thank you

Veena

```SET A = SMA(PROC(CLOSE, 10),10)
SET B = SMA(PROC(CLOSE, 15),10)
SET C = SMA(PROC(CLOSE, 20),10)
SET D = SMA(PROC(CLOSE, 30),15)
SET K = (A+2)*(B+3)*(C+4)*D
K/10```

Know Sure Thing is an indicator

# I need KST with below settings: Average type E Avg period 9 Roc period1 – 6 Roc period2 – 12 Roc period3 - 18 Roc period4 - 24

*********** I got the below from MetaStock ************
The following formulas are MetaStock formulas for the KST:
DAILY KST SIMPLE MOVING AVERAGE
(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)
LONG-TERM MONTHLY KST SIMPLE MOVING AVERAGE
( (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) ) / 4
INTERMEDIATE KST SIMPLE MOVING AVERAGE
(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)
INTERMEDIATE KST EXPONENTIAL MOVING AVERAGE
(Mov(Roc(C,10,%),10,E)*1) + (Mov(Roc(C,13,%),13,E)*2) + (Mov(Roc (C,15,%),15,E)*3) + (Mov(Roc(C,20,%),20,E)*4)
LONG-TERM KST EXPONENTIAL MOVING AVERAGE
(Mov(Roc(C,39,%),26,E)*1) + (Mov(Roc(C,52,%),26,E)*2) + (Mov(Roc (C,78,%),26,E)*3) + (Mov(Roc(C,109,%),39,E)*4)
SHORT-TERM KST WEEKLY EXPONENTIAL MOVING AVERAGE
(Mov(Roc(C,3,%),3, E)*1) + (Mov(Roc(C,4,%),4, E)*2) + (Mov(Roc(C,6,%),6, E)*3) + (Mov(Roc(C,10,%),8, E)*4)

*** AFL ***
Description:
Daily, Short-time Know Sure Thing indicator. This is smoothed version of classical rate-of-change indicator.
Formula:
/*
** Daily, Short term KST
** AFL formula by Tomasz Janeczko
*/
p1 = ma( Roc(Close,10), 10);
p2 = ma( Roc( Close, 15), 10 );
p3 = ma( Roc( Close, 20), 10 ) ;
p4 = ma( Roc( Close, 30), 15);
kst = p1 + 2 * p2 + 3 * p3 + 4 * p4;
graph0 = kst / 10;

Thanks for the answer. But, I need KST with below settings:
Average type E
Avg period 9
Roc period1 – 6
Roc period2 – 12
Roc period3 - 18
Roc period4 - 24