低天:=15;
高天:=5;
CURR:=CURRBARSCOUNT;
SH:=CONST(REF(H,BArslAST(CURR=高天)));
SL:=CONST(REF(L,BARSLAST(CURR=低天)));
高低距:=SH-SL;
天距:=Abs(低天-高天);
PR:=ABS(低天-高天)/2+IF(高天>低天,低天,高天);
RN:=(SH+SL)/2;
Y弧:=(SH*SL);
BX:=2*(SH*SL)/天距;
BY:=(SH*SL)/高低距;
XW:=IF(CURR
高点:=HHV(Y震谱1,10);
Y弧1:=(SH*SL)/2;
BX1:=2*(SH*SL)/天距;
BY1:=(SH*SL)/高低距;
XW1:=IF(CURR
高点1:=HHV(Y震谱3,10),COLORBLUE;
XG:=crOSS(C,高点) OR CROSS(C,高点1) AND V/REF(MA(V,5),1)>1.2;
圆弧突破:CURRBARSCOUNT<10 AND XG;