L2_VOL用到。逐笔数据好些!
机构:(L2_VOL(0,0) - L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORRED;
大户:(L2_VOL(1,0) - L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;
主力:机构+大户,NODRAW,COLORYELLOW;
STICKLINE(主力>0,0,主力,3,-1),COLORYELLOW;
STICKLINE(主力<0,0,主力,3,-1),COLORFF8800;
STICKLINE(大户>0,0,大户,1,0),COLORMAGENTA;
STICKLINE(大户<0,0,大户,1,0),COLORCYAN;
STICKLINE(机构>0,0,机构,1,0),COLORRED;
STICKLINE(机构<0,0,机构,1,0),COLORGREEN;
累计:SUM(主力,5),LINETHICK1,COLORLIRED;
均值:EMA(累计,5),LINETHICK2,COLORWHITE;
IF(累计>=均值,均值,DRAWNULL),COLORRED,LINETHICK2;