LOWV:=LLV(LOW,3 );
HIGHV:=HHV(HIGH,7);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
A:EMA(RSV,3);
B:EMA(A,3);
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买入:IF(crOSS(VAR2,VAR1),100,0);
DRAWICON(CROSS(A,B),A*0.97,1);
DRAWICON(CROSS(B,A),B*0.97,2);