编写要求:

爱约股解答:

 网友求助:

{分时各户}
XDM1:="I0001.小买#TICK";
XDM2:="I0001.小卖#TICK";
ZDM1:="I0001.中买#TICK";
ZDM2:="I0001.中卖#TICK";
DDM1:="I0001.大买#TICK";
DDM2:="I0001.大卖#TICK";
TDM1:="I0001.特买#TICK";
TDM2:="I0001.特卖#TICK";

特大单:TDM1-TDM2,LINETHICK4,COLORred;
大单:DDM1-DDM2,LINETHICK3,COLORMAGENTA;
中单:ZDM1-ZDM2,LINETHICK2,COLOR00FFFF;
散单:XDM1-XDM2,LINETHICK1,COLORgreen;

0,LINETHICK3,POINTDOT,COLORFFFFFF;
50,LINETHICK2,POINTDOT,COLORFFFFFF;
-50,LINETHICK2,POINTDOT,COLORFFFFFF;

 

 

解答如下:

XDM1:="I0001.小买#TICK";
XDM2:="I0001.小卖#TICK";
ZDM1:="I0001.中买#TICK";
ZDM2:="I0001.中卖#TICK";
中单:=ZDM1-ZDM2;
散单:=XDM1-XDM2;
CROSS(中单,散单);