DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9)*10;
MACD:(DIF-DEA)*2,COLORSTICK;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100-50;
RSI2:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100-50;
RSI3:SMA(MAX(CLOSE-LC,0),36,1)/SMA(ABS(CLOSE-LC),36,1)*100-50;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100-50;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;