【通达信】虚拟成交(主动买盘、主动买万)-指标公式源码
M1:=5;M2:=10;
VVOL:IF(CURRBARSCOUNT=1 AND
PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE 主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 量比:(VOL*240/FROMOPEN)/REF(MA(V,5),1),NODRAW; 流通盘(亿):CAPITAL/1000000,POINTDOT; 流通市值(亿):(CAPITAL/100*C)/10000,POINTDOT,COLOR33CCFF; 成交额(千万):AMOUNT/10000000,POINTDOT; STICKLINE(C MA(VOLUME,M1),LINETHICK1,COLOR00FFFF; MAVOL2:MA(VOLUME,M2),LINETHICK5,COLORAA1100; MA(VOLUME,M2),LINETHICK4,COLORBB2200; MA(VOLUME,M2),LINETHICK3,COLORCC3300; MA(VOLUME,M2),LINETHICK2,COLORDD4400; MA(VOLUME,M2),LINETHICK1,COLORFF5500; 【通达信】虚拟成交(主动买盘、主动买万)-指标公式效果图 (文档来源:若水财经社区)