指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:KDJ_MACD表格2001_603短线公式 飞狐KDJ指标 源码
kdj_macd表格20(01_60)3短线
{建议盘后看看.}
diff : ema(close,12) - ema(close,26);
dea: ema(diff,9),colorffff33;
macd : 2*(diff-dea), colorstick0;
{kdj表格}
{5行k数据引用}{↑↓∧∨}
k01:="kd.k#min1";
k05:="kd.k#min5";
k15:="kd.k#min15";
k30:="kd.k#min30";
k60:="kd.k#min60";
{11行d数据引用}
d01:="kd.d#min1";
d05:="kd.d#min5";
d15:="kd.d#min15";
d30:="kd.d#min30";
d60:="kd.d#min60";
{17行j数据引用}
j01:="kd.j#min1";
j05:="kd.j#min5";
j15:="kd.j#min15";
j30:="kd.j#min30";
j60:="kd.j#min60";
{23行显示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),'↑','↓');
{29行显示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),'↑','↓');
{35行显示j↑↓用}
dja3:=j01[sysparam(1)];djaa3:=j01[(sysparam(1)- 1)];dj1a3:=if((dja3>djaa3),'↑','↓');
djb3:=j05[sysparam(1)];djbb3:=j05[(sysparam(1)- 1)];dj2a3:=if((djb3>djbb3),'↑','↓');
djc3:=j15[sysparam(1)];djcc3:=j15[(sysparam(1)- 1)];dj3a3:=if((djc3>djcc3),'↑','↓');
djd3:=j30[sysparam(1)];djdd3:=j30[(sysparam(1)- 1)];dj4a3:=if((djd3>djdd3),'↑','↓');
dje3:=j60[sysparam(1)];djee3:=j60[(sysparam(1)- 1)];dj5a3:=if((dje3>djee3),'↑','↓');
{41行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";
{47行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";
{53行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";
{59行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";
{65行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";
{71行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";
{77行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";
{83行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";
{89行j上拐数据引用}
j上拐01:="kd.j上拐#min1";
j上拐05:="kd.j上拐#min5";
j上拐15:="kd.j上拐#min15";
j上拐30:="kd.j上拐#min30";
j上拐60:="kd.j上拐#min60";
{95行j下拐数据引用}
j下拐01:="kd.j下拐#min1";
j下拐05:="kd.j下拐#min5";
j下拐15:="kd.j下拐#min15";
j下拐30:="kd.j下拐#min30";
j下拐60:="kd.j下拐#min60";
{101行j上行数据引用}
j上行01:="kd.j上行#min1";
j上行05:="kd.j上行#min5";
j上行15:="kd.j上行#min15";
j上行30:="kd.j上行#min30";
j上行60:="kd.j上行#min60";
{107行j下行数据引用}
j下行01:="kd.j下行#min1";
j下行05:="kd.j下行#min5";
j下行15:="kd.j下行#min15";
j下行30:="kd.j下行#min30";
j下行60:="kd.j下行#min60";
{113行}{表框部份}
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,100,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,120,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,140,'──────────────────────────────'),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,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, 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,' j:'),colordedede;
drawtextex(c,0,130, 90,' k拐行:'),colordedede;
drawtextex(c,0,130,110,' d拐行:'),colordedede;
drawtextex(c,0,130,130,' j拐行:'),colordedede;
{143行}
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;
{149行}
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;
{155行}
drawtextex(c,0,30,70,' '+numtostr(j01[p],2)+dj1a3),colorwhite;
drawtextex(c,0,30,70,' '+numtostr(j05[p],2)+dj2a3),coloryellow;
drawtextex(c,0,30,70,' '+numtostr(j15[p],2)+dj3a3),coloryellow;
drawtextex(c,0,30,70,' '+numtostr(j30[p],2)+dj4a3),coloryellow;
drawtextex(c,0,30,70,' '+numtostr(j60[p],2)+dj5a3),coloryellow;
{161行显示k↑行}
drawtextex(c and k上行01[p],0,200,90,'↑'),colorgreen;
drawtextex(c and k上行01[p],0,200,92,'↑'),colorgreen;
drawtextex(c and k上行05[p],0,260,90,'↑'),colorgreen;
drawtextex(c and k上行05[p],0,260,92,'↑'),colorgreen;
drawtextex(c and k上行15[p],0,320,90,'↑'),colorgreen;
drawtextex(c and k上行15[p],0,320,92,'↑'),colorgreen;
drawtextex(c and k上行30[p],0,380,90,'↑'),colorgreen;
drawtextex(c and k上行30[p],0,380,92,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,440,90,'↑'),colorgreen;
drawtextex(c and k上行60[p],0,440,92,'↑'),colorgreen;
{172行显示k↓行}
drawtextex(c and k下行01[p],0,210,90,'↓'),colorred;
drawtextex(c and k下行01[p],0,210,92,'↓'),colorred;
drawtextex(c and k下行05[p],0,270,90,'↓'),colorred;
drawtextex(c and k下行05[p],0,270,92,'↓'),colorred;
drawtextex(c and k下行15[p],0,330,90,'↓'),colorred;
drawtextex(c and k下行15[p],0,330,92,'↓'),colorred;
drawtextex(c and k下行30[p],0,390,90,'↓'),colorred;
drawtextex(c and k下行30[p],0,390,92,'↓'),colorred;
drawtextex(c and k下行60[p],0,450,90,'↓'),colorred;
drawtextex(c and k下行60[p],0,450,92,'↓'),colorred;
{183行显示k上拐∨}
drawtextex(c and k上拐01[p],0,225,90,'∨'),colorgreen;
drawtextex(c and k上拐01[p],0,225,92,'∨'),colorgreen;
drawtextex(c and k上拐05[p],0,285,90,'∨'),colorgreen;
drawtextex(c and k上拐05[p],0,285,92,'∨'),colorgreen;
drawtextex(c and k上拐15[p],0,345,90,'∨'),colorgreen;
drawtextex(c and k上拐15[p],0,345,92,'∨'),colorgreen;
drawtextex(c and k上拐30[p],0,405,90,'∨'),colorgreen;
drawtextex(c and k上拐30[p],0,405,92,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,465,90,'∨'),colorgreen;
drawtextex(c and k上拐60[p],0,465,92,'∨'),colorgreen;
{194行显示k下拐∧}
drawtextex(c and k下拐01[p],0,240,90,'∧'),colorred;
drawtextex(c and k下拐01[p],0,240,92,'∧'),colorred;
drawtextex(c and k下拐05[p],0,300,90,'∧'),colorred;
drawtextex(c and k下拐05[p],0,300,92,'∧'),colorred;
drawtextex(c and k下拐15[p],0,360,90,'∧'),colorred;
drawtextex(c and k下拐15[p],0,360,92,'∧'),colorred;
drawtextex(c and k下拐30[p],0,420,90,'∧'),colorred;
drawtextex(c and k下拐30[p],0,420,92,'∧'),colorred;
drawtextex(c and k下拐60[p],0,480,90,'∧'),colorred;
drawtextex(c and k下拐60[p],0,480,92,'∧'),colorred;
{205行显示d↑行}
drawtextex(c and d上行01[p],0,200,110,'↑'),colorgreen;
drawtextex(c and d上行01[p],0,200,112,'↑'),colorgreen;
drawtextex(c and d上行05[p],0,260,110,'↑'),colorgreen;
drawtextex(c and d上行05[p],0,260,112,'↑'),colorgreen;
drawtextex(c and d上行15[p],0,320,110,'↑'),colorgreen;
drawtextex(c and d上行15[p],0,320,112,'↑'),colorgreen;
drawtextex(c and d上行30[p],0,380,110,'↑'),colorgreen;
drawtextex(c and d上行30[p],0,380,112,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,440,110,'↑'),colorgreen;
drawtextex(c and d上行60[p],0,440,112,'↑'),colorgreen;
{216行显示d↓行}
drawtextex(c and d下行01[p],0,210,110,'↓'),colorred;
drawtextex(c and d下行01[p],0,210,112,'↓'),colorred;
drawtextex(c and d下行05[p],0,270,110,'↓'),colorred;
drawtextex(c and d下行05[p],0,270,112,'↓'),colorred;
drawtextex(c and d下行15[p],0,330,110,'↓'),colorred;
drawtextex(c and d下行15[p],0,330,112,'↓'),colorred;
drawtextex(c and d下行30[p],0,390,110,'↓'),colorred;
drawtextex(c and d下行30[p],0,390,112,'↓'),colorred;
drawtextex(c and d下行60[p],0,450,110,'↓'),colorred;
drawtextex(c and d下行60[p],0,450,112,'↓'),colorred;
{227行显示d上拐∨}
drawtextex(c and d上拐01[p],0,225,110,'∨'),colorgreen;
drawtextex(c and d上拐01[p],0,225,112,'∨'),colorgreen;
drawtextex(c and d上拐05[p],0,285,110,'∨'),colorgreen;
drawtextex(c and d上拐05[p],0,285,112,'∨'),colorgreen;
drawtextex(c and d上拐15[p],0,345,110,'∨'),colorgreen;
drawtextex(c and d上拐15[p],0,345,112,'∨'),colorgreen;
drawtextex(c and d上拐30[p],0,405,110,'∨'),colorgreen;
drawtextex(c and d上拐30[p],0,405,112,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,465,110,'∨'),colorgreen;
drawtextex(c and d上拐60[p],0,465,112,'∨'),colorgreen;
{238行显示d下拐∧}
drawtextex(c and d下拐01[p],0,240,110,'∧'),colorred;
drawtextex(c and d下拐01[p],0,240,112,'∧'),colorred;
drawtextex(c and d下拐05[p],0,300,110,'∧'),colorred;
drawtextex(c and d下拐05[p],0,300,112,'∧'),colorred;
drawtextex(c and d下拐15[p],0,360,110,'∧'),colorred;
drawtextex(c and d下拐15[p],0,360,112,'∧'),colorred;
drawtextex(c and d下拐30[p],0,420,110,'∧'),colorred;
drawtextex(c and d下拐30[p],0,420,112,'∧'),colorred;
drawtextex(c and d下拐60[p],0,480,110,'∧'),colorred;
drawtextex(c and d下拐60[p],0,480,112,'∧'),colorred;
{249行显示j↑行}
drawtextex(c and j上行01[p],0,200,130,'↑'),colorgreen;
drawtextex(c and j上行01[p],0,200,132,'↑'),colorgreen;
drawtextex(c and j上行05[p],0,260,130,'↑'),colorgreen;
drawtextex(c and j上行05[p],0,260,132,'↑'),colorgreen;
drawtextex(c and j上行15[p],0,320,130,'↑'),colorgreen;
drawtextex(c and j上行15[p],0,320,132,'↑'),colorgreen;
drawtextex(c and j上行30[p],0,380,130,'↑'),colorgreen;
drawtextex(c and j上行30[p],0,380,132,'↑'),colorgreen;
drawtextex(c and j上行60[p],0,440,130,'↑'),colorgreen;
drawtextex(c and j上行60[p],0,440,132,'↑'),colorgreen;
{260行显示j↓行}
drawtextex(c and j下行01[p],0,210,130,'↓'),colorred;
drawtextex(c and j下行01[p],0,210,132,'↓'),colorred;
drawtextex(c and j下行05[p],0,270,130,'↓'),colorred;
drawtextex(c and j下行05[p],0,270,132,'↓'),colorred;
drawtextex(c and j下行15[p],0,330,130,'↓'),colorred;
drawtextex(c and j下行15[p],0,330,132,'↓'),colorred;
drawtextex(c and j下行30[p],0,390,130,'↓'),colorred;
drawtextex(c and j下行30[p],0,390,132,'↓'),colorred;
drawtextex(c and j下行60[p],0,450,130,'↓'),colorred;
drawtextex(c and j下行60[p],0,450,132,'↓'),colorred;
{271行显示j上拐∨}
drawtextex(c and j上拐01[p],0,225,130,'∨'),colorgreen;
drawtextex(c and j上拐01[p],0,225,132,'∨'),colorgreen;
drawtextex(c and j上拐05[p],0,285,130,'∨'),colorgreen;
drawtextex(c and j上拐05[p],0,285,132,'∨'),colorgreen;
drawtextex(c and j上拐15[p],0,345,130,'∨'),colorgreen;
drawtextex(c and j上拐15[p],0,345,132,'∨'),colorgreen;
drawtextex(c and j上拐30[p],0,405,130,'∨'),colorgreen;
drawtextex(c and j上拐30[p],0,405,132,'∨'),colorgreen;
drawtextex(c and j上拐60[p],0,465,130,'∨'),colorgreen;
drawtextex(c and j上拐60[p],0,465,132,'∨'),colorgreen;
{282行显示j下拐∧}
drawtextex(c and j下拐01[p],0,240,130,'∧'),colorred;
drawtextex(c and j下拐01[p],0,240,132,'∧'),colorred;
drawtextex(c and j下拐05[p],0,300,130,'∧'),colorred;
drawtextex(c and j下拐05[p],0,300,132,'∧'),colorred;
drawtextex(c and j下拐15[p],0,360,130,'∧'),colorred;
drawtextex(c and j下拐15[p],0,360,132,'∧'),colorred;
drawtextex(c and j下拐30[p],0,420,130,'∧'),colorred;
drawtextex(c and j下拐30[p],0,420,132,'∧'),colorred;
drawtextex(c and j下拐60[p],0,480,130,'∧'),colorred;
drawtextex(c and j下拐60[p],0,480,132,'∧'),colorred;
{------------------------------------------------------------------------------------------------------------------------------------------}
{macd表格}
{295行diff数据引用}{↑↓∧∨}
df01:="macd1.diff#min1";
df05:="macd1.diff#min5";
df15:="macd1.diff#min15";
df30:="macd1.diff#min30";
df60:="macd1.diff#min60";
{301行dea数据引用}
de01:="macd1.dea#min1";
de05:="macd1.dea#min5";
de15:="macd1.dea#min15";
de30:="macd1.dea#min30";
de60:="macd1.dea#min60";
{307行macd数据引用}
macd01:="macd1.macd#min1";
macd05:="macd1.macd#min5";
macd15:="macd1.macd#min15";
macd30:="macd1.macd#min30";
macd60:="macd1.macd#min60";
{313行显示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),'↑','↓');
{319行显示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),'↑','↓');
{325行显示macd↑↓用}
dj2j:=macd01[sysparam(1)];djj2:=macd01[(sysparam(1)- 1)];dj11b:=if((dj2j>djj2),'↑','↓');
dj2k:=macd05[sysparam(1)];djk2:=macd05[(sysparam(1)- 1)];dj12b:=if((dj2k>djk2),'↑','↓');
dj2l:=macd15[sysparam(1)];djl2:=macd15[(sysparam(1)- 1)];dj13b:=if((dj2l>djl2),'↑','↓');
dj2m:=macd30[sysparam(1)];djm2:=macd30[(sysparam(1)- 1)];dj14b:=if((dj2m>djm2),'↑','↓');
dj2n:=macd60[sysparam(1)];djn2:=macd60[(sysparam(1)- 1)];dj15b:=if((dj2n>djn2),'↑','↓');
{331行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";
{337行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";
{343行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";
{349行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";
{355行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";
{361行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";
{367行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";
{373行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";
{379行macd上拐数据引用}
macd上拐01:="macd1.macd上拐#min1";
macd上拐05:="macd1.macd上拐#min5";
macd上拐15:="macd1.macd上拐#min15";
macd上拐30:="macd1.macd上拐#min30";
macd上拐60:="macd1.macd上拐#min60";
{385行macd下拐数据引用}
macd下拐01:="macd1.macd下拐#min1";
macd下拐05:="macd1.macd下拐#min5";
macd下拐15:="macd1.macd下拐#min15";
macd下拐30:="macd1.macd下拐#min30";
macd下拐60:="macd1.macd下拐#min60";
{391行macd上行数据引用}
macd上行01:="macd1.macd上行#min1";
macd上行05:="macd1.macd上行#min5";
macd上行15:="macd1.macd上行#min15";
macd上行30:="macd1.macd上行#min30";
macd上行60:="macd1.macd上行#min60";
{397行macd下行数据引用}
macd下行01:="macd1.macd下行#min1";
macd下行05:="macd1.macd下行#min5";
macd下行15:="macd1.macd下行#min15";
macd下行30:="macd1.macd下行#min30";
macd下行60:="macd1.macd下行#min60";
{403行}{表框部份}
p:=sysparam(1);
drawtextex(c,0,135,160 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,180 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,200 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,220 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,240 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,135,260 ,'──────────────────────────────'),color00aaaa;
drawtextex(c,0,130,149 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,161 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,173 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,185 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,197 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,209 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,221 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,233 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,245 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,254 ,'│ │ │ │ │ │ │'),color00aaaa;
drawtextex(c,0,130,150,' diff:'),colordedede;
drawtextex(c,0,130,170,' dea:'),colordedede;
drawtextex(c,0,130,190,'diff拐行:'),colordedede;
drawtextex(c,0,130,210,'dea拐行:'),colordedede;
drawtextex(c,0,130,230,' macd:'),colordedede;
drawtextex(c,0,130,250,'macd拐行:'),colordedede;
{427行}
drawtextex(c,0,30,150,' '+numtostr(df01[p],2)+dj11),colorwhite;
drawtextex(c,0,30,150,' '+numtostr(df05[p],2)+dj12),coloryellow;
drawtextex(c,0,30,150,' '+numtostr(df15[p],2)+dj13),coloryellow;
drawtextex(c,0,30,150,' '+numtostr(df30[p],2)+dj14),coloryellow;
drawtextex(c,0,30,150,' '+numtostr(df60[p],2)+dj15),coloryellow;
{433行}
drawtextex(c,0,30,170,' '+numtostr(de01[p],2)+dj11a),colorwhite;
drawtextex(c,0,30,170,' '+numtostr(de05[p],2)+dj12a),coloryellow;
drawtextex(c,0,30,170,' '+numtostr(de15[p],2)+dj13a),coloryellow;
drawtextex(c,0,30,170,' '+numtostr(de30[p],2)+dj14a),coloryellow;
drawtextex(c,0,30,170,' '+numtostr(de60[p],2)+dj15a),coloryellow;
{439行}
drawtextex(c,0,30,230,' '+numtostr(macd01[p],2)+dj11b),colorwhite;
drawtextex(c,0,30,230,' '+numtostr(macd05[p],2)+dj12b),coloryellow;
drawtextex(c,0,30,230,' '+numtostr(macd15[p],2)+dj13b),coloryellow;
drawtextex(c,0,30,230,' '+numtostr(macd30[p],2)+dj14b),coloryellow;
drawtextex(c,0,30,230,' '+numtostr(macd60[p],2)+dj15b),coloryellow;
{445行显示diff↑行}
drawtextex(c and df上行01[p],0,200,190,'↑'),colorgreen;
drawtextex(c and df上行01[p],0,200,192,'↑'),colorgreen;
drawtextex(c and df上行05[p],0,260,190,'↑'),colorgreen;
drawtextex(c and df上行05[p],0,260,192,'↑'),colorgreen;
drawtextex(c and df上行15[p],0,320,190,'↑'),colorgreen;
drawtextex(c and df上行15[p],0,320,192,'↑'),colorgreen;
drawtextex(c and df上行30[p],0,380,190,'↑'),colorgreen;
drawtextex(c and df上行30[p],0,380,192,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,440,190,'↑'),colorgreen;
drawtextex(c and df上行60[p],0,440,192,'↑'),colorgreen;
{456行显示diff↓行}
drawtextex(c and df下行01[p],0,210,190,'↓'),colorred;
drawtextex(c and df下行01[p],0,210,192,'↓'),colorred;
drawtextex(c and df下行05[p],0,270,190,'↓'),colorred;
drawtextex(c and df下行05[p],0,270,192,'↓'),colorred;
drawtextex(c and df下行15[p],0,330,190,'↓'),colorred;
drawtextex(c and df下行15[p],0,330,192,'↓'),colorred;
drawtextex(c and df下行30[p],0,390,190,'↓'),colorred;
drawtextex(c and df下行30[p],0,390,192,'↓'),colorred;
drawtextex(c and df下行60[p],0,450,190,'↓'),colorred;
drawtextex(c and df下行60[p],0,450,192,'↓'),colorred;
{467行显示diff上拐∨}
drawtextex(c and df上拐01[p],0,225,190,'∨'),colorgreen;
drawtextex(c and df上拐01[p],0,225,192,'∨'),colorgreen;
drawtextex(c and df上拐05[p],0,285,190,'∨'),colorgreen;
drawtextex(c and df上拐05[p],0,285,192,'∨'),colorgreen;
drawtextex(c and df上拐15[p],0,345,190,'∨'),colorgreen;
drawtextex(c and df上拐15[p],0,345,192,'∨'),colorgreen;
drawtextex(c and df上拐30[p],0,405,190,'∨'),colorgreen;
drawtextex(c and df上拐30[p],0,405,192,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,465,190,'∨'),colorgreen;
drawtextex(c and df上拐60[p],0,465,192,'∨'),colorgreen;
{478行显示diff下拐∧}
drawtextex(c and df下拐01[p],0,240,190,'∧'),colorred;
drawtextex(c and df下拐01[p],0,240,192,'∧'),colorred;
drawtextex(c and df下拐05[p],0,300,190,'∧'),colorred;
drawtextex(c and df下拐05[p],0,300,192,'∧'),colorred;
drawtextex(c and df下拐15[p],0,360,190,'∧'),colorred;
drawtextex(c and df下拐15[p],0,360,192,'∧'),colorred;
drawtextex(c and df下拐30[p],0,420,190,'∧'),colorred;
drawtextex(c and df下拐30[p],0,420,192,'∧'),colorred;
drawtextex(c and df下拐60[p],0,480,190,'∧'),colorred;
drawtextex(c and df下拐60[p],0,480,192,'∧'),colorred;{489行显示dea↑行}
drawtextex(c and de上行01[p],0,200,210,'↑'),colorgreen;
drawtextex(c and de上行01[p],0,200,212,'↑'),colorgreen;
drawtextex(c and de上行05[p],0,260,210,'↑'),colorgreen;
drawtextex(c and de上行05[p],0,260,212,'↑'),colorgreen;
drawtextex(c and de上行15[p],0,320,210,'↑'),colorgreen;
drawtextex(c and de上行15[p],0,320,212,'↑'),colorgreen;
drawtextex(c and de上行30[p],0,380,210,'↑'),colorgreen;
drawtextex(c and de上行30[p],0,380,212,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,440,210,'↑'),colorgreen;
drawtextex(c and de上行60[p],0,440,212,'↑'),colorgreen;
{500行显示dea↓行}
drawtextex(c and de下行01[p],0,210,210,'↓'),colorred;
drawtextex(c and de下行01[p],0,210,212,'↓'),colorred;
drawtextex(c and de下行05[p],0,270,210,'↓'),colorred;
drawtextex(c and de下行05[p],0,270,212,'↓'),colorred;
drawtextex(c and de下行15[p],0,330,210,'↓'),colorred;
drawtextex(c and de下行15[p],0,330,212,'↓'),colorred;
drawtextex(c and de下行30[p],0,390,210,'↓'),colorred;
drawtextex(c and de下行30[p],0,390,212,'↓'),colorred;
drawtextex(c and de下行60[p],0,450,210,'↓'),colorred;
drawtextex(c and de下行60[p],0,450,212,'↓'),colorred;
{511行显示dea上拐∨}
drawtextex(c and de上拐01[p],0,225,210,'∨'),colorgreen;
drawtextex(c and de上拐01[p],0,225,212,'∨'),colorgreen;
drawtextex(c and de上拐05[p],0,285,210,'∨'),colorgreen;
drawtextex(c and de上拐05[p],0,285,212,'∨'),colorgreen;
drawtextex(c and de上拐15[p],0,345,210,'∨'),colorgreen;
drawtextex(c and de上拐15[p],0,345,212,'∨'),colorgreen;
drawtextex(c and de上拐30[p],0,405,210,'∨'),colorgreen;
drawtextex(c and de上拐30[p],0,405,212,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,465,210,'∨'),colorgreen;
drawtextex(c and de上拐60[p],0,465,212,'∨'),colorgreen;
{522行显示dea下拐∧}
drawtextex(c and de下拐01[p],0,240,210,'∧'),colorred;
drawtextex(c and de下拐01[p],0,240,212,'∧'),colorred;
drawtextex(c and de下拐05[p],0,300,210,'∧'),colorred;
drawtextex(c and de下拐05[p],0,300,212,'∧'),colorred;
drawtextex(c and de下拐15[p],0,360,210,'∧'),colorred;
drawtextex(c and de下拐15[p],0,360,212,'∧'),colorred;
drawtextex(c and de下拐30[p],0,420,210,'∧'),colorred;
drawtextex(c and de下拐30[p],0,420,212,'∧'),colorred;
drawtextex(c and de下拐60[p],0,480,210,'∧'),colorred;
drawtextex(c and de下拐60[p],0,480,212,'∧'),colorred;
{533行显示macd↑行}
drawtextex(c and macd上行01[p],0,200,250,'↑'),colorgreen;
drawtextex(c and macd上行01[p],0,200,252,'↑'),colorgreen;
drawtextex(c and macd上行05[p],0,260,250,'↑'),colorgreen;
drawtextex(c and macd上行05[p],0,260,252,'↑'),colorgreen;
drawtextex(c and macd上行15[p],0,320,250,'↑'),colorgreen;
drawtextex(c and macd上行15[p],0,320,252,'↑'),colorgreen;
drawtextex(c and macd上行30[p],0,380,250,'↑'),colorgreen;
drawtextex(c and macd上行30[p],0,380,252,'↑'),colorgreen;
drawtextex(c and macd上行60[p],0,440,250,'↑'),colorgreen;
drawtextex(c and macd上行60[p],0,440,252,'↑'),colorgreen;
{544行显示macd↓行}
drawtextex(c and macd下行01[p],0,210,250,'↓'),colorred;
drawtextex(c and macd下行01[p],0,210,252,'↓'),colorred;
drawtextex(c and macd下行05[p],0,270,250,'↓'),colorred;
drawtextex(c and macd下行05[p],0,270,252,'↓'),colorred;
drawtextex(c and macd下行15[p],0,330,250,'↓'),colorred;
drawtextex(c and macd下行15[p],0,330,252,'↓'),colorred;
drawtextex(c and macd下行30[p],0,390,250,'↓'),colorred;
drawtextex(c and macd下行30[p],0,390,252,'↓'),colorred;
drawtextex(c and macd下行60[p],0,450,250,'↓'),colorred;
drawtextex(c and macd下行60[p],0,450,252,'↓'),colorred;
{555行显示macd上拐∨}
drawtextex(c and macd上拐01[p],0,225,250,'∨'),colorgreen;
drawtextex(c and macd上拐01[p],0,225,252,'∨'),colorgreen;
drawtextex(c and macd上拐05[p],0,285,250,'∨'),colorgreen;
drawtextex(c and macd上拐05[p],0,285,252,'∨'),colorgreen;
drawtextex(c and macd上拐15[p],0,345,250,'∨'),colorgreen;
drawtextex(c and macd上拐15[p],0,345,252,'∨'),colorgreen;
drawtextex(c and macd上拐30[p],0,405,250,'∨'),colorgreen;
drawtextex(c and macd上拐30[p],0,405,252,'∨'),colorgreen;
drawtextex(c and macd上拐60[p],0,465,250,'∨'),colorgreen;
drawtextex(c and macd上拐60[p],0,465,252,'∨'),colorgreen;
{566行显示macd下拐∧}
drawtextex(c and macd下拐01[p],0,240,250,'∧'),colorred;
drawtextex(c and macd下拐01[p],0,240,252,'∧'),colorred;
drawtextex(c and macd下拐05[p],0,300,250,'∧'),colorred;
drawtextex(c and macd下拐05[p],0,300,252,'∧'),colorred;
drawtextex(c and macd下拐15[p],0,360,250,'∧'),colorred;
drawtextex(c and macd下拐15[p],0,360,252,'∧'),colorred;
drawtextex(c and macd下拐30[p],0,420,250,'∧'),colorred;
drawtextex(c and macd下拐30[p],0,420,252,'∧'),colorred;
drawtextex(c and macd下拐60[p],0,480,250,'∧'),colorred;
drawtextex(c and macd下拐60[p],0,480,252,'∧'),colorred;
{577行}{通过图表找出重点关注时间周期区间}
>>>使用本站搜索工具可以找到更多“KDJ_MACD表格2001_603短线公式 飞狐KDJ指标 源码”