彩色立体买卖成交量指标--杨小邪成交量--完善版(副图,源码,贴图)介绍
彩色立体买卖成交量指标--杨小邪成交量--完善版(副图,源码,贴图)
没有未来函数,买卖量非常清晰,希望大家能喜欢!
总之你快乐,我就快乐!
简要介绍一下指标:
红色的部分是当日的主动买盘量,绿色的部分是当日的主动卖盘量,红色加绿色为全天的成交量,指标还显示了当日的成交量、预计的成交量、买量、卖量、净买量、换手率、10天累计换手率、5天平均成交量、10天平均成交量。
源码:
{杨小邪成交量}
成交量: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;
};
gd16294