LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(Abs(CLOSE-LC),13,1)*100;
AH:=HHV(RSI1,8);
AL:=LLV(RSI1,8);
STO1:=IF(AL=AH,0,100*(RSI1-AL)/(AH-AL));
SK:=EMA(STO1,5);
SD:=EMA(SK,3);
XG:crOSS(SK,SD) AND ((SK - SD) < 10) AND (SK < 50) AND (SK > 20);