以下是公布正版通达信主动买卖成交量公式
公布正版通达信主动买卖成交量公式
万手:VOL/10000,LINETHICK0;
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:AA/10000;
主动买量:=ACTINVOL;
主买量:主动买量/10000,COLORRED,NODRAW;
主动卖量:=-ACTOUTVOL;
主卖量:主动卖量/10000,COLORLIBLUE,NODRAW;
主买净量:主买量+主卖量,COLORMAGENTA,NODRAW;
主买比:主买量/(主买量-主卖量)*100,COLORYELLOW,NODRAW;
主动量比:(主买量-主卖量)/万手*100,COLORLIBLUE,NODRAW;
净买量比:主买净量/万手*100,COLORLIBLUE,NODRAW;
净买量:=ACTINVOL-ACTOUTVOL;
持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORBLUE;
持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
上涨家:INDEXADV,COLOR0080FF,NODRAW;
下跌家:INDEXDEC,COLORGREEN,NODRAW;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,1),COLORWHITE;
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,1),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ;
STICKLINE(主动卖量<=0,0,-主动卖量,3.2,0),COLOR990000;
STICKLINE(主动卖量<=0,0,-主动卖量,2.7,0),COLORCC0000;
STICKLINE(主动卖量<=0,0,-主动卖量,2.1,0),COLORFF4400;
STICKLINE(主动卖量<=0,0,-主动卖量,1.5,0),COLORFF8800;
STICKLINE(主动卖量<=0,0,-主动卖量,0.9,0),COLORFFCC00;
STICKLINE(主动卖量<=0,0,-主动卖量,0.2,0),COLORCYAN;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,3.2,0),COLOR000033;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,2.7,0),COLOR000066;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,2.1,0),COLOR000099;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,1.5,0),COLOR0000CC;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,0.9,0),COLOR0000FF;
STICKLINE(主动买量>=0,-主动卖量,主动买量-主动卖量,0.2,0),COLORCC66FF;
STICKLINE(净买量<=0,0,净买量,3.2,0),COLOR003300;
STICKLINE(净买量<=0,0,净买量,2.7,0),COLOR006600;
STICKLINE(净买量<=0,0,净买量,2.1,0),COLOR009900;
STICKLINE(净买量<=0,0,净买量,1.5,0),COLOR00CC00;
STICKLINE(净买量<=0,0,净买量,0.9,0),COLOR00FF00;
STICKLINE(净买量<=0,0,净买量,0.2,0),COLORGREEN;
STICKLINE(净买量>=0,0,-净买量,3.2,0),COLOR000033;
STICKLINE(净买量>=0,0,-净买量,2.7,0),COLOR000066;
STICKLINE(净买量>=0,0,-净买量,2.1,0),COLOR000099;
STICKLINE(净买量>=0,0,-净买量,1.5,0),COLOR0000CC;
STICKLINE(净买量>=0,0,-净买量,0.9,0),COLOR0000FF;
STICKLINE(净买量>=0,0,-净买量,0.2,0),COLORCC66FF;
0;
五日: MA(V,5),COLOR40FF00;
三五日: MA(V,35),COLORYELLOW;
一三五日:MA(V,135),COLOR0080FF;
NOTEXT强:IF(五日>MA(五日,2),五日,DRAWNULL),COLORRED;
评论(0)