成交单笔数差(大智慧)

单数差:sum(ORDERNUM(2,0)-ORDERNUM(1,0),0),LINETHICK2,Colorred;

笔数差:sum(TRANSacTNUM(1,0)-TRANSACTNUM(2,0),0),LINETHICK2,coloryellow; {Colorblue;}

PARTLINE(单数差,单数差<=0,rgb(0,250,250),单数差> 0,rgb(255,0,50)),LINETHICK2;

PARTLINE(笔数差,笔数差<=0,rgb(0,250,50),笔数差> 0,rgb(250,110,0)),LINETHICK2;

AT:=crOSS(笔数差,0);

成交单数:="成交单数.单数差";

成交笔数:="成交笔数.笔数差";

单笔数:sum(成交单数+成交笔数,1),colorstick,layer7,PRECIS0;

金叉:=cross(成交笔数,成交单数);

VERTLINE(金叉 , 3);

DRAWTEXT(CROSS(笔数差,0),AT,'扫盘'),Color00Ffff;