RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
NN:=J>REF(J,1) AND REF(J,1)<REF(J,2) AND J<15 AND MA(C,5)<MA(C,20);
N:=9;M1:=3;M2:=3;P:=9;
AA1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
BBB1:=SMA(AA1,M1,1);
ELIA:=SMA(BBB1,M2,1);
ELIB:=IF(BARSLAST(CROSS(BBB1,ELIA))<P AND CROSS(BBB1,ELIA) AND BBB1<20,90,0);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
CP1:=CROSS(RSI1,25);
CP2:=(C-REF(C,1))/REF(C,1)*100<4;
DY:=(REF(C,1)-C)/REF(C,1)*100>6;
SS:=REF(DY,1) AND CP1 AND CP2 AND NN AND V<REF(V,1),COLORRED;
STICKLINE( SS,-8,15,1,0),COLORRED,LINETHICK2;
STICKLINE( SS,1,6,1,0),COLOR00FFFF,LINETHICK2;
DRAWICON(SS,13,13);
DRAWICON(SS,16,1);