DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);DEA:=EMA(DIFF,5);DRAWICON(DIFF>DEA,1,1);DRAWICON(DIFF<DEA,1,2);DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;A1:=DIFF>DEA;MACD金叉:IF(A1,0,0),colorred;RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;K:=SMA(RSV1,3,1);D:=SMA(K,3,1);DRAWICON(K>D,2,1);DRAWICON(K<D,2,2);DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;A2:=K>D;KDJ金叉:IF(A2,0,0),colorred;LC:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;DRAWICON(RSI1>RSI2,3,1);DRAWICON(RSI1<RSI2,3,2);DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;A3:=RSI1>RSI2;RSI金叉:IF(A3,0,0),colorred;RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);DRAWICON(LWR1>LWR2,4,1);DRAWICON(LWR1<LWR2,4,2);DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF