万手:vol/10000,LINETHICK0;
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:AA/10000;
主动买量:=acTINVOL;
主买量:主动买量/10000,COLORWHITE,NODRAW;
主动卖量:=-ACTOUTVOL;
主卖量:主动卖量/10000,COLORLIGREEN,NODRAW;
主买净量:主买量+主卖量,COLORmaGENTA,NODRAW;
主买比:主买量/(主买量-主卖量)*100,COLORBLUE,NODRAW;
主动量比:(主买量-主卖量)/万手*100,COLORLIGREEN,NODRAW;
净买量比:主买净量/万手*100,COLORLIGREEN,NODRAW;
净买量:=ACTINVOL-ACTOUTVOL;
持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORYELLOW;
持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORWHITE;
上涨家:INDEXADV,COLOR0080FF,NODRAW;
下跌家:INDEXDEC,COLORCYAN,NODRAW;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,1),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,1),COLORWHITE;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,1),COLORCYAN;
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),COLORGREEN;
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),COLORCYAN;
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;
;