{RSI-CCI-KD}
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(ISLASTBAR AND CC1,CC1,‘CC1’),COLORFF00FF;
DRAWBAND(CC1,RGB(2,255,2),-100,RGB(255,255,0));
DRAWBAND(100,RGB(0,0,0),-100,RGB(0,0,0));
CC2:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:(RSI1-50)*5,LINETHICK2,COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND RSI》REF(RSI,1),RSI,‘ ↑RSI’),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND RSI《REF(RSI,1),RSI,‘ ↓RSI’),COLORFFFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
K1:(K-50)*5,COLORFF9F00;
DRAWTEXT(ISLASTBAR AND K1》REF(K1,1),K1,‘ ▲K’),COLORFFFF00;
DRAWTEXT(ISLASTBAR AND K1《REF(K1,1),K1,‘ ▼K’),COLORFFFF00;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)