C1:=IF(CURRBARSCOUNT 2 AND CURRBARSCOUNT =30,L,0);
位置1:BARSLAST(BETWEEN(C1-CONST(L),0.01,-0.01) AND CONST(COUNT(C REF(C,1) AND C O,5) =1 AND L=LLV(L,5)))NODRAW;
A:DRAWLINE(CURRBARSCOUNT=CONST(位置1)+1,L,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,A,'精准线'),COLORYELLOW;
C2:=IF(CURRBARSCOUNT 2 AND CURRBARSCOUNT =30,H,0);
位置2:BARSLAST(BETWEEN(C2-CONST(L),0.01,-0.01) AND CONST(COUNT(C REF(C,1) AND C O,5) =1 AND L=LLV(L,5)))NODRAW;
B:DRAWLINE(CURRBARSCOUNT=CONST(位置2)+1,H,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;
C3:=IF(CURRBARSCOUNT 2 AND CURRBARSCOUNT =30,O,0);
位置3:BARSLAST(BETWEEN(C3-CONST(L),0.01,-0.01) AND CONST(COUNT(C REF(C,1) AND C O,5) =1 AND L=LLV(L,5)))NODRAW;
D:DRAWLINE(CURRBARSCOUNT=CONST(位置3)+1,O,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;
C4:=IF(CURRBARSCOUNT 2 AND CURRBARSCOUNT =30,C,0);
位置4:BARSLAST(BETWEEN(C4-CONST(L),0.01,-0.01) AND CONST(COUNT(C REF(C,1) AND C O,5) =1 AND L=LLV(L,5)))NODRAW;
E:DRAWLINE(CURRBARSCOUNT=CONST(位置4)+1,C,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;