X:=IF(C>REF(C,1),H,L);
A:=ZIGZAG(X,0.23,1);
HH:=A>REF(A,1)&&A>REFX(A,1);
//DRAWNUMBER(HH&&H-REF(L,BARSLAST(LL))>7*MINPRICE,H,H,0,COLORYELLOW);
//DRAWNUMBER(LL&&REF(H,BARSLAST(HH))-L>7*MINPRICE,L,L,0,COLORYELLOW),VALIGN0;
DRAWLINE3(HH,X,0,1,VALUEWHEN(LL,X),BARSLAST(LL),0),COLORWHITE,DOT;
DRAWLINE3(LL,X,0,1,VALUEWHEN(HH,X),BARSLAST(HH),0),COLORWHITE,DOT;
HF:=ABS(VALUEWHEN(LL,(X-VALUEWHEN(HH,X))));
LF:=ABS(VALUEWHEN(HH,X-VALUEWHEN(LL,X)));
DRAWLINE3(LL&&X<VALUEWHEN(HH,X)*(1-0.0067),X,0,1,VALUEWHEN(HH,X),BARSLAST(HH),0),COLORRED,LINETHICK2;
DRAWLINE3(HH&&X>VALUEWHEN(LL,X)*1.01,X,0,1,VALUEWHEN(LL,X),BARSLAST(LL),0),COLORBLUE,LINETHICK2;
DRAWLINE3(LL&&X<VALUEWHEN(HH,X)*(1-0.01),X,0,1,VALUEWHEN(HH,X),BARSLAST(HH),0),COLORBLUE,LINETHICK2;
//DRAWNUMBER(HH,H,C,0,COLORYELLOW),ALIGN2;
//DRAWNUMBER(LL,L,C,0,COLORYELLOW),VALIGN0,ALIGN2;
//DRAWNUMBER(HH,H,(X-VALUEWHEN(LL,X))/(BARSLAST(LL)+1),2,COLORGREEN),ALIGN0;
//DRAWNUMBER(LL,L,(X-VALUEWHEN(HH,X))/(BARSLAST(HH)+1),2,COLORGREEN),VALIGN0,ALIGN0;
DRAWLINE3(HH&&X>VALUEWHEN(LL,X)*1.0067,X,0,1,VALUEWHEN(LL,X),BARSLAST(LL),0),COLORRED,LINETHICK2;
DRAWLINE3(HH&&X>VALUEWHEN(LL,X)*1.01,X,0,1,VALUEWHEN(LL,X),BARSLAST(LL),0),COLORGREEN,LINETHICK2;
DRAWLINE3(LL&&X<VALUEWHEN(HH,X)*(1-0.01),X,0,1,VALUEWHEN(HH,X),BARSLAST(HH),0),COLORGREEN,LINETHICK2;
//DRAWNUMBER(HH,H,C,0,COLORYELLOW),ALIGN2;
//DRAWNUMBER(LL,L,C,0,COLORYELLOW),VALIGN0,ALIGN2;
//DRAWNUMBER(LL,L,(X-VALUEWHEN(HH,X))/(BARSLAST(HH)+1),2,COLORGREEN),VALIGN0,ALIGN0;
完整源码升级VIP下载即可,支持文华财经电脑端软件,缠论画线和买卖点提示。辅助我们进行期货日常交易分析。