公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 同花顺公式 > 正文 → 正文

同花顺新布林副图指标

发布时间:2016/3/29 6:40:35  浏览次数:

同花顺新布林副图指标

源码

DRAWGBK(DATE>900103,STRIP(RGB(80,150,255),RGB(120,150,255),1));
MID:MA(CLOSE,21),ColorFFFFFF;
走势:EMA(CLOSE,3),ColorFFFF33;
UPPER:MID + 1.96*STD(CLOSE,21),coloryellow;
LOWER:MID - 1.96*STD(CLOSE,21),coloryellow;
UP:MID + 2.58*STD(CLOSE,21),Color8409FF;
LOOW:MID - 2.58*STD(CLOSE,21),Color8409FF;
单边上升:=(C>mid);
单边下降:=(C<mid);
布林线开口:=up-loow;
多头行情:=C>MA(C,5) AND MA(C,5)>MA(C,10);
股价在高位:=((C-LLV(C,30))/(HHV(C,30)-LLV(C,30))>0.6);
股价在低位:=((C-LLV(C,30))/(HHV(C,30)-LLV(C,30))<0.4);
布林线缩口:=((upper-mid)/mid<0.05); 
DRAWTEXT(布林线缩口,mid,'▲'),colorwhite;
MID,ColorFFFFFF;
UPPER,coloryellow;
LOWER,coloryellow;
UP,Color8409FF;
LOOW,Color8409FF;

DRAWTEXT(单边上升 AND REF(C,1)>REF(up,1) AND C < up ,up*1.08,'减仓'),color00FF00;
DRAWTEXT(REF(布林线开口,1)=HHV(布林线开口,20) AND 单边上升,up*1.08,'卖出'),colorwhite;
空仓:=(CROSS(mid,AMOUNT/V/100));
DRAWTEXT(空仓,up*1.05,'空仓'),coloryellow;
DRAWTEXT(BARSLAST(布林线缩口)=1 AND C<MA(C,10),up*1.08,'跌势起'),color00FF00;
适当建仓:=(单边上升 AND FILTER(多头行情,20) AND V>MA(V,3));
DRAWTEXT(适当建仓,loow,'建仓'),ColorFF20FF;
加仓:=(单边上升 AND REF(C-mid,1)=LLV(C-mid,5));
DRAWTEXT(加仓 AND BARSLAST(适当建仓)<BARSLAST(空仓),loow,'加仓'),colorff00ff;
一波行情起:=(BARSLAST(布林线缩口)<=3 AND V>MA(V,3) AND 股价在低位 AND C>REF(C,1) AND C>MA(C,10));
DRAWTEXT(FILTER(一波行情起,5),lower,'行情波'),colorred;
一波跌势完:=(单边下降 AND BARSLAST(REF(布林线开口,1)=HHV(布林线开口,50))<=5 AND loow>REF(loow,1) AND C <mid) AND 股价在低位;
DRAWTEXT(FILTER(一波跌势完,5),lower,'抢反弹');

STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),COLORff7700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;
var9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);

    STICKLINE(var9Q,C,(O+C)/2,10,0),color000055;
    STICKLINE(var9Q,C,(O+C)/2,6,0),color000066;
    STICKLINE(var9Q,C,(O+C)/2,5,0),color000077;
    STICKLINE(var9Q,C,(O+C)/2,4,0),color000099;
    STICKLINE(var9Q,C,(O+C)/2,3,0),color0000bb;
    STICKLINE(var9Q,C,(O+C)/2,2,0),color0000dd;
    STICKLINE(var9Q,C,(O+C)/2,1,0),color0000ff;
varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);

    STICKLINE(varaQ,C,(O+C)/2,10,0),colorff11ff;
    STICKLINE(varaQ,C,(O+C)/2,6,0),colorff33ff;
    STICKLINE(varaQ,C,(O+C)/2,5,0),colorff55ff;
    STICKLINE(varaQ,C,(O+C)/2,4,0),colorff77ff;
    STICKLINE(varaQ,C,(O+C)/2,3,0),colorff99ff;
    STICKLINE(varaQ,C,(O+C)/2,2,0),colorffbbff;
    STICKLINE(varaQ,C,(O+C)/2,1,0),colorffddff;
varbQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);

    STICKLINE(varbQ,C,(O+C)/2,10,0),color333333;
    STICKLINE(varbQ,C,(O+C)/2,6,0),color555555;
    STICKLINE(varbQ,C,(O+C)/2,5,0),color777777;
    STICKLINE(varbQ,C,(O+C)/2,4,0),color999999;
    STICKLINE(varbQ,C,(O+C)/2,3,0),colorbbbbbb;
    STICKLINE(varbQ,C,(O+C)/2,2,0),colordddddd;
    STICKLINE(varbQ,C,(O+C)/2,1,0),colorffffff;
varcQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);

    STICKLINE(varcQ,O,(O+C)/2,10,0),color003300;
    STICKLINE(varcQ,O,(O+C)/2,6,0),color005500;
    STICKLINE(varcQ,O,(O+C)/2,5,0),color007700;
    STICKLINE(varcQ,O,(O+C)/2,4,0),color009900;
    STICKLINE(varcQ,O,(O+C)/2,3,0),color00bb00;
    STICKLINE(varcQ,O,(O+C)/2,2,0),color00dd00;
    STICKLINE(varcQ,O,(O+C)/2,1,0),color00ff00;
vardQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);

STICKLINE(vardQ,O,(O+C)/2,10,0),colorff1100;
STICKLINE(vardQ,O,(O+C)/2,6,0),colorff3300;
STICKLINE(vardQ,O,(O+C)/2,5,0),colorff5500;
STICKLINE(vardQ,O,(O+C)/2,4,0),colorff7700;
STICKLINE(vardQ,O,(O+C)/2,3,0),colorff9900;
STICKLINE(vardQ,O,(O+C)/2,2,0),colorffbb00;
STICKLINE(vardQ,O,(O+C)/2,1,0),colorffdd00;
AC:=AMOUNT/(VOL);
YY:=MA(AC,13);
LLL:=(C-YY)/YY*100;
MIDC :=  MA(CLOSE,21);
UPPERC:= MIDC + 2*STD(C,21);
LOWERC:= MIDC - 2*STD(C,21);
BBA:=(C-LOWERC)/(UPPERC-LOWERC);
BBC:=FORCAST(BBA,3);
LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1));
DRAWTEXT(LIFENGCYC>0,LOW*0.99,'☆'),ColorFFFF42;
 

同花顺新布林副图指标

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识