【同花順】分時(shí)布林帶指標(biāo)公式
攻城獅 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;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。