同花顺公式怎么用?同花顺分时布林带指标公式
2016-07-15 14:08 股票知识 zhishi.southmoney.com
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;
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;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。