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);