主力买:(LARGEINTRDVOL)*10000/FINANCE(7),NODRAW,LINETHICK0;
主力卖:-(LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW,LINETHICK0;
主力净:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW,LINETHICK0;
主力持仓:50+SUM(主力净,0),COLORCYAN,LINETHICK2;
STICKLINE(主力卖 =-0.1 AND 主力卖 =-2,主力持仓+主力卖/3.8,主力持仓,0,0),COLORGREEN;
STICKLINE(主力卖 =-2 AND 主力卖 =-18,主力持仓+主力卖/4.5,主力持仓,0.005,0),COLORGREEN;
STICKLINE(主力买 0 AND 主力买 2,主力持仓,主力持仓+主力买/3.8,0,0),COLORLIMAGENTA;
STICKLINE(主力买 =2 AND 主力买 20,主力持仓,主力持仓+主力买/4.5,0.005,0),COLORLIMAGENTA;
主力5:=MA(主力持仓,12);
强势区:IF(主力持仓 =主力5,主力持仓,DRAWNULL),COLORMAGENTA,LINETHICK2;
---------------------------------------------------------------------
TMP:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;
主力活跃度:(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7)),NODRAW;
STICKLINE(TMP 0,0,主力活跃度,2,0),COLOR000055;
STICKLINE(TMP 0,0,主力活跃度,2,0),COLOR005500;
STICKLINE(TMP 0.8,0,主力活跃度,2,0),COLORRED;
STICKLINE(TMP -0.8,0,主力活跃度,2,0),COLORGREEN;
买卖气:TMP/5,LINETHICK0;
------------------------------------------------
总成交手:VOL,COLOR160060,LINETHICK0;
A1:=ACTINVOL,COLORLIGRAY,NODRAW;
主力买手:LARGEINTRDVOL,COLORRED,NODRAW;
A2:=ACTOUTVOL,COLORLIGRAY,NODRAW;
主力卖手:LARGEOUTTRDVOL,COLORGREEN,NODRAW;主力净:(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW;
STICKLINE(1,0,2*A1,2,0),COLORBROWN;
STICKLINE(1,0,(-2*A2),2,0),COLORBROWN;
STICKLINE(1,0,主力买手,2,0),COLORRED;
STICKLINE(1,0,(-1*主力卖手),2,0),COLORCYAN;