好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式MACD+KDJ综合-公式 飞狐综合MACD指标 源码

MACD+KDJ综合-公式 飞狐综合MACD指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:MACD+KDJ综合-公式 飞狐综合MACD指标 源码

difz:=ema(c,12)-ema(c,26);
deaz:=ema(difz,9);
macdz:=8*(difz-deaz);
rsv:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*247.2-123.6;
sqx:=(c-ma(close,13))*10;
dif:=ema(ma(sqx,7),1);
dea:=ema(dif,7);
macd:=(dif-dea)*2;
stickline(macd>0andmacd>ref(macd,1),macd,0,0.1,0),colorred;
stickline(macd>0andmacd<ref(macd,1),macd,0,0.1,0),colorwhite;
stickline(macd<0andmacd<ref(macd,1),macd,0,0.1,0),colorblue;
stickline(macd<0andmacd>ref(macd,1),macd,0,0.1,0),colorbrown;
k:sma(sma( rsv,3,1),3,1),colorwhite;
d:ma(ema(k,3),3),coloryellow;
j:3*k-2*d,colormagenta;
a11:=barslast(ref(cross(dif,dea),1));
b1:=ref(c,a11+1)>c and ref(dif,a11+1)<dif and cross(dif,dea);
a12:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a12+1)>c and ref("kdj.k",a12+1)<"kdj.k" and cross("kdj.k","kdj.d");
a13:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a13+1)>c and ref("rsi.rsi1",a13+1)<"rsi.rsi1"and cross("rsi.rsi1","rsi.rsi2");
c1:=barslast(ref(cross(dea,dif),1));
d1:=ref(c,c1+1)<c and ref(dif,c1+1)>dif and cross(dea,dif);
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");
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");
macd底背:if(b1>0,50,0),linethick2,colorred;
drawtext(b1>0,50,'m底背'),colorred;
kdj底背:if(b2>0,65,0),linethick2,colorff00ff;
drawtext(b2>0,65,'k底背'),colorff00ff;
rsi底背:if(b3>0,80,0),linethick2,coloryellow;
drawtext(b3>0,80,'r底背'),coloryellow;
macd顶背:if(d1>0,-50,0),linethick2,color00ff00;
drawtext(d1>0,-50,'m顶背'),color00ff00;
kdj顶背:if(d2>0,-65,0),linethick2,colorffcc66;
drawtext(d2>0,-65,'k顶背'),colorffcc66;
rsi顶背:if(d3>0,-80,0),linethick2,colorwhite;
drawtext(d3>0,-80,'r顶背'),colorwhite;
drawicon((cross(k,d)
and k<0 ),ref(k,1),11);
drawicon((cross(d,k) and k>0
),d*1.05,12);
drawicon(j<(ref(j,1))and k>(ref(k,1)) and d>(ref(d,1)
and j>0),ref(j,1),2);
drawicon(j>ref(j,1) and k<ref(k,1) and
d<ref(d,1) and j<0,ref(j,1),1);
drawicon(macd<ref(macd,1) and
ref(macd,1)>ref(macd,2) and
macd>0,macd,2);
drawicon(macd>ref(macd,1) and
ref(macd,1)<ref(macd,2) and macd<=0,macd,1);
多方趋势:((7)*(sma(((close-llv (low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1))-(3)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1))-sma(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1),2,1)),color0000ff;
空方趋势:(ema(ma(多方趋势,5),7)),colorf0f000;
stickline((多方趋势>78) and (多方趋势>=空方趋势),78,多方趋势,5,1),color00ff00;
stickline((空方趋势<=多方趋势),空方趋势,多方趋势,3,0),color0000ff;
stickline((空方趋势>多方趋势),多方趋势,空方趋势,3,0),colorf0f000;
stickline((空方趋势<14) and (空方趋势>多方趋势),多方趋势,20,3,0),color00ffff;
tj:=filter((空方趋势<14) and (空方趋势>多方趋势),6);
drawtext(tj,40,'低吸'),colorffffff;
斋主:(空方趋势<12) and (空方趋势<=多方趋势),color00ffff;
选金股:cross(多方趋势,空方趋势) and (空方趋势<22);
{e:=cross(83,rsi);
stickline( e,75,85,4,0),color00ff00;
drawtext(e,72,' 逃顶');}
lc:=ref(close,1);
rsi5:=((sma(max((close - lc),0),5,1) / sma(abs((close - lc)),5,1)) * 100);
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10);
pdi:=((dmp * 100) / tr1);
mdi:=((dmm * 100) / tr1);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5);
av:=(rsi5 + adx);
dxr:=(((adx + ref(adx,5)) / 2) + rsi5);
wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10)));
newvol:=(rsi5 - wr10);
最佳买入:=(av + newvol);
最佳买入选股:if(cross(最佳买入,0),61,0),stick,colorred,linethick4;
drawtext(cross(最佳买入,0),62,'最佳买入'),color00ffff;
aa:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
bb:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
cc:=ema(aa,2);
dd:=ema(bb,5);
tj0:=cross(cc,dd);
上:=ema(c,3);
中:=ema(c,5);
下:=ema(中,5);
tj1:=cross(上,中);
tj2:=上>ref(上,1);
x1:=(c+l+h)/3;
bb5:=atan(ema(x1,5)-ref(ema(x1,5),1))*3.1416*10;
ema3:=ema(c,3);
tj3:=bb5>1 and ema(x1,5)>ref(ema(x1,3),1);
stickline(tj1 and tj2and tj0 and tj3,0,20,4,0)color009999;
stickline(tj1 and tj2and tj0 and tj3,0,35,3,0)color00bbbb;
stickline(tj1 and tj2and tj0 and tj3,0,45,1.5,0)color00dddd;
stickline(tj1 and tj2and tj0 and tj3,0,50,0.6,0)color00ffff;
drawtext(tj1 and tj2and tj0 and tj3,48,'斋主全仓'),colorred;
{斋主全仓:if(cross('斋主全仓',0),0.9,0),stick,colorred;}
drawtext(cross(多方趋势,空方趋势) and (空方趋势<22),30,'金股'),color00ffff;
中间线:50,colorffffff,pointdot;
var11:=(close+high+low)/3;
var2a1:=ema(var11,10);
var3a:=ref(var2a1,1);
绿珠逃:if(var2a1,0.1,0),colorgreen,linethick9;
红珠买: if(var2a1>var3a,0.1,0),colorred,linethick9;
黄珠卖: if(var2a1<var3a,0.1,0),color00ffff,linethick9;


macd+kdj综合-(源码)

  >>>使用本站搜索工具可以找到更多MACD+KDJ综合-公式 飞狐综合MACD指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文MACD+KDJ综合-公式 飞狐综合MACD指标 源码仅供学习研究。

猜你喜欢

学了又学