不會(huì)安裝點(diǎn)擊 安裝指南 步驟操作。 DRAWKLINE(H,O,L,C); 低天:=15; 高天:=5; CURR:=CURRBARSCOUNT; 高低:=DRAWLINE(CURR=高天,H,CURR=低天,L,0); 低高:=DRAWLINE(CURR=低天,L,CURR=高天,H,0); 高低線:=IF(高天>低天,高低,低高); IF(CURR=高天,H,IF(CURR=低天,L,IF(CURR=ROUND((低天+高天)/2),高低線,DRAWNULL))),COLORAA00AA,CROSSDOT,LINETHICK3; 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<PR,PR-CURR,CURR-PR)*BX; SY:=IF(XW<Y弧,SQRT(Y弧*Y弧-XW*XW),0)/BY; Y震譜1:=IF(高天<低天,RN+SY,RN-SY),COLORRED; Y震譜2:=IF(高天<低天,RN-SY,RN+SY),COLORRED; 高點(diǎn):HHV(Y震譜1,10);{} XW11:IF(REF(Y震譜1,1)<高點(diǎn),高點(diǎn),高點(diǎn)),COLORYELLOW; Y弧1:=(SH*SL)/2;{半徑} BX1:=2*(SH*SL)/天距; BY1:=(SH*SL)/高低距; XW1:=IF(CURR<PR,PR-CURR,CURR-PR)*BX1; SY1:=IF(XW<Y弧,SQRT(Y弧1*Y弧1-XW1*XW1),0)/BY1; Y震譜3:=IF(高天<低天,RN+SY1,RN-SY1),COLORRED; Y震譜4:=IF(高天<低天,RN-SY1,RN+SY1),COLORRED; 高點(diǎn)1:HHV(Y震譜3,10),COLORBLUE; XW111:IF(REF(Y震譜3,1)<高點(diǎn)1,高點(diǎn)1,高點(diǎn)1); XG:=CROSS(C,高點(diǎn)) OR CROSS(C,高點(diǎn)1) AND V/REF(MA(V,5),1)>1.2; DRAWTEXT(CURRBARSCOUNT<10 AND XG ,L,'▲圓弧突破'),COLORYELLOW;
|