VAR9:=AMOUNT/VOL/100;
VAR10:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR12:=SUM(AMOUNT,13)/VAR9/100;
VAR13:=SUM(AMOUNT,34)/VAR9/100;
VAR14:=DMA(VAR10,VOL/VAR12);
VAR15:=DMA(VAR10,VOL/VAR13);
VAR16:=100*(CLOSE-VAR14)/VAR14;
VAR17:=100*(CLOSE-VAR15)/VAR15;
VAR18:=VAR3<48 AND VAR16<-8 AND VAR17<-10 AND VAR5<20;
伏击区:IF(VAR18,30,0);{}
警戒区:IF(VAR3<50 AND VAR16>5 AND VAR5>78,80,90),COLORBLUE,LINETHICK2;
DRAWTEXT( VAR6<20,30,'买');
DRAWTEXT(FILTER(CROSS(VAR6,VAR5)AND VAR5>80,10),80,'卖');