【通达信】虚拟成交(主动买盘、主动买万)-指标公式源码
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<OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动买万:主动买盘/10000,COLORRED,NODRAW;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
0-AA*(HIGH-LOW),0-VOL/2)),HICK0,REEN;
主动卖万:主动卖盘/10000,REEN,NODRAW;
换手率%:VOL/CAPITAL*100,,NODRAW;
量比:(VOL*240/FROMOPEN)/REF(MA(V,5),1),NODRAW;
流通盘(亿):CAPITAL/1000000,POINTDOT;
流通市值(亿):(CAPITAL/100*C)/10000,POINTDOT,FF;
成交额(千万):AMOUNT/10000000,POINTDOT;
STICKLINE(C<O,V,0,,0),COLORB20000;
STICKLINE(C<O,V,0,,0),COLOREC0000;
STICKLINE(C<O,V,0,,0),COLORFF4600;
STICKLINE(C<O,V,0,,0),COLORFF6300;
STICKLINE(C<O,V,0,1,0),COLORFF8B00;
STICKLINE(C<O,V,0,,0),COLORFFAB00;
STICKLINE(C<O,V,0,0,0),COLORFFDE00;
STICKLINE(CLOSE>=OPEN,VOL,0,3,0),COLORRED;
STICKLINE(CLOSE>=OPEN,VOL,0,2,0),COLOR1040FF;
STICKLINE(CLOSE>=OPEN,VOL,0,1,0),COLOR1083FF;
STICK
【股票指标公式下载】-【通达信】虚拟成交(主动买盘、主动买万) 来自淘豆网m.daumloan.com转载请标明出处.