V1:=ZIG(3,12);
V2:IF(REF(V1,2)>REF(V1,1)ANDV1>REF(V1,1),50,0),colorred,LINETHICK2;
VAR1:=ZIG(3,12)REF(ZIG(3,12),2);
VAR2:=ZIG(3,12)>REF(ZIG(3,12),1)ANDREF(ZIG(3,12),1)
DRAWTEXT(VAR1,50,'卖出'),coloryellow;
DRAWTEXT(VAR2,50,'买入'),coloryellow;
VAR3:=IF(TROUGHBARS(3,16,1)=0ANDHIGH>LOW+0.04,4,0);
买点:=VAR3,colorred;
DRAWTEXT(买点>0,45,'低吸点'),colormagenta;
STICKLINE(买点,0,50,2,0),colormagenta,LINETHICK1;