{颈线}:=5;QA短:=REF(H,周期)=HHV(H,2*周期+1);QB短:=BACKSET(QA短,周期+1);QC短:=FILTER(QB短,周期) AND H=HHV(H,周期+1);QD短:=BARSLAST(QC短);QE短:=IF(QC短,CURRBARSCOUNT,0);QF短:=IF(QD短,REF(QE短,QD短),QE短);QG短:=CONST(QF短),NODRAW;QH短:=REF(QF短,QD短+1);QW短:=CONST(QH短),NODRAW;NOTEXT短长压:DRAWLINE(CURRBARSCOUNT=QW短,H,CURRBARSCOUNT=QG短,H,1),COLORGREEN;NOTEXT短长远高:DRAWLINE(CURRBARSCOUNT=QW短,H,ISLASTBAR,REF(H,QW短-1),1),COLORGREEN,DOTLINE;NOTEXT短长近高:DRAWLINE(CURRBARSCOUNT=QG短,H,ISLASTBAR,REF(H,QG短-1),1),COLORGREEN,DOTLINE;TPD短长期:=DRAWLIN