wd800 aajs:[通达信]主力活跃度源码公式

来源:百度文库 编辑:我爱散文网 时间:2019/09/20 22:20:09
通达信主力活跃度源码公式:
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(CLOSEVAR1*((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;