M:=30;高1:=HHV(H,M);低1:=LLV(L,M);H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;DRAWTEXT(高1 AND ISLASTBAR,高1,'----高');DRAWTEXT(H1 AND ISLASTBAR,H1,'----0.191');DRAWTEXT(H2 AND ISLASTBAR,H2,'----0.382');DRAWTEXT(H3 AND ISLASTBAR,H3,'----0.500');DRAWTEXT(H4 AND ISLASTBAR,H4,'----0.618');DRAWTEXT(H5 AND ISLASTBAR,H5,'----0.809');DRAWTEXT(低1 AND ISLASTBAR,低1,'----低');:=REF(EMA(C,5),1);A1X:=(EMA(C,2)-突破)/突破*100;基准:=IF(A1X>=0,REF(EMA(C,2),BARSLAST