好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式KD_MACD表格1430_周3简短中线公式 飞狐KD指标 源码

KD_MACD表格1430_周3简短中线公式 飞狐KD指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:KD_MACD表格1430_周3简短中线公式 飞狐KD指标 源码

kd_macd表格14(30_周)3简短中线

{图表反应的是kd,macd各周期指标线的数值及上下行和上下拐点.使用,只要移动您的光标,就能找到规律. }
{kd_表格}
{k数据引用}
k30:="kd.k#min30";
k60:="kd.k#min60";
kr :="kd.k#day";
kz :="kd.k#week";
{7行d数据引用}
d30:="kd.d#min30";
d60:="kd.d#min60";
dr :="kd.d#day";
dz :="kd.d#week";
{12行显示k↑↓用}
djc:=k30[sysparam(1)];djc1:=k30[(sysparam(1)- 1)];dj1:=if((djc>djc1),'↑','↓');
djd:=k60[sysparam(1)];djd1:=k60[(sysparam(1)- 1)];dj2:=if((djd>djd1),'↑','↓');
dje:=kr[sysparam(1)] ;dje1:=kr[(sysparam(1)- 1)] ;dj3:=if((dje>dje1),'↑','↓');
djf:=kz[sysparam(1)] ;djf1:=kz[(sysparam(1)- 1)] ;dj4:=if((djf>djf1),'↑','↓');
{17行显示d↑↓用}
djc2:=d30[sysparam(1)];djcc:=d30[(sysparam(1)- 1)];dj1a:=if((djc2>djcc),'↑','↓');
djd2:=d60[sysparam(1)];djdd:=d60[(sysparam(1)- 1)];dj2a:=if((djd2>djdd),'↑','↓');
dje2:=dr[sysparam(1)] ;djee:=dr[(sysparam(1)- 1)] ;dj3a:=if((dje2>djee),'↑','↓');
djf2:=dz[sysparam(1)] ;djff:=dz[(sysparam(1)- 1)] ;dj4a:=if((djf2>djff),'↑','↓');
{22行k上拐数据引用}
k上拐30:="kd.k上拐#min30";
k上拐60:="kd.k上拐#min60";
k上拐r :="kd.k上拐#day";
k上拐z :="kd.k上拐#week";
{27行k下拐数据引用}
k下拐30:="kd.k下拐#min30";
k下拐60:="kd.k下拐#min60";
k下拐r :="kd.k下拐#day";
k下拐z :="kd.k下拐#week";
{32行k上行数据引用}
k上行30:="kd.k上行#min30";
k上行60:="kd.k上行#min60";
k上行r :="kd.k上行#day";
k上行z :="kd.k上行#week";
{37行k下行数据引用}
k下行30:="kd.k下行#min30";
k下行60:="kd.k下行#min60";
k下行r :="kd.k下行#day";
k下行z :="kd.k下行#week";
{42行d上拐数据引用}
d上拐30:="kd.d上拐#min30";
d上拐60:="kd.d上拐#min60";
d上拐r :="kd.d上拐#day";
d上拐z :="kd.d上拐#week";
{47行d下拐数据引用}
d下拐30:="kd.d下拐#min30";
d下拐60:="kd.d下拐#min60";
d下拐r :="kd.d下拐#day";
d下拐z :="kd.d下拐#week";
{52行d上行数据引用}
d上行30:="kd.d上行#min30";
d上行60:="kd.d上行#min60";
d上行r :="kd.d上行#day";
d上行z :="kd.d上行#week";
{57行d下行数据引用}
d下行30:="kd.d下行#min30";
d下行60:="kd.d下行#min60";
d下行r :="kd.d下行#day";
d下行z :="kd.d下行#week";
{62行}{表框部份}
p:=sysparam(1);
drawtextex(c,0,225,0,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,20 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,40 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,60 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,80 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,103,'─────────────────────────'),color00aaaa;
drawtextex(c,0,220,5,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,17 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,29 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,41 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,53 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,65 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,77 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,89 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,97 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,10,' 周期: 30分 60分 日 周'),colordedede;
drawtextex(c,0,220,30,' k:'),colordedede;
drawtextex(c,0,220,50,' d:'),colordedede;
drawtextex(c,0,220,70,' k拐:'),colordedede;
drawtextex(c,0,220,90,' d拐:'),colordedede;
{84行}
drawtextex(c,0,120,30,' '+numtostr(k30[p],2)+dj1),colorwhite;
drawtextex(c,0,120,30,' '+numtostr(k60[p],2)+dj2),coloryellow;
drawtextex(c,0,120,30,' '+numtostr(kr[p],2)+dj3),coloryellow;
drawtextex(c,0,120,30,' '+numtostr(kz[p],2)+dj4),coloryellow;
{89行}
drawtextex(c,0,120,50,' '+numtostr(d30[p],2)+dj1a),colorwhite;
drawtextex(c,0,120,50,' '+numtostr(d60[p],2)+dj2a),coloryellow;
drawtextex(c,0,120,50,' '+numtostr(dr[p],2)+dj3a),coloryellow;
drawtextex(c,0,120,50,' '+numtostr(dz[p],2)+dj4a),coloryellow;
{94行显示k↑行}
drawtextex(c and k上行30[p],0,290,70,'↑'),colorgreen;
drawtextex(c and k上行30[p],0,290,72,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,350,70,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,350,72,'↑'),colorgreen;
drawtextex(c and k上行r[p],0,410,70,'↑'),colorgreen;
drawtextex(c and k上行r[p],0,410,72,'↑'),colorgreen;
drawtextex(c and k上行z[p],0,470,70,'↑'),colorgreen;
drawtextex(c and k上行z[p],0,470,72,'↑'),colorgreen;
{103行显示k↓行}
drawtextex(c and k下行30[p],0,300,70,'↓'),colorred;
drawtextex(c and k下行30[p],0,300,72,'↓'),colorred;
drawtextex(c and k下行60[p],0,360,70,'↓'),colorred;
drawtextex(c and k下行60[p],0,360,72,'↓'),colorred;
drawtextex(c and k下行r[p],0,420,70,'↓'),colorred;
drawtextex(c and k下行r[p],0,420,72,'↓'),colorred;
drawtextex(c and k下行z[p],0,480,70,'↓'),colorred;
drawtextex(c and k下行z[p],0,480,72,'↓'),colorred;
{112行显示k上拐∨}
drawtextex(c and k上拐30[p],0,315,70,'∨'),colorgreen;
drawtextex(c and k上拐30[p],0,315,72,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,375,70,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,375,72,'∨'),colorgreen;
drawtextex(c and k上拐r[p],0,435,70,'∨'),colorgreen;
drawtextex(c and k上拐r[p],0,435,72,'∨'),colorgreen;
drawtextex(c and k上拐z[p],0,495,70,'∨'),colorgreen;
drawtextex(c and k上拐z[p],0,495,72,'∨'),colorgreen;
{121行显示k下拐∧}
drawtextex(c and k下拐30[p],0,330,70,'∧'),colorred;
drawtextex(c and k下拐30[p],0,330,72,'∧'),colorred;
drawtextex(c and k下拐60[p],0,390,70,'∧'),colorred;
drawtextex(c and k下拐60[p],0,390,72,'∧'),colorred;
drawtextex(c and k下拐r[p],0,450,70,'∧'),colorred;
drawtextex(c and k下拐r[p],0,450,72,'∧'),colorred;
drawtextex(c and k下拐z[p],0,510,70,'∧'),colorred;
drawtextex(c and k下拐z[p],0,510,72,'∧'),colorred;
{130行显示d↑行}
drawtextex(c and d上行30[p],0,290,90,'↑'),colorgreen;
drawtextex(c and d上行30[p],0,290,92,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,350,90,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,350,92,'↑'),colorgreen;
drawtextex(c and d上行r[p],0,410,90,'↑'),colorgreen;
drawtextex(c and d上行r[p],0,410,92,'↑'),colorgreen;
drawtextex(c and d上行z[p],0,470,90,'↑'),colorgreen;
drawtextex(c and d上行z[p],0,470,92,'↑'),colorgreen;
{139行显示d↓行}
drawtextex(c and d下行30[p],0,300,90,'↓'),colorred;
drawtextex(c and d下行30[p],0,300,92,'↓'),colorred;
drawtextex(c and d下行60[p],0,360,90,'↓'),colorred;
drawtextex(c and d下行60[p],0,360,92,'↓'),colorred;
drawtextex(c and d下行r[p],0,420,90,'↓'),colorred;
drawtextex(c and d下行r[p],0,420,92,'↓'),colorred;
drawtextex(c and d下行z[p],0,480,90,'↓'),colorred;
drawtextex(c and d下行z[p],0,480,92,'↓'),colorred;
{148行显示d上拐∨}
drawtextex(c and d上拐30[p],0,315,90,'∨'),colorgreen;
drawtextex(c and d上拐30[p],0,315,92,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,375,90,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,375,92,'∨'),colorgreen;
drawtextex(c and d上拐r[p],0,435,90,'∨'),colorgreen;
drawtextex(c and d上拐r[p],0,435,92,'∨'),colorgreen;
drawtextex(c and d上拐z[p],0,495,90,'∨'),colorgreen;
drawtextex(c and d上拐z[p],0,495,92,'∨'),colorgreen;
{157行显示d下拐∧}
drawtextex(c and d下拐30[p],0,330,90,'∧'),colorred;
drawtextex(c and d下拐30[p],0,330,92,'∧'),colorred;
drawtextex(c and d下拐60[p],0,390,90,'∧'),colorred;
drawtextex(c and d下拐60[p],0,390,92,'∧'),colorred;
drawtextex(c and d下拐r[p],0,450,90,'∧'),colorred;
drawtextex(c and d下拐r[p],0,450,92,'∧'),colorred;
drawtextex(c and d下拐z[p],0,510,90,'∧'),colorred;
drawtextex(c and d下拐z[p],0,510,92,'∧'),colorred;
{------------------------------------------------------------------------------------------------------------------------------------------}
{macd表格}
{168行diff数据引用}
df30:="macd1.diff#min30";
df60:="macd1.diff#min60";
dfr :="macd1.diff#day";
dfz :="macd1.diff#week";
{173行dea数据引用}
de30:="macd1.dea#min30";
de60:="macd1.dea#min60";
der :="macd1.dea#day";
dez :="macd1.dea#week";
{178行显示diff↑↓用}
djl:=df30[sysparam(1)];djl1:=df30[(sysparam(1)- 1)];dj11:=if((djl>djl1),'↑','↓');
djm:=df60[sysparam(1)];djm1:=df60[(sysparam(1)- 1)];dj12:=if((djm>djm1),'↑','↓');
djn:=dfr[sysparam(1)] ;djn1:=dfr[(sysparam(1)- 1)] ;dj13:=if((djn>djn1),'↑','↓');
djo:=dfz[sysparam(1)] ;djo1:=dfz[(sysparam(1)- 1)] ;dj14:=if((djo>djo1),'↑','↓');
{183行显示dea↑↓用}
dj1l:=de30[sysparam(1)];dj1l1:=de30[(sysparam(1)- 1)];dj11a:=if((dj1l>dj1l1),'↑','↓');
dj1m:=de60[sysparam(1)];dj1m1:=de60[(sysparam(1)- 1)];dj12a:=if((dj1m>dj1m1),'↑','↓');
dj1n:=der[sysparam(1)] ;dj1n1:=der[(sysparam(1)- 1)] ;dj13a:=if((dj1n>dj1n1),'↑','↓');
dj1o:=dez[sysparam(1)] ;dj1o1:=dez[(sysparam(1)- 1)] ;dj14a:=if((dj1o>dj1o1),'↑','↓');
{188行diff上拐数据引用}
df上拐30:="macd1.df上拐#min30";
df上拐60:="macd1.df上拐#min60";
df上拐r :="macd1.df上拐#day";
df上拐z :="macd1.df上拐#week";
{193行diff下拐数据引用}
df下拐30:="macd1.df下拐#min30";
df下拐60:="macd1.df下拐#min60";
df下拐r :="macd1.df下拐#day";
df下拐z :="macd1.df下拐#week";
{198行diff上行数据引用}
df上行30:="macd1.df上行#min30";
df上行60:="macd1.df上行#min60";
df上行r :="macd1.df上行#day";
df上行z :="macd1.df上行#week";
{203行diff下行数据引用}
df下行30:="macd1.df下行#min30";
df下行60:="macd1.df下行#min60";
df下行r :="macd1.df下行#day";
df下行z :="macd1.df下行#week";
{208行dea上拐数据引用}
de上拐30:="macd1.de上拐#min30";
de上拐60:="macd1.de上拐#min60";
de上拐r :="macd1.de上拐#day";
de上拐z :="macd1.de上拐#week";
{213行dea下拐数据引用}
de下拐30:="macd1.de下拐#min30";
de下拐60:="macd1.de下拐#min60";
de下拐r :="macd1.de下拐#day";
de下拐z :="macd1.de下拐#week";
{218行dea上行数据引用}
de上行30:="macd1.de上行#min30";
de上行60:="macd1.de上行#min60";
de上行r :="macd1.de上行#day";
de上行z :="macd1.de上行#week";
{223行dea下行数据引用}
de下行30:="macd1.de下行#min30";
de下行60:="macd1.de下行#min60";
de下行r :="macd1.de下行#day";
de下行z :="macd1.de下行#week";
{228行}{表框部份}
p:=sysparam(1);
drawtextex(c,0,225,120 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,140 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,160 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,225,180 ,'─────────────────────────'),color00aaaa;
drawtextex(c,0,220,101 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,113 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,125 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,137 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,149 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,161 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,174 ,'│ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,220,110,' diff:'),colordedede;
drawtextex(c,0,220,130,' dea:'),colordedede;
drawtextex(c,0,220,150,' diff拐:'),colordedede;
drawtextex(c,0,220,170,' dea拐:'),colordedede;


{245行}
drawtextex(c,0,120,110,' '+numtostr(df30[p],2)+dj11),colorwhite;
drawtextex(c,0,120,110,' '+numtostr(df60[p],2)+dj12),coloryellow;
drawtextex(c,0,120,110,' '+numtostr(dfr[p],2)+dj13),coloryellow;
drawtextex(c,0,120,110,' '+numtostr(dfz[p],2)+dj14),coloryellow;
{250行}
drawtextex(c,0,120,130,' '+numtostr(de30[p],2)+dj11a),colorwhite;
drawtextex(c,0,120,130,' '+numtostr(de60[p],2)+dj12a),coloryellow;
drawtextex(c,0,120,130,' '+numtostr(der[p],2)+dj13a),coloryellow;
drawtextex(c,0,120,130,' '+numtostr(dez[p],2)+dj14a),coloryellow;
{255行显示diff↑行}
drawtextex(c and df上行30[p],0,290,150,'↑'),colorgreen;
drawtextex(c and df上行30[p],0,290,152,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,350,150,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,350,152,'↑'),colorgreen;
drawtextex(c and df上行r[p],0,410,150,'↑'),colorgreen;
drawtextex(c and df上行r[p],0,410,152,'↑'),colorgreen;
drawtextex(c and df上行z[p],0,470,150,'↑'),colorgreen;
drawtextex(c and df上行z[p],0,470,152,'↑'),colorgreen;
{264行显示diff↓行}
drawtextex(c and df下行30[p],0,300,150,'↓'),colorred;
drawtextex(c and df下行30[p],0,300,152,'↓'),colorred;
drawtextex(c and df下行60[p],0,360,150,'↓'),colorred;
drawtextex(c and df下行60[p],0,360,152,'↓'),colorred;
drawtextex(c and df下行r[p],0,420,150,'↓'),colorred;
drawtextex(c and df下行r[p],0,420,152,'↓'),colorred;
drawtextex(c and df下行z[p],0,480,150,'↓'),colorred;
drawtextex(c and df下行z[p],0,480,152,'↓'),colorred;
{273行显示diff上拐∨}
drawtextex(c and df上拐30[p],0,315,150,'∨'),colorgreen;
drawtextex(c and df上拐30[p],0,315,152,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,375,150,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,375,152,'∨'),colorgreen;
drawtextex(c and df上拐r[p],0,435,150,'∨'),colorgreen;
drawtextex(c and df上拐r[p],0,435,152,'∨'),colorgreen;
drawtextex(c and df上拐z[p],0,495,150,'∨'),colorgreen;
drawtextex(c and df上拐z[p],0,495,152,'∨'),colorgreen;
{282行显示diff下拐∧}
drawtextex(c and df下拐30[p],0,330,150,'∧'),colorred;
drawtextex(c and df下拐30[p],0,330,152,'∧'),colorred;
drawtextex(c and df下拐60[p],0,390,150,'∧'),colorred;
drawtextex(c and df下拐60[p],0,390,152,'∧'),colorred;
drawtextex(c and df下拐r[p],0,450,150,'∧'),colorred;
drawtextex(c and df下拐r[p],0,450,152,'∧'),colorred;
drawtextex(c and df下拐z[p],0,510,150,'∧'),colorred;
drawtextex(c and df下拐z[p],0,510,152,'∧'),colorred;
{291行显示dea↑行}
drawtextex(c and de上行30[p],0,290,170,'↑'),colorgreen;
drawtextex(c and de上行30[p],0,290,172,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,350,170,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,350,172,'↑'),colorgreen;
drawtextex(c and de上行r[p],0,410,170,'↑'),colorgreen;
drawtextex(c and de上行r[p],0,410,172,'↑'),colorgreen;
drawtextex(c and de上行z[p],0,470,170,'↑'),colorgreen;
drawtextex(c and de上行z[p],0,470,172,'↑'),colorgreen;
{300行显示diff↓行}
drawtextex(c and de下行30[p],0,300,170,'↓'),colorred;
drawtextex(c and de下行30[p],0,300,172,'↓'),colorred;
drawtextex(c and de下行60[p],0,360,170,'↓'),colorred;
drawtextex(c and de下行60[p],0,360,172,'↓'),colorred;
drawtextex(c and de下行r[p],0,420,170,'↓'),colorred;
drawtextex(c and de下行r[p],0,420,172,'↓'),colorred;
drawtextex(c and de下行z[p],0,480,170,'↓'),colorred;
drawtextex(c and de下行z[p],0,480,172,'↓'),colorred;
{309行显示dea上拐∨}
drawtextex(c and de上拐30[p],0,315,170,'∨'),colorgreen;
drawtextex(c and de上拐30[p],0,315,172,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,375,170,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,375,172,'∨'),colorgreen;
drawtextex(c and de上拐r[p],0,435,170,'∨'),colorgreen;
drawtextex(c and de上拐r[p],0,435,172,'∨'),colorgreen;
drawtextex(c and de上拐z[p],0,495,170,'∨'),colorgreen;
drawtextex(c and de上拐z[p],0,495,172,'∨'),colorgreen;
{318行显示dea下拐∧}
drawtextex(c and de下拐30[p],0,330,170,'∨'),colorred;
drawtextex(c and de下拐30[p],0,330,172,'∧'),colorred;
drawtextex(c and de下拐60[p],0,390,170,'∧'),colorred;
drawtextex(c and de下拐60[p],0,390,172,'∧'),colorred;
drawtextex(c and de下拐r[p],0,450,170,'∧'),colorred;
drawtextex(c and de下拐r[p],0,450,172,'∧'),colorred;
drawtextex(c and de下拐z[p],0,510,170,'∨'),colorred;
drawtextex(c and de下拐z[p],0,510,172,'∧'),colorred;
{327行}{通过图表找出重点关注时间周期区间}
{}


kd_macd表格14(30_周)3简短中线

  >>>使用本站搜索工具可以找到更多KD_MACD表格1430_周3简短中线公式 飞狐KD指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文KD_MACD表格1430_周3简短中线公式 飞狐KD指标 源码仅供学习研究。

猜你喜欢

学了又学