volUME:VOL,VOLSTICK;
{VOL,VOLSTICK;MA5:MA(VOL,3);MA10:MA(VOL,5);}
{ _通达信指标公式}
STICKLINE(C>=O,0,VOL,2.3,0),COLORFFFFFF;{实体为0}
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,
VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主卖:=VOL-主买;
STICKLINE(VOL>0 AND C>O,VOL,0,2.1,0),COLORRED;
{主力活跃度}
TMP:=(LARGEINTRDVOL-LARGEOUTTRDVOL);
主力活跃度:(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7))
*HHV(V,1000)/10,NODRAW;
STICKLINE(TMP>0,0,主力活跃度,1,0),COLOR00FFFF;
STICKLINE(TMP<0,0,主力活跃度,1,0),COLORLIGREEN;