tt:=BARSCOUNT(NEW);
CC:=NEW;
zz:=SUM(AMOUNT,tt)/SUM(vol*100,tt);
zz1:=BETWEEN(NEW/zz,1.05,0.95);
均线:IF(zz1=0,MA(Cc,TT),zz),POINTDOT,COLOR00FFFF,LINETHICK0;
PARTLINE(均线,均线>=Cc,RGB(0,255,0),均线<Cc,RGB(255,0,0)),Linethick2;
上均:均线 + AVEDEV(Cc,tt)*2,COLOR00FF00;
下均:均线 – AVEDEV(Cc,tt)*2,COLORFFff00;
dk:=(上均-下均)*100/均线;
TIPTEXT(crOSS(dk,4) ,PRE,’布林带宽为:’+dk+’%’);
VERLINE(dk<=2 AND CROSS(cc,上均),2),Color00ff00;
VERLINE(dk<=2 AND CROSS(下均,Cc),2),colorwhite;
DRAWTEXT(dk>4 AND CROSS(上均,Cc),上均,’★’),colorred;
DRAWTEXT(dk>4 AND CROSS(cc,下均),下均,’▲’),color00ff00;

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