周易指标(特发出来给喜欢周易的朋友去研究)
周易指标
周易指标!送给喜欢周易的人!这几天研究写的有点不想写了!后面还有点喜好周易的人在完善!原本网上有人写出来!但加密码的不利于改良研究!所以特发出来供喜好的人研究!
drawtextabs(2,2,'金水制做'),linethick1,colorred;
{input:p1(1,0,1),p2(1,0,1);{//p1=0,按常规k线开收定阴阳爻,p1=1,按张东生-常秉义方法定阴阳爻;p2=0,按k线顺序排卦,左为初爻,右为上爻,p2=1,按k线逆序排卦}
p1:=1;p2:=1;
{按不同方法定阴阳爻}
aa:=amount/vol/100;{//均价}
ai:=if(c=o,aa-ref(aa,1),c-o);{//p1=0,按常规k线开收定阴阳爻}
aj:=if(c=ref(c,1),aa-ref(aa,1),c-ref(c,1));{//p1=1,按张东生-常秉义方法定阴阳爻}
a:=if(p1=0,ai,aj);
{//选定6爻,p2=0,按k线顺序排卦,p2=1,按k线逆序排卦}
a1:=if(p2=0,ref(a,5),a);
a2:=if(p2=0,ref(a,4),ref(a,1));
a3:=if(p2=0,ref(a,3),ref(a,2));
a4:=if(p2=0,ref(a,2),ref(a,3));
a5:=if(p2=0,ref(a,1),ref(a,4));
a6:=if(p2=0,a,ref(a,5));
{//上卦}
s1:=a4>0 and a5>0 and a6>0;{上卦乾-阳阳阳}
s11:=if(a4>0 and a5>0 and a6>0,1,0);
s2:=a4>0 and a5>0 and a6<0;{上卦兑-阳阳阴}
s22:=if(a4>0 and a5>0 and a6<0,2,0);
s3:=a4>0 and a5<0 and a6>0;{//上卦离-阳阴阳}
s33:=if(a4>0 and a5<0 and a6>0,3,0);
s4:=a4>0 and a5<0 and a6<0;{//上卦震-阳阴阴}
s44:=if(a4>0 and a5<0 and a6<0,4,0);
s5:=a4<0 and a5>0 and a6>0;{//上卦巽-阴阳阳}
s55:=if(a4<0 and a5>0 and a6>0,5,0);
s6:=a4<0 and a5>0 and a6<0;{//上卦坎-阴阳阴}
s66:=if(a4<0 and a5>0 and a6<0,6,0);
s7:=a4<0 and a5<0 and a6>0;{//上卦艮-阴阴阳}
s77:=if(a4<0 and a5<0 and a6>0,7,0);
s8:=a4<0 and a5<0 and a6<0;{//上卦坤-阴阴阴}
s88:=if(a4<0 and a5<0 and a6<0,8,0);
上卦:(s11+s22+s33+s44+s55+s66+s77+s88),linethick0;
{//下卦}
x1:=a1>0 and a2>0 and a3>0;{//下卦乾-阳阳阳}
x11:=if(a1>0 and a2>0 and a3>0,1,0);
x2:=a1>0 and a2>0 and a3<0;{//下卦兑-阳阳阴}
x22:=if(a1>0 and a2>0 and a3<0,2,0);
x3:=a1>0 and a2<0 and a3>0;{//下卦离-阳阴阳}
x33:=if(a1>0 and a2<0 and a3>0,3,0);
x4:=a1>0 and a2<0 and a3<0;{//下卦震-阳阴阴}
x44:=if(a1>0 and a2<0 and a3<0,4,0);
x5:=a1<0 and a2>0 and a3>0;{//下卦巽-阴阳阳}
x55:=if(a1<0 and a2>0 and a3>0,5,0);
x6:=a1<0 and a2>0 and a3<0;{//下卦坎-阴阳阴}
x66:=if(a1<0 and a2>0 and a3<0,6,0);
x7:=a1<0 and a2<0 and a3>0;{//下卦艮-阴阴阳}
x77:=if(a1<0 and a2<0 and a3>0,7,0);
x8:=a1<0 and a2<0 and a3<0;{下卦坤-阴阴阴}
x88:=if(a1<0 and a2<0 and a3<0,8,0);
下卦:(x11+x22+x33+x44+x55+x66+x77+x88),linethick0;
{动爻}
cc1:=(c-ref(c,1))/ref(c,1)*100;
cc2:=(ref(c,1)-ref(c,2))/ref(c,2)*100;
cc3:=(ref(c,2)-ref(c,3))/ref(c,3)*100;
cc4:=(ref(c,3)-ref(c,4))/ref(c,4)*100;
cc5:=(ref(c,4)-ref(c,5))/ref(c,5)*100;
cc6:=(ref(c,5)-ref(c,6))/ref(c,6)*100;
dd1:=max(abs(cc1),abs(cc2),abs(cc3),abs(cc4),abs(cc5),abs(cc6));{涨跌幅最大日作动爻}
d1:=if(abs(cc1)=dd1,1,0);
d2:=if(abs(cc2)=dd1,2,0);
d3:=if(abs(cc3)=dd1,3,0);
d4:=if(abs(cc4)=dd1,4,0);
d5:=if(abs(cc5)=dd1,5,0);
d6:=if(abs(cc6)=dd1,6,0);
动爻:d1+d2+d3+d4+d5+d6,linethick0;
{//乾宫八卦,红色系}
乾:=s1;兑:=s2;离:=s3;震:=s4;巽:=s5;坎:=s6;艮:=s7;坤:=s8;
乾1:=x1;兑1:=x2;离1:=x3;震1:=x4;巽1:=x5;坎1:=x6;艮1:=x7;坤1:=x8;
drawtextabs(320,0,ifs(乾 or 离 or 巽 or 艮,' ━━━ ','')),linethick0,color00ff00;
drawtextabs(320,13,ifs(乾 or 兑 or 巽 or 坎,' ━━━ ','')),color00ff00;
drawtextabs(320,26,ifs(乾 or 兑 or 离 or 震,' ━━━','')),color00ff00;
drawtextabs(320,39,ifs(乾1 or 离1 or 巽1 or 艮1,' ━━━ ','')),color00ff00;
drawtextabs(320,52,ifs(乾1 or 兑1 or 巽1 or 坎1,' ━━━ ','')),color00ff00;
drawtextabs(320,65,ifs(乾1 or 兑1 or 离1 or 震1,' ━━━','')),color00ff00;
drawtextabs(320,0,ifs(坤 or 兑 or 震 or 坎,' ━ ━ ','')),linethick0,color00ff00;
drawtextabs(320,13,ifs(坤 or 离 or 震 or 艮,' ━ ━ ','')),color00ff00;
drawtextabs(320,26,ifs(坤 or 巽 or 坎 or 艮,' ━ ━','')),color00ff00;
drawtextabs(320,39,ifs(坤1 or 兑1 or 震1 or 坎1,' ━ ━ ','')),color00ff00;
drawtextabs(320,52,ifs(坤1 or 离1 or 震1 or 艮1,' ━ ━ ','')),color00ff00;
drawtextabs(320,65,ifs(坤1 or 巽1 or 坎1 or 艮1,' ━ ━','')),color00ff00;
drawtextabs(320,0,ifs(乾,'戌 ',
ifs(震,'戌 ',
ifs(兑,'未 ',
ifs(离,'巳 ',
ifs(巽,'卯 ',
ifs(坎,'子',
ifs(艮,'寅',
ifs(坤,'酉',''))))))))),color0080ff;
drawtextabs(320,13,ifs(乾,'申',
ifs(震,'申',
ifs(兑,'酉',
ifs(离,'未',
ifs(巽,'巳',
ifs(坎,'戌 ',
ifs(艮,'子',
ifs(坤,'亥',''))))))))),colorffffff;
drawtextabs(320,26,ifs(乾,'午',
ifs(震,'午',
ifs(兑,'亥',
ifs(离,'酉',
ifs(巽,'未',
ifs(坎,'申',
ifs(艮,'戌 ',
ifs(坤,'丑',''))))))))),color0000ff;
drawtextabs(320,39,ifs(乾1,'辰',
ifs(震1,'辰',
ifs(兑1,'丑',
ifs(离1,'亥',
ifs(巽1,'酉',
ifs(坎1,'午',
ifs(艮1,'申',
ifs(坤1,'卯 ',''))))))))),color0080ff;
drawtextabs(320,52,ifs(乾1,'寅',
ifs(震1,'寅',
ifs(兑1,'卯',
ifs(离1,'丑',
ifs(巽1,'亥',
ifs(坎1,'辰',
ifs(艮1,'午',
ifs(坤1,'巳',''))))))))),color00ff00;
drawtextabs(320,65,ifs(乾1,'子',
ifs(震1,'子',
ifs(兑1,'巳',
ifs(离1,'卯',
ifs(巽1,'丑',
ifs(坎1,'寅',
ifs(艮1,'辰',
ifs(坤1,'未',''))))))))),colorffff00;
金:=(x1 and s1) or (x5 and s1) or (x7 and s1) or (x8 and s1) or (x1 and s3) or (x8 and s3) or (x8 and s7) or (x2 and s2) or (x6 and s2) or (x8 and s2) or (x7 and s2) or (x2 and s4) or (x8 and s5) or (x7 and s4) or (x7 and s8);
火:=(x3 and s3) or (x7 and s3) or (x5 and s3) or (x6 and s3) or (x3 and s1) or (x7 and s6) or (x6 and s1) or (x6 and s5);
木:=(x4 and s4) or (x5 and s5) or (x8 and s4) or (x1 and s5) or (x6 and s4) or (x3 and s5) or (x5 and s4) or (x4 and s5) or (x6 and s7) or (x5 and s8) or (x5 and s2) or (x4 and s7) or (x5 and s6) or (x4 and s3);
水:=(x6 and s6) or (x2 and s6) or (x4 and s6) or (x3 and s6) or (x4 and s2) or (x4 and s1) or (x3 and s4);
土:=(x7 and s7) or (x8 and s8) or (x3 and s7) or (x4 and s8) or (x1 and s7) or (x2 and s8) or (x2 and s7) or (x1 and s8) or (x5 and s7) or (x6 and s8) or (x7 and s5) or (x8 and s6) or (x3 and s2) or (x2 and s3) or (x1 and s4) or (x3 and s8) or (x2 and s5) or (x1 and s6) or (x2 and s1) or (x1 and s2);
drawtextabs(335,0,ifs(金 ,'父',
ifs(金,'兄',
ifs(金,'官',
ifs(金,'财',
ifs(金,'子','')))))),color00ffff;
一世:=(x1 and s1) or (x2 and s2) or (x3 and s3) or (x4 and s4) or (x5 and s5) or (x6 and s6) or (x7 and s7) or (x8 and s8);
二世:=(x5 and s1) or (x6 and s2) or (x7 and s3) or (x8 and s4) or (x1 and s5) or (x2 and s6) or (x3 and s7) or (x4 and s8);
三世:=(x7 and s1) or (x8 and s2) or (x5 and s3) or (x6 and s4) or (x3 and s5) or (x4 and s6) or (x1 and s7) or (x2 and s8);
四世:=(x8 and s1) or (x7 and s2) or (x6 and s3) or (x5 and s4) or (x4 and s5) or (x3 and s6) or (x2 and s7) or (x1 and s8) or
(x1 and s3) or (x2 and s4) or (x3 and s1) or (x4 and s2) or (x5 and s7) or (x6 and s8) or (x7 and s5) or (x8 and s6);
五世:=(x8 and s5) or (x7 and s6) or (x6 and s7) or (x5 and s8) or (x4 and s1) or (x3 and s2) or (x2 and s3) or (x1 and s4) or
(x8 and s3) or (x7 and s4) or (x6 and s1) or (x5 and s2) or (x4 and s7) or (x3 and s8) or (x2 and s5) or (x1 and s6);
六世:=(x8 and s7) or (x7 and s8) or (x6 and s5) or (x5 and s6) or (x4 and s3) or (x3 and s4) or (x2 and s1) or (x1 and s2);
drawtextabs(410,0,ifs(一世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,39,ifs(一世,' 应 ','')),linethick0,color00ffff;
drawtextabs(410,65,ifs(二世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,26,ifs(二世,' 应 ','')),linethick0,color00ffff;
drawtextabs(410,52,ifs(三世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,13,ifs(三世,' 应 ','')),linethick0,color00ffff;
drawtextabs(410,39,ifs(四世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,0,ifs(四世,' 应 ','')),linethick0,color00ffff;
drawtextabs(410,26,ifs(五世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,65,ifs(五世,' 应 ','')),linethick0,color00ffff;
drawtextabs(410,13,ifs(六世,' 世 ','')),linethick0,color00ffff;
drawtextabs(410,52,ifs(六世,' 应 ','')),linethick0,color00ffff;
drawtextabs(320,0,ifs(动爻=6 and (乾 or 离 or 巽 or 艮),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,13,ifs(动爻=5 and (乾 or 兑 or 巽 or 坎),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,26,ifs(动爻=4 and (乾 or 兑 or 离 or 震),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,39,ifs(动爻=3 and (乾1 or 离1 or 巽1 or 艮1),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,52,ifs(动爻=2 and (乾1 or 兑1 or 巽1 or 坎1),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,65,ifs(动爻=1 and (乾1 or 兑1 or 离1 or 震1),' ━━━ 0 ','')),color0000ff;
drawtextabs(320,0,ifs(动爻=6 and (坤 or 兑 or 震 or 坎),' ━ ━ x','')),color0000ff;
drawtextabs(320,13,ifs(动爻=5 and (坤 or 离 or 震 or 艮),' ━ ━ x ','')),color0000ff;
drawtextabs(320,26,ifs(动爻=4 and (坤 or 巽 or 坎 or 艮),' ━ ━ x','')),color0000ff;
drawtextabs(320,39,ifs(动爻=3 and (坤1 or 兑1 or 震1 or 坎1),' ━ ━ x ','')),color0000ff;
drawtextabs(320,52,ifs(动爻=2 and (坤1 or 离1 or 震1 or 艮1),' ━ ━ x ','')),color0000ff;
drawtextabs(320,65,ifs(动爻=1 and (坤1 or 巽1 or 坎1 or 艮1),' ━ ━ x','')),color0000ff;
----------下面是另外一个公式------------
drawtextabs(2,2,'金水制做'),linethick1,colorred;
{input:p1(1,0,1),p2(1,0,1);{//p1=0,按常规k线开收定阴阳爻,p1=1,按张东生-常秉义方法定阴阳爻;p2=0,按k线顺序排卦,左为初爻,右为上爻,p2=1,按k线逆序排卦}
p1:=1;p2:=1;
{按不同方法定阴阳爻}
aa:=amount/vol/100;{//均价}
ai:=if(c=o,aa-ref(aa,1),c-o);{//p1=0,按常规k线开收定阴阳爻}
aj:=if(c=ref(c,1),aa-ref(aa,1),c-ref(c,1));{//p1=1,按张东生-常秉义方法定阴阳爻}
a:=if(p1=0,ai,aj);
{//选定6爻,p2=0,按k线顺序排卦,p2=1,按k线逆序排卦}
a1:=if(p2=0,ref(a,5),a);
a2:=if(p2=0,ref(a,4),ref(a,1));
a3:=if(p2=0,ref(a,3),ref(a,2));
a4:=if(p2=0,ref(a,2),ref(a,3));
a5:=if(p2=0,ref(a,1),ref(a,4));
a6:=if(p2=0,a,ref(a,5));
{//上卦}
s1:=a4>0 and a5>0 and a6>0;{上卦乾-阳阳阳}
s11:=if(a4>0 and a5>0 and a6>0,1,0);
s2:=a4>0 and a5>0 and a6<0;{上卦兑-阳阳阴}
s22:=if(a4>0 and a5>0 and a6<0,2,0);
s3:=a4>0 and a5<0 and a6>0;{//上卦离-阳阴阳}
s33:=if(a4>0 and a5<0 and a6>0,3,0);
s4:=a4>0 and a5<0 and a6<0;{//上卦震-阳阴阴}
s44:=if(a4>0 and a5<0 and a6<0,4,0);
s5:=a4<0 and a5>0 and a6>0;{//上卦巽-阴阳阳}
s55:=if(a4<0 and a5>0 and a6>0,5,0);
s6:=a4<0 and a5>0 and a6<0;{//上卦坎-阴阳阴}
s66:=if(a4<0 and a5>0 and a6<0,6,0);
s7:=a4<0 and a5<0 and a6>0;{//上卦艮-阴阴阳}
s77:=if(a4<0 and a5<0 and a6>0,7,0);
s8:=a4<0 and a5<0 and a6<0;{//上卦坤-阴阴阴}
s88:=if(a4<0 and a5<0 and a6<0,8,0);
上卦:(s11+s22+s33+s44+s55+s66+s77+s88),linethick0;
{//下卦}
x1:=a1>0 and a2>0 and a3>0;{//下卦乾-阳阳阳}
x11:=if(a1>0 and a2>0 and a3>0,1,0);
x2:=a1>0 and a2>0 and a3<0;{//下卦兑-阳阳阴}
x22:=if(a1>0 and a2>0 and a3<0,2,0);
x3:=a1>0 and a2<0 and a3>0;{//下卦离-阳阴阳}
x33:=if(a1>0 and a2<0 and a3>0,3,0);
x4:=a1>0 and a2<0 and a3<0;{//下卦震-阳阴阴}
x44:=if(a1>0 and a2<0 and a3<0,4,0);
x5:=a1<0 and a2>0 and a3>0;{//下卦巽-阴阳阳}
x55:=if(a1<0 and a2>0 and a3>0,5,0);
x6:=a1<0 and a2>0 and a3<0;{//下卦坎-阴阳阴}
x66:=if(a1<0 and a2>0 and a3<0,6,0);
x7:=a1<0 and a2<0 and a3>0;{//下卦艮-阴阴阳}
x77:=if(a1<0 and a2<0 and a3>0,7,0);
x8:=a1<0 and a2<0 and a3<0;{下卦坤-阴阴阴}
x88:=if(a1<0 and a2<0 and a3<0,8,0);
下卦:(x11+x22+x33+x44+x55+x66+x77+x88),linethick0;
{动爻}
cc1:=(c-ref(c,1))/ref(c,1)*100;
cc2:=(ref(c,1)-ref(c,2))/ref(c,2)*100;
cc3:=(ref(c,2)-ref(c,3))/ref(c,3)*100;
cc4:=(ref(c,3)-ref(c,4))/ref(c,4)*100;
cc5:=(ref(c,4)-ref(c,5))/ref(c,5)*100;
cc6:=(ref(c,5)-ref(c,6))/ref(c,6)*100;
dd1:=max(abs(cc1),abs(cc2),abs(cc3),abs(cc4),abs(cc5),abs(cc6));{涨跌幅最大日作动爻}
d1:=if(abs(cc1)=dd1,1,0);
d2:=if(abs(cc2)=dd1,2,0);
d3:=if(abs(cc3)=dd1,3,0);
d4:=if(abs(cc4)=dd1,4,0);
d5:=if(abs(cc5)=dd1,5,0);
d6:=if(abs(cc6)=dd1,6,0);
动爻:d1+d2+d3+d4+d5+d6,linethick0;
{//乾宫八卦,红色系}
乾为天:=x3 and s1;{11乾为天-阳阳阳阳阳阳}
drawtextabs(330,5,ifs(乾为天=1,' 乾为天 乾为天','')),linethick1,color00ffff;
drawtextabs(320,20,ifs(乾为天=1,'六神 伏神 本卦 变卦','')),linethick1,color00ffff;
drawtextabs(320,35,ifs(乾为天=1,'螣蛇 妻卯 ▅▅▅▅▅ 世 ▅▅ ▅▅ 应','')),linethick0,color00ffff;
{//天干地支}
年:lyear,linethick0;月:lmonth,linethick0;日:lday,linethick0;
年干:mod(fracpart((if(年>2,年+10,年)-3)/10)*100,10),linethick0;
年支:mod(fracpart(年/100)*100+5,12),linethick0;
月干:mod(年干*2+月,10),linethick0;
月支:月,linethick0;
奇月:=mod(month,2)=1;
i:=if(奇月,0,6);{奇数月i=0,偶数月i=6}
年份:=floor(fracpart(年/100)*100);{年后两位}
日干:mod(4*20+(20/4)+5*年份+(年份/4)+(3*(month+1)/5)+day-3,10),linethick0;
日支:mod(8*20+(20/4)+5*年份+(年份/4)+(3*(month+1)/5)+day+7+i,12),linethick0;
时支:8,linethick0;
rr:=(年支+1+月+日);
drawtextabs(130,2,ifs(年干=1,'甲','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=2,'乙','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=3,'丙','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=4,'丁','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=5,'戊','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=6,'已','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=7,'庚','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=8,'辛','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=9,'壬','')),linethick2,color00ffff;
drawtextabs(130,2,ifs(年干=10,'癸','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=1,'子','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=2,'丑','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=3,'寅','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=4,'卯','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=5,'辰','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=6,'巳','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=7,'午','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=8,'未','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=9,'申','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=10,'酉','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=11,'戌','')),linethick2,color00ffff;
drawtextabs(145,2,ifs(年支=12,'亥','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=1,'甲','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=2,'乙','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=3,'丙','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=4,'丁','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=5,'戊','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=6,'已','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=7,'庚','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=8,'辛','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=9,'壬','')),linethick2,color00ffff;
drawtextabs(180,2,ifs(月干=10,'癸','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=11,'子','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=12,'丑','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=1,'寅','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=2,'卯','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=3,'辰','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=4,'巳','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=5,'午','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=6,'未','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=7,'申','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=8,'酉','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=9,'戌','')),linethick2,color00ffff;
drawtextabs(195,2,ifs(月支=10,'亥','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=1,'甲','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=2,'乙','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=3,'丙','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=4,'丁','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=5,'戊','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=6,'已','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=7,'庚','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=8,'辛','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=9,'壬','')),linethick2,color00ffff;
drawtextabs(230,2,ifs(日干=10,'癸','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=1,'子','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=2,'丑','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=3,'寅','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=4,'卯','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=5,'辰','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=6,'巳','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=7,'午','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=8,'未','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=9,'申','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=10,'酉','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=11,'戌','')),linethick2,color00ffff;
drawtextabs(245,2,ifs(日支=12,'亥','')),linethick2,color00ffff;
drawtextabs(275,2,ifs(日干-日支=0,'(戌亥)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=-10,'(申酉)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=2,'(申酉)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=-8,'(午未)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=4,'(午未)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=-6,'(辰巳)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=6,'(辰巳)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=-4,'(寅卯)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=8,'(寅卯)','')),linethick1,color00ffff;
drawtextabs(275,2,ifs(日干-日支=-2,'(子丑)','')),linethick1,color00ffff;
drawtextabs(160,2,'年'),linethick2,colorred;
drawtextabs(210,2,'月'),linethick2,colorred;
drawtextabs(260,2,'日'),linethick2,colorred;
drawtextabs(310,2,'旬空'),linethick2,colorred;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文周易(特发出来给喜欢周易的朋友去研究)公式下载 大智慧指标源码周易仅供学习研究。