上升段:BArslAST(REF(zig(3,19),1)< REF(ZIG(3,19),2)),LINETHICK2,COLORCBCBC0;
A1A:=BARSLAST(crOSS(C,MA(C,20)));
A2A:=BARSLAST(CROSS(MA(C,20),C));
起涨:IF(A1A
下降段:BARSLAST(ZIG(3,19)>REF(ZIG(3,19),1))*0.3,LINETHICK2,COLOR996600;{下跌时间之窗};
上升段:BArslAST(REF(zig(3,19),1)< REF(ZIG(3,19),2)),LINETHICK2,COLORCBCBC0;
A1A:=BARSLAST(crOSS(C,MA(C,20)));
A2A:=BARSLAST(CROSS(MA(C,20),C));
起涨:IF(A1A
下降段:BARSLAST(ZIG(3,19)>REF(ZIG(3,19),1))*0.3,LINETHICK2,COLOR996600;{下跌时间之窗};