源码
VOL,VOLSTICK,LINETHICK0;
TD0:=DYNAINFO(95)*VOL;
DD0:=DYNAINFO(94)*VOL;
ZD0:=DYNAINFO(93)*VOL;
XD0:=(1-DYNAINFO(95)-DYNAINFO(94)-DYNAINFO(93))*VOL;
STICKLINE(1,0,TD0,3.8,370),COLOR0000FF;
STICKLINE(1,TD0,DD0+TD0,3.8,370),COLOR00FFFF;
STICKLINE(1,DD0+TD0,ZD0+DD0+TD0,3.8,370),COLORFFFF00;
STICKLINE(1,VOL-XD0,VOL,3.8,370),COLOR00FF00;
TD1:=DYNAINFO(98)*VOL;
DD1:=DYNAINFO(97)*VOL;
ZD1:=DYNAINFO(96)*VOL;
XD1:=(1-DYNAINFO(98)-DYNAINFO(97)-DYNAINFO(96))*VOL;
STICKLINE(1,0,TD1,3.8,-370),COLOR000080;
STICKLINE(1,TD1,DD1+TD1,3.8,-370),COLOR008080;
STICKLINE(1,DD1+TD1,ZD1+DD1+TD1,3.8,-370),COLOR808000;
STICKLINE(1,VOL-XD1,VOL,3.8,-370),COLOR008000;
特单差:TD0-TD1,COLOR0000FF,LINETHICK0;
大单差:DD0-DD1,COLOR00FFFF,LINETHICK0;
中单差:ZD0-ZD1,COLORFFFF00,LINETHICK0;
小单差:XD0-XD1,COLOR00FF00,LINETHICK0;