VAR1:= EXPMEMA(MAX(MAX(HIGH - LOW,Abs(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);
VAR2:= HIGH - REF(HIGH,1);
VAR3:= REF(LOW,1) - LOW;
VAR4:= EXPMEMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),14);
VAR5:= EXPMEMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),14);
VAR6:= VAR4 * 100/VAR1;
VAR7:= COUNT(CLOSE>REF(CLOSE,1),12)/12 * 100;
VAR8:= vol/VAR7;
VAR9:= MA(VAR8,60)*5;
VAR10:= VOL/VAR6;
VAR11:= MA(VAR10,5) ;
VAR12:= MA(VAR10,10) ;
VAR13:= MA(VAR8,60)*5;
VAR14:=IF(VAR10>VAR13,VAR10*1.5,0);
选:=VAR14>0;
吃:选;