{DC百日源码如下}
数据量:=0;
代码:=STR2CON(CODE);
日期:=DATE;
主力:TDXDLL1(1,代码,日期,数据量)/10000,COLORMAGENTA,NODRAW;
小单:TDXDLL1(2,代码,日期,数据量)/10000,COLORGREEN,NODRAW;
中单:TDXDLL1(3,代码,日期,数据量)/10000,COLORBLUE,NODRAW;
大单:TDXDLL1(4,代码,日期,数据量)/10000,COLORYELLOW,NODRAW;
超大单:TDXDLL1(5,代码,日期,数据量)/10000,COLORRED,NODRAW;
STICKLINE(C>0,0,小单,2,0),COLORGREEN;
STICKLINE(C>0,0,超大单,2,0),COLORRED;
STICKLINE(C>0,0,中单,1,0),COLORBLUE;
STICKLINE(C>0,0,大单,1,0),COLORYELLOW;
{DC分时源码如下}
代码:=STR2CON(CODE),NODRAW,COLORYELLOW;
主力:TDXDLL1(6,代码,0,0)/10000,COLORMAGENTA,LINETHICK3;
小单:TDXDLL1(7,代码,0,0)/10000,COLORGREEN;
中单:TDXDLL1(8,代码,0,0)/10000,COLORCYAN;
大单:TDXDLL1(9,代码,0,0)/10000,COLORYELLOW,LINETHICK2;
超单:TDXDLL1(10,代码,0,0)/10000,COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,主力*0.9,' ←主力'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,超单*0.9,' ←超户'),COLORRED;
DRAWTEXT(ISLASTBAR,大单,' ←大户'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,中单,' ←中户'),COLORCYAN;
DRAWTEXT(ISLASTBAR,小单,' ←散户'),COLORGREEN;