HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);T:=HHVBARS(HH,0);TT:=BARSLAST(L=LLV(L,T+1));T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);XL:=REFX(L,BARSNEXT(T1=0));亏损:(REF(C,TT)-REF(C,T+1))/REF(C,T+1)*100 NODRAW;ZF:=(C-REF(C,T+1))/REF(C,T+1)*100;回本:ZF COLORMAGENTA,NODRAW;高位价:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,HH,ISLASTBAR,REF(HH,T),0),COLORYELLOW;NOTEXT1:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,(HH-XL)*0.382+XL,ISLASTBAR,REF((HH-XL)*0.382+XL,T),0),DOTLINE,COLORGREEN;NOTEXT2:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,(H