好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式KD_MACD表格1101_年2简公式 飞狐KD指标 源码

KD_MACD表格1101_年2简公式 飞狐KD指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:KD_MACD表格1101_年2简公式 飞狐KD指标 源码

kd_macd表格11(01_年)2简

{图表反应的是kd,macd各周期指标线的数值及上下行和上下拐点.使用,只要移动您的光标,就能找到规律. }
{建议盘后看看.}
diff : ema(close,12) - ema(close,26);
dea: ema(diff,9),colorffff33;
macd : 2*(diff-dea), colorstick0;
{kd_表格}
{k数据引用}{↑↓∧∨}
k01:="kd.k#min1";
k05:="kd.k#min5";
k15:="kd.k#min15";
k30:="kd.k#min30";
k60:="kd.k#min60";
kr :="kd.k#day";
kz :="kd.k#week";
ky :="kd.k#month";
kn :="kd.k#year";
{12行d数据引用}
d01:="kd.d#min1";
d05:="kd.d#min5";
d15:="kd.d#min15";
d30:="kd.d#min30";
d60:="kd.d#min60";
dr :="kd.d#day";
dz :="kd.d#week";
dy :="kd.d#month";
dn :="kd.d#year";
{22行显示k↑↓用}
dja:=k01[sysparam(1)];dja1:=k01[(sysparam(1)- 1)];dj1:=if((dja>dja1),'↑','↓');
djb:=k05[sysparam(1)];djb1:=k05[(sysparam(1)- 1)];dj2:=if((djb>djb1),'↑','↓');
djc:=k15[sysparam(1)];djc1:=k15[(sysparam(1)- 1)];dj3:=if((djc>djc1),'↑','↓');
djd:=k30[sysparam(1)];djd1:=k30[(sysparam(1)- 1)];dj4:=if((djd>djd1),'↑','↓');
dje:=k60[sysparam(1)];dje1:=k60[(sysparam(1)- 1)];dj5:=if((dje>dje1),'↑','↓');
djf:=kr[sysparam(1)] ;djf1:=kr[(sysparam(1)- 1)] ;dj6:=if((djf>djf1),'↑','↓');
djg:=kz[sysparam(1)] ;djg1:=kz[(sysparam(1)- 1)] ;dj7:=if((djg>djg1),'↑','↓');
djh:=ky[sysparam(1)] ;djh1:=ky[(sysparam(1)- 1)] ;dj8:=if((djh>djh1),'↑','↓');
dji:=kn[sysparam(1)] ;dji1:=kn[(sysparam(1)- 1)] ;dj9:=if((dji>dji1),'↑','↓');
{32行显示d↑↓用}
dja2:=d01[sysparam(1)];djaa:=d01[(sysparam(1)- 1)];dj1a:=if((dja2>djaa),'↑','↓');
djb2:=d05[sysparam(1)];djbb:=d05[(sysparam(1)- 1)];dj2a:=if((djb2>djbb),'↑','↓');
djc2:=d15[sysparam(1)];djcc:=d15[(sysparam(1)- 1)];dj3a:=if((djc2>djcc),'↑','↓');
djd2:=d30[sysparam(1)];djdd:=d30[(sysparam(1)- 1)];dj4a:=if((djd2>djdd),'↑','↓');
dje2:=d60[sysparam(1)];djee:=d60[(sysparam(1)- 1)];dj5a:=if((dje2>djee),'↑','↓');
djf2:=dr[sysparam(1)] ;djff:=dr[(sysparam(1)- 1)] ;dj6a:=if((djf2>djff),'↑','↓');
djg2:=dz[sysparam(1)] ;djgg:=dz[(sysparam(1)- 1)] ;dj7a:=if((djg2>djgg),'↑','↓');
djh2:=dy[sysparam(1)] ;djhh:=dy[(sysparam(1)- 1)] ;dj8a:=if((djh2>djhh),'↑','↓');
dji2:=dn[sysparam(1)] ;djii:=dn[(sysparam(1)- 1)] ;dj9a:=if((dji2>djii),'↑','↓');
{42行k上拐数据引用}
k上拐01:="kd.k上拐#min1";
k上拐05:="kd.k上拐#min5";
k上拐15:="kd.k上拐#min15";
k上拐30:="kd.k上拐#min30";
k上拐60:="kd.k上拐#min60";
k上拐r :="kd.k上拐#day";
k上拐z :="kd.k上拐#week";
k上拐y :="kd.k上拐#month";
k上拐n :="kd.k上拐#year";
{52行k下拐数据引用}
k下拐01:="kd.k下拐#min1";
k下拐05:="kd.k下拐#min5";
k下拐15:="kd.k下拐#min15";
k下拐30:="kd.k下拐#min30";
k下拐60:="kd.k下拐#min60";
k下拐r :="kd.k下拐#day";
k下拐z :="kd.k下拐#week";
k下拐y :="kd.k下拐#month";
k下拐n :="kd.k下拐#year";
{62行k上行数据引用}
k上行01:="kd.k上行#min1";
k上行05:="kd.k上行#min5";
k上行15:="kd.k上行#min15";
k上行30:="kd.k上行#min30";
k上行60:="kd.k上行#min60";
k上行r :="kd.k上行#day";
k上行z :="kd.k上行#week";
k上行y :="kd.k上行#month";
k上行n :="kd.k上行#year";
{72行k下行数据引用}
k下行01:="kd.k下行#min1";
k下行05:="kd.k下行#min5";
k下行15:="kd.k下行#min15";
k下行30:="kd.k下行#min30";
k下行60:="kd.k下行#min60";
k下行r :="kd.k下行#day";
k下行z :="kd.k下行#week";
k下行y :="kd.k下行#month";
k下行n :="kd.k下行#year";
{82行d上拐数据引用}
d上拐01:="kd.d上拐#min1";
d上拐05:="kd.d上拐#min5";
d上拐15:="kd.d上拐#min15";
d上拐30:="kd.d上拐#min30";
d上拐60:="kd.d上拐#min60";
d上拐r :="kd.d上拐#day";
d上拐z :="kd.d上拐#week";
d上拐y :="kd.d上拐#month";
d上拐n :="kd.d上拐#year";
{92行d下拐数据引用}
d下拐01:="kd.d下拐#min1";
d下拐05:="kd.d下拐#min5";
d下拐15:="kd.d下拐#min15";
d下拐30:="kd.d下拐#min30";
d下拐60:="kd.d下拐#min60";
d下拐r :="kd.d下拐#day";
d下拐z :="kd.d下拐#week";
d下拐y :="kd.d下拐#month";
d下拐n :="kd.d下拐#year";
{102行d上行数据引用}
d上行01:="kd.d上行#min1";
d上行05:="kd.d上行#min5";
d上行15:="kd.d上行#min15";
d上行30:="kd.d上行#min30";
d上行60:="kd.d上行#min60";
d上行r :="kd.d上行#day";
d上行z :="kd.d上行#week";
d上行y :="kd.d上行#month";
d上行n :="kd.d上行#year";
{112行d下行数据引用}
d下行01:="kd.d下行#min1";
d下行05:="kd.d下行#min5";
d下行15:="kd.d下行#min15";
d下行30:="kd.d下行#min30";
d下行60:="kd.d下行#min60";
d下行r :="kd.d下行#day";
d下行z :="kd.d下行#week";
d下行y :="kd.d下行#month";
d下行n :="kd.d下行#year";
{122行}{表框部份}
p:=sysparam(1);
drawtextex(c,0,135,0,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,20 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,40 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,60 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,80 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,103,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,130,5,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,17 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,29 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,41 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,53 ,'│ │ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,65 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,77 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,89 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,97 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,10,' 周期: 1分 5分 15分 30分 60分 日 周 月 年'),colordedede;
drawtextex(c,0,130,30,' k:'),colordedede;
drawtextex(c,0,130,50,' d:'),colordedede;
drawtextex(c,0,130,70,' k拐行:'),colordedede;
drawtextex(c,0,130,90,' d拐行:'),colordedede;
{144行}
drawtextex(c,0,30,30,' '+numtostr(k01[p],2)+dj1),colorwhite;
drawtextex(c,0,30,30,' '+numtostr(k05[p],2)+dj2),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(k15[p],2)+dj3),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(k30[p],2)+dj4),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(k60[p],2)+dj5),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(kr[p],2)+dj6),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(kz[p],2)+dj7),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(ky[p],2)+dj8),coloryellow;
drawtextex(c,0,30,30,' '+numtostr(kn[p],2)+dj9),coloryellow;
{154行}
drawtextex(c,0,30,50,' '+numtostr(d01[p],2)+dj1a),colorwhite;
drawtextex(c,0,30,50,' '+numtostr(d05[p],2)+dj2a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(d15[p],2)+dj3a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(d30[p],2)+dj4a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(d60[p],2)+dj5a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(dr[p],2)+dj6a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(dz[p],2)+dj7a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(dy[p],2)+dj8a),coloryellow;
drawtextex(c,0,30,50,' '+numtostr(dn[p],2)+dj9a),coloryellow;
{164行显示k↑行}
drawtextex(c and k上行01[p],0,200,70,'↑'),colorgreen;
drawtextex(c and k上行01[p],0,200,72,'↑'),colorgreen;
drawtextex(c and k上行05[p],0,260,70,'↑'),colorgreen;
drawtextex(c and k上行05[p],0,260,72,'↑'),colorgreen;
drawtextex(c and k上行15[p],0,320,70,'↑'),colorgreen;
drawtextex(c and k上行15[p],0,320,72,'↑'),colorgreen;
drawtextex(c and k上行30[p],0,380,70,'↑'),colorgreen;
drawtextex(c and k上行30[p],0,380,72,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,440,70,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,440,72,'↑'),colorgreen;
drawtextex(c and k上行r[p],0,500,70,'↑'),colorgreen;
drawtextex(c and k上行r[p],0,500,72,'↑'),colorgreen;
drawtextex(c and k上行z[p],0,560,70,'↑'),colorgreen;
drawtextex(c and k上行z[p],0,560,72,'↑'),colorgreen;
drawtextex(c and k上行y[p],0,620,70,'↑'),colorgreen;
drawtextex(c and k上行y[p],0,620,72,'↑'),colorgreen;
drawtextex(c and k上行n[p],0,680,70,'↑'),colorgreen;
drawtextex(c and k上行n[p],0,680,72,'↑'),colorgreen;
{183行显示k↓行}
drawtextex(c and k下行01[p],0,210,70,'↓'),colorred;
drawtextex(c and k下行01[p],0,210,72,'↓'),colorred;
drawtextex(c and k下行05[p],0,270,70,'↓'),colorred;
drawtextex(c and k下行05[p],0,270,72,'↓'),colorred;
drawtextex(c and k下行15[p],0,330,70,'↓'),colorred;
drawtextex(c and k下行15[p],0,330,72,'↓'),colorred;
drawtextex(c and k下行30[p],0,390,70,'↓'),colorred;
drawtextex(c and k下行30[p],0,390,72,'↓'),colorred;
drawtextex(c and k下行60[p],0,450,70,'↓'),colorred;
drawtextex(c and k下行60[p],0,450,72,'↓'),colorred;
drawtextex(c and k下行r[p],0,510,70,'↓'),colorred;
drawtextex(c and k下行r[p],0,510,72,'↓'),colorred;
drawtextex(c and k下行z[p],0,570,70,'↓'),colorred;
drawtextex(c and k下行z[p],0,570,72,'↓'),colorred;
drawtextex(c and k下行y[p],0,630,70,'↓'),colorred;
drawtextex(c and k下行y[p],0,630,72,'↓'),colorred;
drawtextex(c and k下行n[p],0,690,70,'↓'),colorred;
drawtextex(c and k下行n[p],0,690,72,'↓'),colorred;
{202行显示k上拐∨}
drawtextex(c and k上拐01[p],0,225,70,'∨'),colorgreen;
drawtextex(c and k上拐01[p],0,225,72,'∨'),colorgreen;
drawtextex(c and k上拐05[p],0,285,70,'∨'),colorgreen;
drawtextex(c and k上拐05[p],0,285,72,'∨'),colorgreen;
drawtextex(c and k上拐15[p],0,345,70,'∨'),colorgreen;
drawtextex(c and k上拐15[p],0,345,72,'∨'),colorgreen;
drawtextex(c and k上拐30[p],0,405,70,'∨'),colorgreen;
drawtextex(c and k上拐30[p],0,405,72,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,465,70,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,465,72,'∨'),colorgreen;
drawtextex(c and k上拐r[p],0,525,70,'∨'),colorgreen;
drawtextex(c and k上拐r[p],0,525,72,'∨'),colorgreen;
drawtextex(c and k上拐z[p],0,585,70,'∨'),colorgreen;
drawtextex(c and k上拐z[p],0,585,72,'∨'),colorgreen;
drawtextex(c and k上拐y[p],0,645,70,'∨'),colorgreen;
drawtextex(c and k上拐y[p],0,645,72,'∨'),colorgreen;
drawtextex(c and k上拐n[p],0,705,70,'∨'),colorgreen;
drawtextex(c and k上拐n[p],0,705,72,'∨'),colorgreen;
{221行显示k下拐∧}
drawtextex(c and k下拐01[p],0,240,70,'∧'),colorred;
drawtextex(c and k下拐01[p],0,240,72,'∧'),colorred;
drawtextex(c and k下拐05[p],0,300,70,'∧'),colorred;
drawtextex(c and k下拐05[p],0,300,72,'∧'),colorred;
drawtextex(c and k下拐15[p],0,360,70,'∧'),colorred;
drawtextex(c and k下拐15[p],0,360,72,'∧'),colorred;
drawtextex(c and k下拐30[p],0,420,70,'∧'),colorred;
drawtextex(c and k下拐30[p],0,420,72,'∧'),colorred;
drawtextex(c and k下拐60[p],0,480,70,'∧'),colorred;
drawtextex(c and k下拐60[p],0,480,72,'∧'),colorred;
drawtextex(c and k下拐r[p],0,540,70,'∧'),colorred;
drawtextex(c and k下拐r[p],0,540,72,'∧'),colorred;
drawtextex(c and k下拐z[p],0,600,70,'∧'),colorred;
drawtextex(c and k下拐z[p],0,600,72,'∧'),colorred;
drawtextex(c and k下拐y[p],0,660,70,'∧'),colorred;
drawtextex(c and k下拐y[p],0,660,72,'∧'),colorred;
drawtextex(c and k下拐n[p],0,720,70,'∧'),colorred;
drawtextex(c and k下拐n[p],0,720,72,'∧'),colorred;

{240行显示d↑行}
drawtextex(c and d上行01[p],0,200,90,'↑'),colorgreen;
drawtextex(c and d上行01[p],0,200,92,'↑'),colorgreen;
drawtextex(c and d上行05[p],0,260,90,'↑'),colorgreen;
drawtextex(c and d上行05[p],0,260,92,'↑'),colorgreen;
drawtextex(c and d上行15[p],0,320,90,'↑'),colorgreen;
drawtextex(c and d上行15[p],0,320,92,'↑'),colorgreen;
drawtextex(c and d上行30[p],0,380,90,'↑'),colorgreen;
drawtextex(c and d上行30[p],0,380,92,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,440,90,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,440,92,'↑'),colorgreen;
drawtextex(c and d上行r[p],0,500,90,'↑'),colorgreen;
drawtextex(c and d上行r[p],0,500,92,'↑'),colorgreen;
drawtextex(c and d上行z[p],0,560,90,'↑'),colorgreen;
drawtextex(c and d上行z[p],0,560,92,'↑'),colorgreen;
drawtextex(c and d上行y[p],0,620,90,'↑'),colorgreen;
drawtextex(c and d上行y[p],0,620,92,'↑'),colorgreen;
drawtextex(c and d上行n[p],0,680,90,'↑'),colorgreen;
drawtextex(c and d上行n[p],0,680,92,'↑'),colorgreen;
{259行显示d↓行}
drawtextex(c and d下行01[p],0,210,90,'↓'),colorred;
drawtextex(c and d下行01[p],0,210,92,'↓'),colorred;
drawtextex(c and d下行05[p],0,270,90,'↓'),colorred;
drawtextex(c and d下行05[p],0,270,92,'↓'),colorred;
drawtextex(c and d下行15[p],0,330,90,'↓'),colorred;
drawtextex(c and d下行15[p],0,330,92,'↓'),colorred;
drawtextex(c and d下行30[p],0,390,90,'↓'),colorred;
drawtextex(c and d下行30[p],0,390,92,'↓'),colorred;
drawtextex(c and d下行60[p],0,450,90,'↓'),colorred;
drawtextex(c and d下行60[p],0,450,92,'↓'),colorred;
drawtextex(c and d下行r[p],0,510,90,'↓'),colorred;
drawtextex(c and d下行r[p],0,510,92,'↓'),colorred;
drawtextex(c and d下行z[p],0,570,90,'↓'),colorred;
drawtextex(c and d下行z[p],0,570,92,'↓'),colorred;
drawtextex(c and d下行y[p],0,630,90,'↓'),colorred;
drawtextex(c and d下行y[p],0,630,92,'↓'),colorred;
drawtextex(c and d下行n[p],0,690,90,'↓'),colorred;
drawtextex(c and d下行n[p],0,690,92,'↓'),colorred;
{278行显示d上拐∨}
drawtextex(c and d上拐01[p],0,225,90,'∨'),colorgreen;
drawtextex(c and d上拐01[p],0,225,92,'∨'),colorgreen;
drawtextex(c and d上拐05[p],0,285,90,'∨'),colorgreen;
drawtextex(c and d上拐05[p],0,285,92,'∨'),colorgreen;
drawtextex(c and d上拐15[p],0,345,90,'∨'),colorgreen;
drawtextex(c and d上拐15[p],0,345,92,'∨'),colorgreen;
drawtextex(c and d上拐30[p],0,405,90,'∨'),colorgreen;
drawtextex(c and d上拐30[p],0,405,92,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,465,90,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,465,92,'∨'),colorgreen;
drawtextex(c and d上拐r[p],0,525,90,'∨'),colorgreen;
drawtextex(c and d上拐r[p],0,525,92,'∨'),colorgreen;
drawtextex(c and d上拐z[p],0,585,90,'∨'),colorgreen;
drawtextex(c and d上拐z[p],0,585,92,'∨'),colorgreen;
drawtextex(c and d上拐y[p],0,645,90,'∨'),colorgreen;
drawtextex(c and d上拐y[p],0,645,92,'∨'),colorgreen;
drawtextex(c and d上拐n[p],0,705,90,'∨'),colorgreen;
drawtextex(c and d上拐n[p],0,705,92,'∨'),colorgreen;
{297行显示d下拐∧}
drawtextex(c and d下拐01[p],0,240,90,'∧'),colorred;
drawtextex(c and d下拐01[p],0,240,92,'∧'),colorred;
drawtextex(c and d下拐05[p],0,300,90,'∧'),colorred;
drawtextex(c and d下拐05[p],0,300,92,'∧'),colorred;
drawtextex(c and d下拐15[p],0,360,90,'∧'),colorred;
drawtextex(c and d下拐15[p],0,360,92,'∧'),colorred;
drawtextex(c and d下拐30[p],0,420,90,'∧'),colorred;
drawtextex(c and d下拐30[p],0,420,92,'∧'),colorred;
drawtextex(c and d下拐60[p],0,480,90,'∧'),colorred;
drawtextex(c and d下拐60[p],0,480,92,'∧'),colorred;
drawtextex(c and d下拐r[p],0,540,90,'∧'),colorred;
drawtextex(c and d下拐r[p],0,540,92,'∧'),colorred;
drawtextex(c and d下拐z[p],0,600,90,'∧'),colorred;
drawtextex(c and d下拐z[p],0,600,92,'∧'),colorred;
drawtextex(c and d下拐y[p],0,660,90,'∧'),colorred;
drawtextex(c and d下拐y[p],0,660,92,'∧'),colorred;
drawtextex(c and d下拐n[p],0,720,90,'∧'),colorred;
drawtextex(c and d下拐n[p],0,720,92,'∧'),colorred;
{------------------------------------------------------------------------------------------------------------------------------------------}
{macd表格}
{318行diff数据引用}{↑↓∧∨}
df01:="macd1.diff#min1";
df05:="macd1.diff#min5";
df15:="macd1.diff#min15";
df30:="macd1.diff#min30";
df60:="macd1.diff#min60";
dfr :="macd1.diff#day";
dfz :="macd1.diff#week";
dfy :="macd1.diff#month";
dfn :="macd1.diff#year";
{328行dea数据引用}
de01:="macd1.dea#min1";
de05:="macd1.dea#min5";
de15:="macd1.dea#min15";
de30:="macd1.dea#min30";
de60:="macd1.dea#min60";
der :="macd1.dea#day";
dez :="macd1.dea#week";
dey :="macd1.dea#month";
den :="macd1.dea#year";
{338行显示diff↑↓用}
djj:=df01[sysparam(1)];djj1:=df01[(sysparam(1)- 1)];dj11:=if((djj>djj1),'↑','↓');
djk:=df05[sysparam(1)];djk1:=df05[(sysparam(1)- 1)];dj12:=if((djk>djk1),'↑','↓');
djl:=df15[sysparam(1)];djl1:=df15[(sysparam(1)- 1)];dj13:=if((djl>djl1),'↑','↓');
djm:=df30[sysparam(1)];djm1:=df30[(sysparam(1)- 1)];dj14:=if((djm>djm1),'↑','↓');
djn:=df60[sysparam(1)];djn1:=df60[(sysparam(1)- 1)];dj15:=if((djn>djn1),'↑','↓');
djo:=dfr[sysparam(1)] ;djo1:=dfr[(sysparam(1)- 1)] ;dj16:=if((djo>djo1),'↑','↓');
djp:=dfz[sysparam(1)] ;djp1:=dfz[(sysparam(1)- 1)] ;dj17:=if((djp>djp1),'↑','↓');
djq:=dfy[sysparam(1)] ;djq1:=dfy[(sysparam(1)- 1)] ;dj18:=if((djq>djq1),'↑','↓');
djr:=dfn[sysparam(1)] ;djr1:=dfn[(sysparam(1)- 1)] ;dj19:=if((djr>djr1),'↑','↓');
{348行显示dea↑↓用}
dj1j:=de01[sysparam(1)];dj1j1:=de01[(sysparam(1)- 1)];dj11a:=if((dj1j>dj1j1),'↑','↓');
dj1k:=de05[sysparam(1)];dj1k1:=de05[(sysparam(1)- 1)];dj12a:=if((dj1k>dj1k1),'↑','↓');
dj1l:=de15[sysparam(1)];dj1l1:=de15[(sysparam(1)- 1)];dj13a:=if((dj1l>dj1l1),'↑','↓');
dj1m:=de30[sysparam(1)];dj1m1:=de30[(sysparam(1)- 1)];dj14a:=if((dj1m>dj1m1),'↑','↓');
dj1n:=de60[sysparam(1)];dj1n1:=de60[(sysparam(1)- 1)];dj15a:=if((dj1n>dj1n1),'↑','↓');
dj1o:=der[sysparam(1)] ;dj1o1:=der[(sysparam(1)- 1)] ;dj16a:=if((dj1o>dj1o1),'↑','↓');
dj1p:=dez[sysparam(1)] ;dj1p1:=dez[(sysparam(1)- 1)] ;dj17a:=if((dj1p>dj1p1),'↑','↓');
dj1q:=dey[sysparam(1)] ;dj1q1:=dey[(sysparam(1)- 1)] ;dj18a:=if((dj1q>dj1q1),'↑','↓');
dj1r:=den[sysparam(1)] ;dj1r1:=den[(sysparam(1)- 1)] ;dj19a:=if((dj1r>dj1r1),'↑','↓');
{358行diff上拐数据引用}
df上拐01:="macd1.df上拐#min1";
df上拐05:="macd1.df上拐#min5";
df上拐15:="macd1.df上拐#min15";
df上拐30:="macd1.df上拐#min30";
df上拐60:="macd1.df上拐#min60";
df上拐r :="macd1.df上拐#day";
df上拐z :="macd1.df上拐#week";
df上拐y :="macd1.df上拐#month";
df上拐n :="macd1.df上拐#year";
{368行diff下拐数据引用}
df下拐01:="macd1.df下拐#min1";
df下拐05:="macd1.df下拐#min5";
df下拐15:="macd1.df下拐#min15";
df下拐30:="macd1.df下拐#min30";
df下拐60:="macd1.df下拐#min60";
df下拐r :="macd1.df下拐#day";
df下拐z :="macd1.df下拐#week";
df下拐y :="macd1.df下拐#month";
df下拐n :="macd1.df下拐#year";
{378行diff上行数据引用}
df上行01:="macd1.df上行#min1";
df上行05:="macd1.df上行#min5";
df上行15:="macd1.df上行#min15";
df上行30:="macd1.df上行#min30";
df上行60:="macd1.df上行#min60";
df上行r :="macd1.df上行#day";
df上行z :="macd1.df上行#week";
df上行y :="macd1.df上行#month";
df上行n :="macd1.df上行#year";
{388行diff下行数据引用}
df下行01:="macd1.df下行#min1";
df下行05:="macd1.df下行#min5";
df下行15:="macd1.df下行#min15";
df下行30:="macd1.df下行#min30";
df下行60:="macd1.df下行#min60";
df下行r :="macd1.df下行#day";
df下行z :="macd1.df下行#week";
df下行y :="macd1.df下行#month";
df下行n :="macd1.df下行#year";
{398行dea上拐数据引用}
de上拐01:="macd1.de上拐#min1";
de上拐05:="macd1.de上拐#min5";
de上拐15:="macd1.de上拐#min15";
de上拐30:="macd1.de上拐#min30";
de上拐60:="macd1.de上拐#min60";
de上拐r :="macd1.de上拐#day";
de上拐z :="macd1.de上拐#week";
de上拐y :="macd1.de上拐#month";
de上拐n :="macd1.de上拐#year";
{408行dea下拐数据引用}
de下拐01:="macd1.de下拐#min1";
de下拐05:="macd1.de下拐#min5";
de下拐15:="macd1.de下拐#min15";
de下拐30:="macd1.de下拐#min30";
de下拐60:="macd1.de下拐#min60";
de下拐r :="macd1.de下拐#day";
de下拐z :="macd1.de下拐#week";
de下拐y :="macd1.de下拐#month";
de下拐n :="macd1.de下拐#year";
{418行dea上行数据引用}
de上行01:="macd1.de上行#min1";
de上行05:="macd1.de上行#min5";
de上行15:="macd1.de上行#min15";
de上行30:="macd1.de上行#min30";
de上行60:="macd1.de上行#min60";
de上行r :="macd1.de上行#day";
de上行z :="macd1.de上行#week";
de上行y :="macd1.de上行#month";
de上行n :="macd1.de上行#year";
{428行dea下行数据引用}
de下行01:="macd1.de下行#min1";
de下行05:="macd1.de下行#min5";
de下行15:="macd1.de下行#min15";
de下行30:="macd1.de下行#min30";
de下行60:="macd1.de下行#min60";
de下行r :="macd1.de下行#day";
de下行z :="macd1.de下行#week";
de下行y :="macd1.de下行#month";
de下行n :="macd1.de下行#year";
{438行}{表框部份}
p:=sysparam(1);
drawtextex(c,0,135,120 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,140 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,160 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,135,180 ,'──────────────────────────────────────────────────'),color00aaaa;
drawtextex(c,0,130,101 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,113 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,125 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,137 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,149 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,161 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,174 ,'│ │ │ │ │ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,110,' diff:'),colordedede;
drawtextex(c,0,130,130,' dea:'),colordedede;
drawtextex(c,0,130,150,'diff拐行:'),colordedede;
drawtextex(c,0,130,170,'dea拐行:'),colordedede;
{455行}
drawtextex(c,0,30,110,' '+numtostr(df01[p],2)+dj11),colorwhite;
drawtextex(c,0,30,110,' '+numtostr(df05[p],2)+dj12),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(df15[p],2)+dj13),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(df30[p],2)+dj14),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(df60[p],2)+dj15),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(dfr[p],2)+dj16),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(dfz[p],2)+dj17),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(dfy[p],2)+dj18),coloryellow;
drawtextex(c,0,30,110,' '+numtostr(dfn[p],2)+dj19),coloryellow;
{465行}
drawtextex(c,0,30,130,' '+numtostr(de01[p],2)+dj11a),colorwhite;
drawtextex(c,0,30,130,' '+numtostr(de05[p],2)+dj12a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(de15[p],2)+dj13a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(de30[p],2)+dj14a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(de60[p],2)+dj15a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(der[p],2)+dj16a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(dez[p],2)+dj17a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(dey[p],2)+dj18a),coloryellow;
drawtextex(c,0,30,130,' '+numtostr(den[p],2)+dj19a),coloryellow;

{475行显示diff↑行}
drawtextex(c and df上行01[p],0,200,150,'↑'),colorgreen;
drawtextex(c and df上行01[p],0,200,152,'↑'),colorgreen;
drawtextex(c and df上行05[p],0,260,150,'↑'),colorgreen;
drawtextex(c and df上行05[p],0,260,152,'↑'),colorgreen;
drawtextex(c and df上行15[p],0,320,150,'↑'),colorgreen;
drawtextex(c and df上行15[p],0,320,152,'↑'),colorgreen;
drawtextex(c and df上行30[p],0,380,150,'↑'),colorgreen;
drawtextex(c and df上行30[p],0,380,152,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,440,150,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,440,152,'↑'),colorgreen;
drawtextex(c and df上行r[p],0,500,150,'↑'),colorgreen;
drawtextex(c and df上行r[p],0,500,152,'↑'),colorgreen;
drawtextex(c and df上行z[p],0,560,150,'↑'),colorgreen;
drawtextex(c and df上行z[p],0,560,152,'↑'),colorgreen;
drawtextex(c and df上行y[p],0,620,150,'↑'),colorgreen;
drawtextex(c and df上行y[p],0,620,152,'↑'),colorgreen;
drawtextex(c and df上行n[p],0,680,150,'↑'),colorgreen;
drawtextex(c and df上行n[p],0,680,152,'↑'),colorgreen;
{494行显示diff↓行}
drawtextex(c and df下行01[p],0,210,150,'↓'),colorred;
drawtextex(c and df下行01[p],0,210,152,'↓'),colorred;
drawtextex(c and df下行05[p],0,270,150,'↓'),colorred;
drawtextex(c and df下行05[p],0,270,152,'↓'),colorred;
drawtextex(c and df下行15[p],0,330,150,'↓'),colorred;
drawtextex(c and df下行15[p],0,330,152,'↓'),colorred;
drawtextex(c and df下行30[p],0,390,150,'↓'),colorred;
drawtextex(c and df下行30[p],0,390,152,'↓'),colorred;
drawtextex(c and df下行60[p],0,450,150,'↓'),colorred;
drawtextex(c and df下行60[p],0,450,152,'↓'),colorred;
drawtextex(c and df下行r[p],0,510,150,'↓'),colorred;
drawtextex(c and df下行r[p],0,510,152,'↓'),colorred;
drawtextex(c and df下行z[p],0,570,150,'↓'),colorred;
drawtextex(c and df下行z[p],0,570,152,'↓'),colorred;
drawtextex(c and df下行y[p],0,630,150,'↓'),colorred;
drawtextex(c and df下行y[p],0,630,152,'↓'),colorred;
drawtextex(c and df下行n[p],0,690,150,'↓'),colorred;
drawtextex(c and df下行n[p],0,690,152,'↓'),colorred;
{513行显示diff上拐∨}
drawtextex(c and df上拐01[p],0,225,150,'∨'),colorgreen;
drawtextex(c and df上拐01[p],0,225,152,'∨'),colorgreen;
drawtextex(c and df上拐05[p],0,285,150,'∨'),colorgreen;
drawtextex(c and df上拐05[p],0,285,152,'∨'),colorgreen;
drawtextex(c and df上拐15[p],0,345,150,'∨'),colorgreen;
drawtextex(c and df上拐15[p],0,345,152,'∨'),colorgreen;
drawtextex(c and df上拐30[p],0,405,150,'∨'),colorgreen;
drawtextex(c and df上拐30[p],0,405,152,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,465,150,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,465,152,'∨'),colorgreen;
drawtextex(c and df上拐r[p],0,525,150,'∨'),colorgreen;
drawtextex(c and df上拐r[p],0,525,152,'∨'),colorgreen;
drawtextex(c and df上拐z[p],0,585,150,'∨'),colorgreen;
drawtextex(c and df上拐z[p],0,585,152,'∨'),colorgreen;
drawtextex(c and df上拐y[p],0,645,150,'∨'),colorgreen;
drawtextex(c and df上拐y[p],0,645,152,'∨'),colorgreen;
drawtextex(c and df上拐n[p],0,705,150,'∨'),colorgreen;
drawtextex(c and df上拐n[p],0,705,152,'∨'),colorgreen;
{532行显示diff下拐∧}
drawtextex(c and df下拐01[p],0,240,150,'∧'),colorred;
drawtextex(c and df下拐01[p],0,240,152,'∧'),colorred;
drawtextex(c and df下拐05[p],0,300,150,'∧'),colorred;
drawtextex(c and df下拐05[p],0,300,152,'∧'),colorred;
drawtextex(c and df下拐15[p],0,360,150,'∧'),colorred;
drawtextex(c and df下拐15[p],0,360,152,'∧'),colorred;
drawtextex(c and df下拐30[p],0,420,150,'∧'),colorred;
drawtextex(c and df下拐30[p],0,420,152,'∧'),colorred;
drawtextex(c and df下拐60[p],0,480,150,'∧'),colorred;
drawtextex(c and df下拐60[p],0,480,152,'∧'),colorred;
drawtextex(c and df下拐r[p],0,540,150,'∧'),colorred;
drawtextex(c and df下拐r[p],0,540,152,'∧'),colorred;
drawtextex(c and df下拐z[p],0,600,150,'∧'),colorred;
drawtextex(c and df下拐z[p],0,600,152,'∧'),colorred;
drawtextex(c and df下拐y[p],0,660,150,'∧'),colorred;
drawtextex(c and df下拐y[p],0,660,152,'∧'),colorred;
drawtextex(c and df下拐n[p],0,720,150,'∧'),colorred;
drawtextex(c and df下拐n[p],0,720,152,'∧'),colorred;
{551行显示dea↑行}
drawtextex(c and de上行01[p],0,200,170,'↑'),colorgreen;
drawtextex(c and de上行01[p],0,200,172,'↑'),colorgreen;
drawtextex(c and de上行05[p],0,260,170,'↑'),colorgreen;
drawtextex(c and de上行05[p],0,260,172,'↑'),colorgreen;
drawtextex(c and de上行15[p],0,320,170,'↑'),colorgreen;
drawtextex(c and de上行15[p],0,320,172,'↑'),colorgreen;
drawtextex(c and de上行30[p],0,380,170,'↑'),colorgreen;
drawtextex(c and de上行30[p],0,380,172,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,440,170,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,440,172,'↑'),colorgreen;
drawtextex(c and de上行r[p],0,500,170,'↑'),colorgreen;
drawtextex(c and de上行r[p],0,500,172,'↑'),colorgreen;
drawtextex(c and de上行z[p],0,560,170,'↑'),colorgreen;
drawtextex(c and de上行z[p],0,560,172,'↑'),colorgreen;
drawtextex(c and de上行y[p],0,620,170,'↑'),colorgreen;
drawtextex(c and de上行y[p],0,620,172,'↑'),colorgreen;
drawtextex(c and de上行n[p],0,680,170,'↑'),colorgreen;
drawtextex(c and de上行n[p],0,680,172,'↑'),colorgreen;
{570行显示dea↓行}
drawtextex(c and de下行01[p],0,210,170,'↓'),colorred;
drawtextex(c and de下行01[p],0,210,172,'↓'),colorred;
drawtextex(c and de下行05[p],0,270,170,'↓'),colorred;
drawtextex(c and de下行05[p],0,270,172,'↓'),colorred;
drawtextex(c and de下行15[p],0,330,170,'↓'),colorred;
drawtextex(c and de下行15[p],0,330,172,'↓'),colorred;
drawtextex(c and de下行30[p],0,390,170,'↓'),colorred;
drawtextex(c and de下行30[p],0,390,172,'↓'),colorred;
drawtextex(c and de下行60[p],0,450,170,'↓'),colorred;
drawtextex(c and de下行60[p],0,450,172,'↓'),colorred;
drawtextex(c and de下行r[p],0,510,170,'↓'),colorred;
drawtextex(c and de下行r[p],0,510,172,'↓'),colorred;
drawtextex(c and de下行z[p],0,570,170,'↓'),colorred;
drawtextex(c and de下行z[p],0,570,172,'↓'),colorred;
drawtextex(c and de下行y[p],0,630,170,'↓'),colorred;
drawtextex(c and de下行y[p],0,630,172,'↓'),colorred;
drawtextex(c and de下行n[p],0,690,170,'↓'),colorred;
drawtextex(c and de下行n[p],0,690,172,'↓'),colorred;
{589行显示dea上拐∨}
drawtextex(c and de上拐01[p],0,225,170,'∨'),colorgreen;
drawtextex(c and de上拐01[p],0,225,172,'∨'),colorgreen;
drawtextex(c and de上拐05[p],0,285,170,'∨'),colorgreen;
drawtextex(c and de上拐05[p],0,285,172,'∨'),colorgreen;
drawtextex(c and de上拐15[p],0,345,170,'∨'),colorgreen;
drawtextex(c and de上拐15[p],0,345,172,'∨'),colorgreen;
drawtextex(c and de上拐30[p],0,405,170,'∨'),colorgreen;
drawtextex(c and de上拐30[p],0,405,172,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,465,170,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,465,172,'∨'),colorgreen;
drawtextex(c and de上拐r[p],0,525,170,'∨'),colorgreen;
drawtextex(c and de上拐r[p],0,525,172,'∨'),colorgreen;
drawtextex(c and de上拐z[p],0,585,170,'∨'),colorgreen;
drawtextex(c and de上拐z[p],0,585,172,'∨'),colorgreen;
drawtextex(c and de上拐y[p],0,645,170,'∨'),colorgreen;
drawtextex(c and de上拐y[p],0,645,172,'∨'),colorgreen;
drawtextex(c and de上拐n[p],0,705,170,'∨'),colorgreen;
drawtextex(c and de上拐n[p],0,705,172,'∨'),colorgreen;
{608行显示dea下拐∧}
drawtextex(c and de下拐01[p],0,240,170,'∧'),colorred;
drawtextex(c and de下拐01[p],0,240,172,'∧'),colorred;
drawtextex(c and de下拐05[p],0,300,170,'∧'),colorred;
drawtextex(c and de下拐05[p],0,300,172,'∧'),colorred;
drawtextex(c and de下拐15[p],0,360,170,'∧'),colorred;
drawtextex(c and de下拐15[p],0,360,172,'∧'),colorred;
drawtextex(c and de下拐30[p],0,420,170,'∧'),colorred;
drawtextex(c and de下拐30[p],0,420,172,'∧'),colorred;
drawtextex(c and de下拐60[p],0,480,170,'∧'),colorred;
drawtextex(c and de下拐60[p],0,480,172,'∧'),colorred;
drawtextex(c and de下拐r[p],0,540,170,'∧'),colorred;
drawtextex(c and de下拐r[p],0,540,172,'∧'),colorred;
drawtextex(c and de下拐z[p],0,600,170,'∧'),colorred;
drawtextex(c and de下拐z[p],0,600,172,'∧'),colorred;
drawtextex(c and de下拐y[p],0,660,170,'∧'),colorred;
drawtextex(c and de下拐y[p],0,660,172,'∧'),colorred;
drawtextex(c and de下拐n[p],0,720,170,'∧'),colorred;
drawtextex(c and de下拐n[p],0,720,172,'∧'),colorred;
{627行}{通过图表找出重点关注时间周期区间}
{}


kd_macd表格11(01_年)2简

  >>>使用本站搜索工具可以找到更多KD_MACD表格1101_年2简公式 飞狐KD指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文KD_MACD表格1101_年2简公式 飞狐KD指标 源码仅供学习研究。

猜你喜欢

学了又学