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));
{ _通达信股票指标公式}
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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。