N1:=3;N2:=5;N3:=8;N4:=13;DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);DEA:=EMA(DIFF,N2);STICKLINE(CLOSE,0,1,4,1),COLORBLUE;DRAWICON(DIFF>DEA,0.5,41);A1:=DIFF>DEA;RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;K:=SMA(RSV1,N1,1);D:=SMA(K,N1,1);STICKLINE(CLOSE,1,2,4,1),COLORBLUE;DRAWICON(K>D,1.5,41);A2:=K>D;LC:=REF(CLOSE,1);1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(A(CLOSE-LC),N2,1))*100;RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;STICKLINE(CLOSE,2,3,4,1),COLORBLUE;DRAWICON(RSI1>RSI2,2