DZ:=100*INDEXC/REF(INDEXC,1);
GZ:=100*C/REF(C,1);
GZ:=IF(GZ<=89,100*C/O,GZ);
GZ:=IF(GZ>=111,100*C/O,GZ);
ZZ:=GZ-DZ;
ZS:=SUM(ZZ,0);
ZK:=ZS-ZZ;
ZZD:=MAX(ZK,ZS);
ZZX:=MIN(ZK,ZS);
DH:=INDEXH/REF(INDEXC,1);
GH:=H/REF(C,1);
ZH:=GH-DH;
ZH:=IF(ZH>0,ZH,0);
ZHK=ZK+ZK*ZH;
ZHK:=MAX(ZHK,ZZD);
DL:=INDEXL/REF(INDEXC,1);
GL:=L/REF(C,1);
ZL:=GL-DL;
ZL:=IF(ZL>0,ZL,0);
ZLK=ZK-ZK*ZL;
ZLK:=MIN(ZLK,ZZX);
DRAWKLINE(ZHK,ZK,ZLK,ZS);
M5:MA(ZS,5),LINETHICK1,colorwhite;
M10:MA(ZS,10),LINETHICK1,coloryellow;
个性涨幅:ZZ;
TB:=IF(C<REF(C,1),IF(VOL>REF(VOL,1),IF(REF(C,1)<REF(C,2),1,0),0),0);
STICKLINE(TB=1,ZLK-2,ZLK-3,8,0),coloryellow;
NQS:=IF(DZ<100,IF(GZ>100,1,0),0);
STICKLINE(NQS=1,ZHK+2,ZHK+3,8,0),colorgreen;