红尖顶买入: zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) (3,10),2), COLORRED,LINETHICK2; 绿尖顶卖出: ZIG(3,10)REF(ZIG (3,10),2),COLORGREEN,LINETHICK2; DRAWTEXT(红尖顶买入=1,1,'入!'),COLORRED; DRAWTEXT(绿尖顶卖出=1,1,'出!'),COLORGREEN;