【同花順】分時布林帶指標公式
攻城獅 2015.12.05 21:12
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),均線上均:均線 + 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;
申明:本文為作者投稿或轉載,在概念股網 http://www.guangshenggb.com/ 上發(fā)表,為其獨立觀點。不代表本網立場,不代表本網贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。