LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; BT1:=CROSS(RSI1,25) NODRAW; XG:BT1;