VAR12:=(2*CLOSE+HIGH+LOW)/4;
VAR22:=EXPMA(EXPMA(EXPMA(VAR12,4),4),4);
J:= (VAR22-REF(VAR22,1))/REF(VAR22,1)*100, COLORSTICK;
D:= MA(J,3);
K:= MA(J,1);
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:=VAR2*(1+VAR1);
SHT:=MY, COLORSTICK;
SHTMA:=MA(SHT,N);
RSV:= (HHV(HIGH,F)-CLOSE)/(HHV(HIGH,F)-LLV(LOW,F))*100;
LWR1:=SMA(RSV,M1,1);
LWR2:=SMA(LWR1,M2,1);
FANG:CROSS(J,D)AND CROSS(MY,SHTMA)AND J<0 AND SHTMA<0 AND CROSS(LWR2,LWR1);
STICKLINE(FANG,0,5,3,FANG) COLOR00FFFF;