LC := REF(CLOSE,1); rsi:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(Abs(CLOSE-LC),14,1)*100; XG:IF(crOSS(RSI,50),1.5,0);