LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; G:=BARSLAST(CROSS(RSI1,RSI2))/2+28; XG1:RSI1>G; XG2:G>RSI1; DRAWICON(CROSS(XG1,XG2),XG1,1); DRAWICON(RSI1>80,XG1,12);