P:=21{XG51}; WH1:=IF(L=LLV(L,P),L,DRAWNULL){XG51}; WH2:=CONst(BArslAST(WH1!=DRAWNULL)){XG51}; WH3:=CONST(IF(WH2=0,H,REF(H,WH2))){XG51}; WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1){XG51}; WH5:=CONST(IF(WH4=0,H,REF(H,WH4))){XG51}; WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1){XG51}; 進(jìn)場(chǎng):IF(CURRBARSCOUNT<=WH2+21,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORWHITE{XG51}; IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,P),L,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORWHITE{XG51}; DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),進(jìn)場(chǎng),'進(jìn)場(chǎng)線(xiàn)'),COLORWHITE{XG51}; 超跌進(jìn)場(chǎng):IF(CURRBARSCOUNT<=WH2+21,CONST(IF(WH4=0,H,REF(H,WH4))),DRAWNULL),COLORCB21BE{XG51}; DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),超跌進(jìn)場(chǎng),'超跌進(jìn)場(chǎng)線(xiàn)'),COLORCB21BE{XG51}; H1:=IF(H=HHV(H,P),H,DRAWNULL){XG51}; H2:=CONST(BARSLAST(H1!=DRAWNULL)){XG51}; H3:=CONST(IF(H2=0,L,REF(L,H2))){XG51}; H4:=CONST(REF(BARSLAST(L<H3),H2+1)+H2+1){XG51}; H5:=CONST(IF(H4=0,L,REF(L,H4))){XG51}; H6:=CONST(REF(BARSLAST(L<H5),H4+1)+H4+1){XG51}; 止損:IF(CURRBARSCOUNT<=H2+21,CONST(IF(H6=0,L,REF(L,H6))),DRAWNULL),COLORBLUE{XG51}; IF(CURRBARSCOUNT<=H2+1,IF(H=HHV(H,P),H,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORYELLOW{XG51}; DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),止損,'止損線(xiàn)'),COLORBLUE{XG51}; 止盈:IF(CURRBARSCOUNT<=H2+21,CONST(IF(H4=0,L,REF(L,H4))),DRAWNULL),COLORCB21BE{XG51}; DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),止盈,'止盈線(xiàn)'),COLORCB21BE{X=G-5!1=C=N={};
|