{拐点起飞主图}
ZGJ:=HHV(H,0);
DWTS:=YX AND COUNT(YX,0)=4;
SJ:=INTPART(TS/6);
TJ11:=(DWTS OR ZQ) AND TS>=0;
MB:=H=ZTPRICE(REF(C,1),0.1) AND C<H;
CMB:=H=ZTPRICE(REF(C,1),0.2) AND C<H;
STICKLINE(MB,C,O,2,0),COLORMAGENTA;
STICKLINE(CMB,C,O,2,0),COLORWHITE;
DW:=BARSLAST(ZDJ),NODRAW,COLORRED;
TJ:=BETWEEN(DW,1,60) AND C/REF(C,1)>1.043;
STICKLINE(拐点, ZGJ,ZD,0.3,1);
拐点价:=CONST(REF(C,GDTS)),COLORRED;
LJTS:=BARSLAST(LJD);
Z1:=STRCAT(HYBLOCK,' ');
Z3:=STRCAT(Z2,' ');
M1:=COUNT(MD,GDTS)=1;
M2:=COUNT(MD,GDTS)=2;
M3:=COUNT(MD,GDTS)=3;
M4:=COUNT(MD,GDTS)>3;
C2:=REF(C,D2);
G1:=MAX(C1,C2);
GJ1:=IF(M1,C1,0);
GJ3:=IF(M3,G2,0);
地平线:CONST(GJ),COLORMAGENTA;
CDTJ:=COUNT(JCCD,GDTS)=1 AND JCCD ;
GUHAI:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWICON(CDTJ,0.99*L,29);
CDTS:=BARSLAST(CDTJ);
FXX:=IF(M4 OR CDTS>GDTS,0,FXJ);