X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
底:IF(crOSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
顶:IF(CROSS(VAR4,-95) AND VAR5>=0.35,0,1);
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR3:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR4:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR5:=C/MA(C,60)-1;
底:IF(crOSS(-5,VAR4) AND VAR3<-0.4,-0.01,-1);
顶:IF(CROSS(VAR4,-95) AND VAR5>=0.35,0,1);