通达信成交量正态分布指标公式
通达信量柱群指标公式
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;
{指标网-股票公式网站 www.GUpang.com}
DRAWBAND(ADX,RGB(128,128,0),AZX,RGB(128,128,0));
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;
通达信自用KDJ指标公式