好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式缺口+背离主图公式 飞狐缺口主图指标 源码

缺口+背离主图公式 飞狐缺口主图指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-07-10 22:37:03
  • 指标公式标签:缺口 背离
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:缺口+背离主图公式 飞狐缺口主图指标 源码

{缺口+背离(主图)}
drawgbk(1,colorrgb(0,0,100),colorrgb(0,0,0),1);
x1:=(c+l+h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
b:=ema(c,5);
超级线:b;
f:=c>o or (c=o and c>ref(c,1));
fl:=l>=b;
stickline(f and fl,l,h,0.01,0),colormagenta;
stickline(f and fl,o,c,5,1),colormagenta;
stickline(not(f) and fl,l,h,0.01,0),color8e2258;
stickline(not(f) and fl,o,c,5,0),color8e2258;//全上
fh:=h<=b;
stickline(f and fh,l,h,0.01,0),colorgreen;
stickline(f and fh,o,c,5,1),colorgreen;
stickline(not(f) and fh,l,h,0.01,0),color666213;
stickline(not(f) and fh,o,c,5,0),color666213;//全下
fc:=c>=b and o<b;
stickline(f and fc,c,h,0.01,0),colormagenta;
stickline(f and fc,b,c,5,1),colormagenta;
stickline(f and fc,b,l,0.01,0),colorgreen;
stickline(f and fc,b,o,5,1),colorgreen;
fo:=c<b and o>=b;
stickline(not(f) and fo,c,h,0.01,0),color8e2258;
stickline(not(f) and fo,b,c,5,0),color666213;
stickline(not(f) and fo,b,l,0.01,0),color666213;
stickline(not(f) and fo,b,o,5,0),color8e2258;
ff:=h>b and max(c,o)<=b;
stickline(ff and f,b,l,0.01,0),colorgreen;
stickline(ff and not(f),b,l,0.01,0),color666213;
stickline(f and ff,c,o,5,1),colorgreen;
stickline(not(f) and ff,c,o,5,0),color666213;
stickline(ff and f,b,h,0.01,0),colormagenta;
stickline(ff and not(f),b,h,0.01,0),color8e2258;
fff:=l<b and min(c,o)>=b;
stickline(fff and f,b,h,0.01,0),colormagenta;
stickline(fff and not(f),b,h,0.01,0),color8e2258;
stickline(f and fff,c,o,5,1),colormagenta;
stickline(not(f) and fff,c,o,5,0),color8e2258;
stickline(fff and f,b,l,0.01,0),colorgreen;
stickline(fff and not(f),b,l,0.01,0),color666213;
gr1:=barslast(between("bias.bias2"(6,13,24),0,5));
gr2:=ema(x1,13)>ema(x1,21) and ema(x1,21)>ema(x1,34)
and ema(x1,13)>ref(ema(x1,13),1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
lc := ref(close,1);
rsi6:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
bias5:=(close-ma(close,13))/ma(close,13)*100;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),ema8,'∠45上升'),colorwhite;
drawtext(barpos=sysparam(2),high,'所属板块:'+blkname),align4,colorffffff;
a1:=barslast(ref(cross("macd.diff","macd.dea"),1));
b1:=ref(c,a1+1)>c and ref("macd.diff",a1+1)<"macd.diff" and cross("macd.diff","macd.dea");
drawtext(filter(b1>0,5),l-0.38,'macd底背'),colorgreen;
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d");
drawtext(filter(b2>0,5),l-0.39,'kdj底背'),coloryellow;
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(filter(b3>0,5),l,'rsi底背'),colorcyan;
c1:=barslast(ref(cross("macd.dea","macd.diff"),1));
d1:=ref(c,c1+1)<c and ref("macd.diff",c1+1)>"macd.diff" and cross("macd.dea","macd.diff");
drawtext(filter(d1>0,5),h+0.08,'macd顶背'),colorwhite;
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k");
drawtext(filter(d2>0,5),h+0.32,'kdj顶背'),colorwhite;
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(filter(d3>0,5),h+0.1,'rsi顶背'),colormagenta;
{缺 口1}
drawtext(l>ref(h,1),ref(h,1),'上缺'),colorwhite;
drawtext(h<ref(l,1),ref(l,1),'下缺'),colorblue;
{缺 口2}
koh:=low>ref(high,1);
kol:=high<ref(low,1);
hif:=low>ref(high,barslast(koh)+1);
nhif:=low<=ref(high,barslast(koh)+1);
lif:=high<ref(low,barslast(kol)+1);
nlif:=high>=ref(low,barslast(kol)+1);
drawicon(hif and barslast(koh)<barslast(nhif) and
barslast(hif)<barslast(nhif),ref(high,barslast(koh)+1),10),align0;
drawicon(lif and barslast(kol)<barslast(nlif) and
barslast(lif)<barslast(nlif),ref(low,barslast(kol)+1),11),align0;


缺口+背离(主图)

  >>>使用本站搜索工具可以找到更多缺口+背离主图公式 飞狐缺口主图指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文缺口+背离主图公式 飞狐缺口主图指标 源码仅供学习研究。

猜你喜欢

学了又学