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)),LINETHICK0,COLORGREEN;
主动卖万:主动卖盘/10000,COLORGREEN,NODRAW;
换手率%:VOL/CAPITAL*100,,NODRAW;
量比:(VOL*240/FROMOPEN)/REF(MA(V,5),1),NODRAW;
流通盘(亿):CAPITAL/1000000,POINTDOT;
流通市值(亿):(CAPITAL/100*C)/10000,POINTDOT,COLOR33CCFF;
成交额(千万):AMOUNT/10000000,POINTDOT;
STICKLINE(C<O,V,0,3.6,0),COLORB20000;
STICKLINE(C<O,V,0,2.8,0),COLOREC0000;
STICKLINE(C<O,V,0,2.2,0),COLORFF4600;
STICKLINE(C<O,V,0,1.5,0),COLORFF6300;
STICKLINE(C<O,V,0,1,0),COLORFF8B00;
STICKLINE(C<O,V,0,0.5,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;
STICKLINE(CLOSE>=OPEN,VOL,0,0,0),COLOR10ABFF;
MAVOL1:MA(VOLUME,M1),LINETHICK5,COLOR002233;
MA(VOLUME,M1),LINETHICK4,COLOR006677;
MA(VOLUME,M1),LINETHICK3,COLOR0099AA;
MA(VOLUME,M1),LINETHICK2,COLOR00CCDD;
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;