高:=REF(HHV(H,80),3);低:=REF(LLV(L,80),3);H18:=高-(高-低)*0.181;L19:=低+(高-低)*0.181;H中:=高-(高-低)*0.5;顶点:REFDATE(高,DATE),COLORWHITE;:REFDATE(H18,DATE),COLORYELLOW;P:REFDATE(H中,DATE),COLORRED;:REFDATE(L19,DATE),COLORYELLOW;:REFDATE(低,DATE),COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,,'%18'),COLORYELLOW;DRAWTEXT(ISLASTBAR,P,'%50'),COLORRED;DRAWTEXT(ISLASTBAR,,'%19'),COLORYELLOW;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;ZT1:=C/REF(C,1)>1.0975 AND C=H;:=BAAST(ZT1);ZJ:IF(TS<=60,DRAWL