X_1:=DATE;
X_2:=STR2CON(CODE);
主力:TDXDLL4(3,X_2,X_1,1)/10000,NODRAW,COLORMAGENTA;
超大单:TDXDLL4(3,X_2,X_1,2)/10000,NODRAW,COLORRED;
大单:TDXDLL4(3,X_2,X_1,3)/10000,NODRAW,COLORYELLOW;
STICKLINE(主力>0,0,主力,2,0),COLORMAGENTA;
STICKLINE(主力<0,0,主力,2,0),COLORMAGENTA;
STICKLINE(CLOSE>0,0,超大单,2,0),COLORRED;
STICKLINE(CLOSE>0,0,大单,1,0),COLORYELLOW;
0;
X_3:=CAPITAL*CLOSE*100/10000/10000;
超大占流通盘比%:超大单/X_3*100/10000,NODRAW,COLORRED;
X_4:=超大占流通盘比%>=1;
DRAWTEXT(X_4,超大单*0.5,VAR2STR(超大占流通盘比%,2)),COLORYELLOW;
DRAWTEXT(X_4,超大单*0.7,VAR2STR(超大单,0)),COLORGREEN;
五日净流入:SUM(主力,5),NODRAW,COLORMAGENTA;
二十日净流入:SUM(主力,20),NODRAW,COLORLIRED;