通达信彩色立体买卖成交量优化版指标公式
2020/4/28 18:34:41
成交量:VOL,VOLSTICK;
预计量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT ;
卖盘:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,POINTDOT;
净买:(买盘-卖盘),COLORRED,NODRAW;
换手率:HSL,NODRAW;
累计10日换手:SUM(换手率,10),NODRAW;
{绿色柱子}
STICKLINE(VOL>0,VOL,0,3.0,0),COLOR005500;
STICKLINE(VOL>0,VOL,0,2.8,0),COLOR007700;
STICKLINE(VOL>0,VOL,0,2.4,0),COLOR009900;
STICKLINE(VOL>0,VOL,0,2.0,0),COLOR00AA00;
STICKLINE(VOL>0,VOL,0,1.6.5,0),COLOR00BB00;
STICKLINE(VOL>0,VOL,0,1.2,0),COLOR00CC00;
STICKLINE(VOL>0,VOL,0,1.0,0),COLOR00DD00;
STICKLINE(VOL>0,VOL,0,0.6,0),COLOR00EE00;
STICKLINE(VOL>0,VOL,0,0.2,0),COLOR00FF00;
{红色柱子}
STICKLINE(买盘>0,0,买盘,3.0,0),COLOR0000BB;
STICKLINE(买盘>0,0,买盘,2.7,0),COLOR0000CC;
STICKLINE(买盘>0,0,买盘,2.4,0),COLOR0011CC;
STICKLINE(买盘>0,0,买盘,2.0,0),COLOR1122DD;
STICKLINE(买盘>0,0,买盘,1.7,0),COLOR2233DD;
STICKLINE(买盘>0,0,买盘,1.3,0),COLOR3344EE;
STICKLINE(买盘>0,0,买盘,1,0),COLOR4455EE;
STICKLINE(买盘>0,0,买盘,0.6,0),COLOR5566FF;
STICKLINE(买盘>0,0,买盘,0.3,0),COLOR6677FF;
五日:MA(VOL,5),COLORWHITE,LINETHICK1;
十日:MA(VOL,10),COLORFFFF00,LINETHICK1;
五日均买:MA(买盘,5),COLORWHITE,LINETHICK1;
十日均卖:MA(卖盘,5),COLORGREEN,LINETHICK1;
投股票 网 w ww.tou18.cn
股市公式下载推荐