买卖成交量 通达信副图指标 源码 贴图
买卖成交量 通达信副图指标 源码 贴图
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:买量+卖量,LINETHICK0;
主动买方量:买量,LINETHICK0,COLORRED;
主动卖方量:卖量,LINETHICK0,COLORGREEN;
净量:买量-卖量,LINETHICK0;
换手率:VOL/CAPITAL*100,LINETHICK0;
MAA:=MA( CLOSE ,2) ;
STICKLINE(C>MAA,总量,1,4,1 ),COLOR00FFFF;
STICKLINE(C<MAA,总量,1,4,1 ),COLORFF00FF;
STICKLINE(净量<0,1,总量,4,1),COLORFFFF00;
STICKLINE(C<MAA AND 净量>0,净量,1,4,1 ),COLOR0000FF;
STICKLINE(V>=2*REF(V,1),1,总量,4,1),COLOR0000FF;
STICKLINE(总量>1,总量,0,3,0),COLORFF3300;
STICKLINE(总量>1,总量,0,2,0),COLORFF7700;
STICKLINE(总量>1,总量,0,1,0),COLORFFAA00;
STICKLINE(总量>1,总量,0,0.1,0),COLORFFFF00;
STICKLINE(买量>0,0,买量,3,0),COLOR000099;
STICKLINE(买量>0,0,买量,2,0),COLOR0000AA;
STICKLINE(买量>0,0,买量,1,0),COLOR0000FF;
STICKLINE(买量>0,0,买量,0.1,0),COLORCC00FF;
STICKLINE(净量>0,0,净量,3,0),COLOR0033FF;
STICKLINE(净量>0,0,净量,2,0),COLOR0077FF;
STICKLINE(净量>0,0,净量,1,0),COLOR00BBFF;
STICKLINE(净量>0,0,净量,0.1,0),COLOR00FFFF;
STICKLINE(净量<0,1,净量,4,1),COLORFFFF00;
STICKLINE(净量<0,0,净量,3,0),COLOR005500;
STICKLINE(净量<0,0,净量,2,0),COLOR009900;
STICKLINE(净量<0,0,净量,1,0),COLOR00BB00;
STICKLINE(净量<0,0,净量,0.1,0),COLOR00FF00;
STICKLINE(C<MAA AND 净量>0,净量,0,3,0 ),COLOR777777;
STICKLINE(C<MAA AND 净量>0,净量,0,2,0 ),COLOR999999;
STICKLINE(C<MAA AND 净量>0,净量,0,1,0 ),COLORBBBBBB;
STICKLINE(C<MAA AND 净量>0,净量,0,0.1,0 ),COLORFFFFFF;
{WWW.GPXIAZAI.COM}
MA2:MA(VOL,2),COLORBLUE,LINETHICK2;
MA5:MA(VOL,5),COLORRED,LINETHICK2;
MA15:MA(VOL,15),COLORGREEN,LINETHICK2;
MA30:MA(VOL,30),COLORWHITE,LINETHICK2;
零位:0,COLORWHITE,LINETHICK1;
- 上一篇公式:筹码堆积 通达信副图指标 源码 贴图
- 下一篇公式:专做抄底 一主四副 通达信指标 源码 贴图