TMP:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力活跃度:(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7)),NODRAW;
STICKLINE(TMP>0,0,主力活跃度,2,0),COLORLIRED;
STICKLINE(TMP=0,0,主力活跃度,2,0),COLORBROWN;
STICKLINE(TMP<0,0,主力活跃度,2,0),COLORLIGREEN;
DRAWTEXT(主力活跃度>REF(主力活跃度,1)*2 AND C>O AND TMP>0,主力活跃度*1.1,'↓买'),COLORYELLOW;
DRAWTEXT(FILTER(主力活跃度<REF(EMA(主力活跃度,3)*0.9,1) AND C<O AND TMP<0,20),主力活跃度*1.1,'↓卖'),COLORGREEN;
主力多头:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力集散:=SUM((LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),0);
三日集散:MA(主力集散,3),NODRAW;
大单频率:IF(TRADENUM>0,LARGETRDINNUM*100/TRADENUM,0),NODRAW;
三日频率:MA(大单频率,3)*2,NODRAW;