成交量分布指标 (源码)
通达信成交量分布指标公式股票软件源码如下:
M:=EMA("KDJ.K"(9,3,3)/100+"KDJ.D"(9,3,3)/100,20)*20;
AMA_S:=SUM(V,M)/SUM(1,M);
ACQ:=ABS(V);
ASD1:=SQRT(SUM((V-AMA_S)*(V-AMA_S)*ACQ/SUM(ACQ,M),M));
ASD2:=SQRT(SUM((V-AMA_S)*(V-AMA_S)*ACQ,M)/SUM(ACQ,M));
ASD:=(ASD1+ASD2)/2;
ADX:=AMA_S+2*ASD,COLORFF00CC,LINETHICK2;
AZX:=AMA_S,COLORFF00CC,LINETHICK2;
DRAWBAND(ADX,RGB(128,128,0),AZX,RGB(128,128,0));
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
V,NODRAW;
STICKLINE(CLOSE>=OPEN,0,V,2.2,0) ,COLOR102088;
STICKLINE(CLOSE>=OPEN,0,V,2.0,0) ,COLOR102099;
STICKLINE(CLOSE>=OPEN,0,V,1.8,0) ,COLOR1020AA;
STICKLINE(CLOSE>=OPEN,0,V,1.4,0) ,COLOR1020BB;
STICKLINE(CLOSE>=OPEN,0,V,1.2,0) ,COLOR1020CC;
STICKLINE(CLOSE>=OPEN,0,V,1.0,0) ,COLOR1020DD;
STICKLINE(CLOSE>=OPEN,0,V,0.6,0) ,COLOR1020EE;
STICKLINE(CLOSE>=OPEN,0,V,0.2,0) ,COLOR1020FF;
STICKLINE(CLOSE< OPEN,0,V,2.2,0 ),COLOR990000;
STICKLINE(CLOSE< OPEN,0,V,2,0 ),COLORCC0000;
STICKLINE(CLOSE< OPEN,0,V,1.2,0 ),COLORFF4400;
STICKLINE(CLOSE< OPEN,0,V,0.6,0 ),COLORFF8800;
STICKLINE(CLOSE< OPEN,0,V,0.1,0 ),COLORFFCC00;
STICKLINE(CLOSE< OPEN,0,V,0,0 ),COLORCYAN;
- 上一篇公式:买卖成交指标 (源码)
- 下一篇公式:小试牛刀指标 (源码)