LC := REF(CLOSE,1);
RSIA:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI1:MA(RSIA,N2),colorred,linethick2;
RSIB:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
RSI2:MA(RSIB,N4),colorgreen,linethick2;
65,POINTDOT;
35,POINTDOT;
DRAWICON( FILTER(cross(RSI1,RSI2),30),RSI2 ,1 );
DRAWICON( FILTER(cross(RSI2,RSI1),30),RSI2 ,2 );