A1:=IF((CURRBARSCOUNT = 1),((VOL * 240) / FROMOPEN),VOL);
A2:=((A1 * 10000) / FINANCE(7));
A3:=CONST(BARSLAST((A2 = HHV(A2,180))));
A4:=IF((CURRBARSCOUNT <= (A3 + 1)),CONST(REF(((((CLOSE + OPEN) + HIGH) + LOW) / 4),A3)),DRAWNULL);
A5:=A4;
止盈价:A5,COLORYELLOW;
止盈:=VARCAT(VARCAT('止赢价:',VAR2STR(止盈价,2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.99,0.99,1,止盈)COLOR8000FF;