买4:IF((V7 AND COUNT(V7,3)=1),3,0),COLORFF00FF; DRAWTEXT(买4,10,'买4'),COLORFF00FF; 最佳买入: ZIG(3,10) REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) REF (ZIG(3,10),2),colorred,LINETHICK2; DRAWTEXT(最佳买入=1,1.5,'最佳买点'),colorred; VAR3:=PEAKBARS(3,15,1) VAR5:=IF(VAR3=1,2,0);