再发个易学指标-六联体卦六亲动变解盘

2011-02-17 09:12:00来源:本站整理浏览:146

六联体卦六亲动变解盘

AA:=IF(CLOSE>OPEN,1,IF(CLOSE<OPEN,-1,0));
AA1:=IF(CLOSE>REF(CLOSE,1),1,IF(CLOSE<REF(CLOSE,1),-1,0));
AA2:=IF(VOL>REF(VOL,1),1,IF(VOL<=REF(VOL,1),-1,0));
BB:=IF(AA=0,AA1,AA);
CC:=IF(BB=0,AA2,BB);
S1:=IF(REF(CC,5)>0 AND REF(CC,4)>0 AND REF(CC,3)>0,1,0);
S2:=IF(REF(CC,5)<0 AND REF(CC,4)>0 AND REF(CC,3)>0,2,0);
S3:=IF(REF(CC,5)>0 AND REF(CC,4)<0 AND REF(CC,3)>0,3,0);
S4:=IF(REF(CC,5)<0 AND REF(CC,4)<0 AND REF(CC,3)>0,4,0);
S5:=IF(REF(CC,5)>0 AND REF(CC,4)>0 AND REF(CC,3)<0,5,0);
S6:=IF(REF(CC,5)<0 AND REF(CC,4)>0 AND REF(CC,3)<0,6,0);
S7:=IF(REF(CC,5)>0 AND REF(CC,4)<0 AND REF(CC,3)<0,7,0);
S8:=IF(REF(CC,5)<0 AND REF(CC,4)<0 AND REF(CC,3)<0,8,0);
SS:=S1+S2+S3+S4+S5+S6+S7+S8;
X1:=IF(REF(CC,2)>0 AND REF(CC,1)>0 AND CC>0,1,0);
X2:=IF(REF(CC,2)<0 AND REF(CC,1)>0 AND CC>0,2,0);
X3:=IF(REF(CC,2)>0 AND REF(CC,1)<0 AND CC>0,3,0);
X4:=IF(REF(CC,2)<0 AND REF(CC,1)<0 AND CC>0,4,0);
X5:=IF(REF(CC,2)>0 AND REF(CC,1)>0 AND CC<0,5,0);
X6:=IF(REF(CC,2)<0 AND REF(CC,1)>0 AND CC<0,6,0);
X7:=IF(REF(CC,2)>0 AND REF(CC,1)<0 AND CC<0,7,0);
X8:=IF(REF(CC,2)<0 AND REF(CC,1)<0 AND CC<0,8,0);
XX:=X1+X2+X3+X4+X5+X6+X7+X8;
YUI:=MOD(SS+XX+时辰,6);
DD:=IF(YUI=0,6,YUI);
NO:=IF(SS=5,2,IF(SS=6,2,0))+IF(SS<=2,2,IF(SS>=7,0,0));
NP:=IF(SS>4,0,1);
NK:=IF(XX=5,2,IF(XX=6,2,0))+IF(XX<=2,2,IF(XX>=7,0,0));
NJ:=IF(XX>4,0,1);
NI:=(SS-INTPART(SS/2)*2)*4;
NL:=(XX-INTPART(XX/2)*2)*4;
XXX:=IF(NK=NO,2,0)+IF(NJ=NP,1,0)+IF(NL=NI,4,0);
L6:=IF(DD=6,IF(DD=6 AND NI=0,4,0),NI);
L5:=IF(DD=5,IF(DD=5 AND NO=0,2,0),NO);
L2:=IF(DD=2,IF(DD=2 AND NK=0,2,0),NK);
L4:=IF(DD=4,IF(DD=4 AND NP=0,1,0),NP);
L3:=IF(DD=3,IF(DD=3 AND NL=0,4,0),NL);
L1:=IF(DD=1,IF(DD=1 AND NJ=0,1,0),NJ);
LA:=L6+L5+L4;
LB:=L3+L2+L1;
DL1:=IF(LA=4,7,IF(LA=0,8,0));
BL1:=IF(LA=5,3,IF(LA=1,4,0));
AL1:=IF(LA=7,1,IF(LA=3,2,0));
CL:=IF(LB=6,5,IF(LB=2,6,0));
DL:=IF(LB=4,7,IF(LB=0,8,0));
CL1:=IF(LA=6,5,IF(LA=2,6,0));
AL:=IF(LB=7,1,IF(LB=3,2,0));
BL:=IF(LB=5,3,IF(LB=1,4,0));
XXS:=AL+BL+CL+DL;
SSX:=AL1+BL1+CL1+DL1;
LC:=IF(DATE>LSOLARTERMDATE(3),1,0);
A:=LC+IF(DATE>LSOLARTERMDATE(5),1,0)+IF(DATE>LSOLARTERMDATE(7),1,0);
A3:=IF(DATE>LSOLARTERMDATE(9),1,0)+IF(DATE>LSOLARTERMDATE(11),1,0)+IF(DATE>LSOLARTERMDATE(13),1,0);
A6:=IF(DATE>LSOLARTERMDATE(15),1,0)+IF(DATE>LSOLARTERMDATE(17),1,0)+IF(DATE>LSOLARTERMDATE(19),1,0);
A9:=IF(DATE>LSOLARTERMDATE(21),1,0)+IF(DATE>LSOLARTERMDATE(23),1,0)+IF(LC=0,12,0);
YL:=A3+A6+A9+A;
-0.7,POINTDOT,color10000;
PO:=SYSPARAM(1)=BARPOS;
DRAWTEXT(YL=11 AND PO,8,'子                              '),ALIGN2,colorFF;
DRAWTEXT(YL=12 AND PO,8,'丑                              '),ALIGN2,colorFF;
DRAWTEXT(YL=1 AND PO,8,'寅                              '),ALIGN2,colorFF;
DRAWTEXT(YL=2 AND PO,8,'卯                              '),ALIGN2,colorFF;
DRAWTEXT(YL=3 AND PO,8,'辰                              '),ALIGN2,colorFF;
DRAWTEXT(YL=4 AND PO,8,'巳                              '),ALIGN2,colorFF;
DRAWTEXT(YL=5 AND PO,8,'午                              '),ALIGN2,colorFF;
DRAWTEXT(YL=6 AND PO,8,'未                              '),ALIGN2,colorFF;
DRAWTEXT(YL=7 AND PO,8,'申                              '),ALIGN2,colorFF;
DRAWTEXT(YL=8 AND PO,8,'酉                              '),ALIGN2,colorFF;
DRAWTEXT(YL=9 AND PO,8,'戌                              '),ALIGN2,colorFF;
DRAWTEXT(YL=10 AND PO,8,'亥                              '),ALIGN2,colorFF;
DRAWTEXT(XX=1 OR XX=4>0 AND PO,XX=1 OR XX=4,'子                                  '),ALIGN2,color808080;
SHUL:=IF(SS=7,5,IF(SS=6,6,0));
DRAWTEXT(SHUL>0 AND PO,SHUL,'子                                  '),ALIGN2,color808080;
HUL:=IF(XX=1,2,IF(XX=4,2,0))+IF(XX=6,1,0);
DRAWTEXT(HUL>0 AND PO,HUL,'寅                                  '),ALIGN2,colorFFFF00;
HL9:=IF(SS=7,6,0);
LWU:=IF(SS=1,4,IF(SS=4,4,0));
DRAWTEXT(HL9>0 AND PO,HL9,'寅                                  '),ALIGN2,colorFFFF00;
CLN:=IF(XX=1,3,IF(XX=4,3,0))+IF(XX=6,2,IF(XX=7,1,0));
DRAWTEXT(CLN>0 AND PO,CLN,'辰                                  '),ALIGN2,colorFFFF;
DRAWTEXT(LWU>0 AND PO,LWU,'午                                  '),ALIGN2,colorFF;
LK:=IF(XX=6,3,IF(XX=7,2,0));
DRAWTEXT(LK>0 AND PO,LK,'午                                  '),ALIGN2,colorFF;
VENA:=IF(SSX=1,5,IF(SSX=4,5,0))+IF(SSX=6,4,0);
DRAWTEXT(VENA>0 AND PO,VENA,'申                 '),ALIGN2,colorFFFFFF;
NHENK:=IF(XXS=7,3,0);
DRAWTEXT(NHENK>0 AND PO,NHENK,'申                 '),ALIGN2,colorFFFFFF;
QVK:=IF(SSX=1,6,IF(SSX=4,6,0))+IF(SSX=6,5,IF(SSX=7,4,0));
DRAWTEXT(QVK>0 AND PO,QVK,'戌                 '),ALIGN2,colorFFFF;
KHOUA:=IF(XXS=2,3,IF(XXS=5,1,0))+IF(XXS=3,2,0);
DRAWTEXT(KHOUA>0 AND PO,KHOUA,'丑                 '),ALIGN2,colorFFFF;
KHOU2A:=IF(SSX=8,4,0);
DRAWTEXT(KHOU2A>0 AND PO,KHOU2A,'丑                 '),ALIGN2,colorFFFF;
KAOA:=IF(XXS=8,3,IF(XXS=3,1,0))+IF(XXS=2,2,0);
DRAWTEXT(KAOA>0 AND PO,KAOA,'卯                 '),ALIGN2,colorFFFF00;
MK:=IF(SSX=5,6,0);
WEZ:=IF(XXS=8,1,0);
DRAWTEXT(MK>0 AND PO,MK,'卯                 '),ALIGN2,colorFFFF00;
KA:=IF(XXS=8,2,IF(XXS=2,1,0));
DRAWTEXT(KA>0 AND PO,KA,'巳                 '),ALIGN2,colorFF;
SI2A:=IF(SSX=3,6,IF(SSX=5,5,0));
DRAWTEXT(SI2A>0 AND PO,SI2A,'巳                 '),ALIGN2,colorFF;
ZEIA:=IF(SSX=5,4,IF(SSX=3,5,0))+IF(SSX=2,6,0);
DRAWTEXT(ZEIA>0 AND PO,ZEIA,'未                 '),ALIGN2,colorFFFF;
DRAWTEXT(WEZ>0 AND PO,WEZ,'未                 '),ALIGN2,colorFFFF;
ZUA:=IF(SSX=8,6,IF(SSX=3,4,0))+IF(SSX=2,5,0);
DRAWTEXT(ZUA>0 AND PO,ZUA,'酉                 '),ALIGN2,colorFFFFFF;
SU2A:=IF(XXS=5,3,0);
FAIX:=IF(SSX=8,5,IF(SSX=2,4,0));
DRAWTEXT(SU2A>0 AND PO,SU2A,'酉                 '),ALIGN2,colorFFFFFF;
DRAWTEXT(FAIX>0 AND PO,FAIX,'亥                 '),ALIGN2,color808080;
I2B:=IF(XXS=5,2,IF(XXS=3,3,0));
DRAWTEXT(I2B>0 AND PO,I2B,' 亥                 '),ALIGN2,color808080;
LEN:=IF(SS=1,5,IF(SS=4,5,0))+IF(SS=6,4,0);
DRAWTEXT(LEN>0 AND PO,LEN,'申                                  '),ALIGN2,colorFFFFFF;
EN2:=IF(XX=7,3,0);
DRAWTEXT(EN2>0 AND PO,EN2,'申                                  '),ALIGN2,colorFFFFFF;
QV:=IF(SS=1,6,IF(SS=4,6,0))+IF(SS=6,5,IF(SS=7,4,0));
DRAWTEXT(QV>0 AND PO,QV,'戌                                  '),ALIGN2,colorFFFF;
LHIU:=IF(XX=2,3,IF(XX=5,1,0))+IF(XX=3,2,0);
DRAWTEXT(LHIU>0 AND PO,LHIU,'丑                                  '),ALIGN2,colorFFFF;
SU2:=IF(SS=8,4,0);
WI2:=IF(XX=8,1,0);
DRAWTEXT(SU2>0 AND PO,SU2,'丑                                  '),ALIGN2,colorFFFF;
LLO:=IF(XX=8,3,IF(XX=3,1,0))+IF(XX=2,2,0);
DRAWTEXT(LLO>0 AND PO,LLO,'卯                                  '),ALIGN2,colorFFFF00;
LAU2:=IF(SS=5,6,0);
DRAWTEXT(LAU2>0 AND PO,LAU2,'卯                                  '),ALIGN2,colorFFFF00;
PI:=IF(XX=8,2,IF(XX=2,1,0));
SI2:=IF(SS=3,6,IF(SS=5,5,0));
DRAWTEXT(PI>0 AND PO,PI,'巳                                  '),ALIGN2,colorFF;
DRAWTEXT(SI2>0 AND PO,SI2,'巳                                  '),ALIGN2,colorFF;
PPI:=IF(SS=5,4,IF(SS=3,5,0))+IF(SS=2,6,0);
DRAWTEXT(PPI>0 AND PO,PPI,'未                                  '),ALIGN2,colorFFFF;
DRAWTEXT(WI2>0 AND PO,WI2,'未                                  '),ALIGN2,colorFFFF;
OOU:=IF(SS=8,6,IF(SS=3,4,0))+IF(SS=2,5,0);
DRAWTEXT(OOU>0 AND PO,OOU,'酉                                  '),ALIGN2,colorFFFFFF;
JU2:=IF(XX=5,3,0);
HL:=IF(SS=8,5,IF(SS=2,4,0));
DRAWTEXT(JU2>0 AND PO,JU2,'酉                                  '),ALIGN2,colorFFFFFF;
DRAWTEXT(HL>0 AND PO,HL,'亥                                  '),ALIGN2,color808080;
I2:=IF(XX=5,2,IF(XX=3,3,0));
DRAWTEXT(I2>0 AND PO,I2,'亥                                  '),ALIGN2,color808080;
RTQ:=XXS=1 OR XXS=4;
DRAWTEXT(RTQ>0 AND PO,RTQ,'子                 '),ALIGN2,color808080;
TR:=IF(SSX=7,5,IF(SSX=6,6,0));
DRAWTEXT(TR>0 AND PO,TR,'子                 '),ALIGN2,color808080;
HUY:=IF(XXS=1,2,IF(XXS=4,2,0))+IF(XXS=6,1,0);
DRAWTEXT(HUY>0 AND PO,HUY,'寅                 '),ALIGN2,colorFFFF00;
HU2A:=IF(SSX=7,6,0);
DRAWTEXT(HU2A>0 AND PO,HU2A,'寅                 '),ALIGN2,colorFFFF00;
FEY:=IF(XXS=1,3,IF(XXS=4,3,0))+IF(XXS=6,2,IF(XXS=7,1,0));
DRAWTEXT(FEY>0 AND PO,FEY,'辰                 '),ALIGN2,colorFFFF;
TUA:=IF(SSX=1,4,IF(SSX=4,4,0));
DRAWTEXT(TUA>0 AND PO,TUA,'午                 '),ALIGN2,colorFF;
GUTA:=IF(XXS=6,3,IF(XXS=7,2,0));
DRAWTEXT(GUTA>0 AND PO,GUTA,'午                 '),ALIGN2,colorFF;
W:=IF(SS=1,4,0)+IF(SS=4,4,0)+IF(SS=5,5,0)+IF(SS=3,6,0);
Q2:=IF(SS=6,6,0)+IF(SS=7,5,0)+IF(SS=8,5,0)+IF(SS=2,4,0);
Q:=IF(XX=1,1,0)+IF(XX=4,1,0)+IF(XX=5,2,0)+IF(XX=3,3,0);
J:=IF(XX=1,2,0)+IF(XX=4,2,0)+IF(XX=6,1,0)+IF(XX=8,3,0)+IF(XX=3,1,0)+IF(XX=2,2,0);
J2:=IF(SS=5,6,0)+IF(SS=7,6,0);
M2:=IF(XX=7,3,0)+IF(XX=5,3,0);
M:=IF(SS=1,5,0)+IF(SS=6,4,0)+IF(SS=8,6,0)+IF(SS=4,5,0)+IF(SS=3,4,0)+IF(SS=2,5,0);
OV:=IF(XXX=0,3,IF(XXX=7,6,0))+IF(XXX=4,2,IF(XXX=1,4,0))+IF(XXX=6,1,IF(XXX=5,3,0))+IF(XXX=2,4,IF(XXX=3,5,0));
VO:=IF(OV=1,4,IF(OV=2,5,0))+IF(OV=3,6,IF(OV=4,1,0))+IF(OV=5,2,IF(OV=6,3,0));
OOO:=IF(XX=1,8,IF(XX=2,7,0))+IF(XX=3,6,IF(XX=4,5,0))+IF(XX=5,4,IF(XX=6,3,0))+IF(XX=7,2,IF(XX=8,1,0));
G1:=IF(OV<3,SS,0)+IF(OV=6,SS,0)+IF(OV=4,OOO,0)+IF(OV=5,OOO,0);
G:=IF(OV<3 OR OV=6,SS,0)+IF(OV=3 AND XXX=5,XX,IF(OV=3,SS,0))+IF(OV=4 OR OV=5,OOO,0);
GWX:=G=1 OR G=2+IF(G>=7,5,0)+IF(G=3,4,0)+IF(G=4,3,0)+IF(G=5,3,0)+IF(G=6,2,0);
E:=IF(SS=1,6,0)+IF(SS=4,6,0)+IF(SS=7,4,0)+IF(SS=6,5,0)+IF(SS=8,4,0)+IF(SS=5,4,0)+IF(SS=2,6,0)+IF(SS=3,5,0);
E2:=IF(XX=6,2,0)+IF(XX=7,1,0)+IF(XX=2,3,0)+IF(XX=1,3,0)+IF(XX=4,3,0)+IF(XX=8,1,0)+IF(XX=3,2,0)+IF(XX=5,1,0);
W2:=IF(XX=6,3,0)+IF(XX=8,2,0)+IF(XX=2,1,0)+IF(XX=7,2,0);
SO:=M=3 OR M2=3+IF(J=3,3,0)+IF(J2=3,3,0)+IF(W=3,4,0)+IF(W2=3,4,0)+IF(Q=3,2,0)+IF(Q2=3,2,0)+IF(E=3,5,0)+IF(E2=3,5,0)-GWX;
EO:=M=2 OR M2=2+IF(J=2,3,0)+IF(J2=2,3,0)+IF(W=2,4,0)+IF(W2=2,4,0)+IF(Q=2,2,0)+IF(Q2=2,2,0)+IF(E=2,5,0)+IF(E2=2,5,0)-GWX;
YO:=M=1 OR M2=1+IF(J=1,3,0)+IF(J2=1,3,0)+IF(W=1,4,0)+IF(W2=1,4,0)+IF(Q=1,2,0)+IF(Q2=1,2,0)+IF(E=1,5,0)+IF(E2=1,5,0)-GWX;
UP:=YO=-1 OR YO=4+IF(EO=-1,2,0)+IF(EO=4,2,0)+IF(SO=-1,3,0)+IF(SO=4,3,0);
DRAWTEXT(UP>0 AND PO,UP,'父                                '),ALIGN2,colorFF00FF;
UI:=YO=-3 OR YO=2+IF(EO=-3,2,0)+IF(EO=2,2,0)+IF(SO=-3,3,0)+IF(SO=2,3,0);
DRAWTEXT(UI>0 AND PO,UI,'财                                '),ALIGN2,colorFF00FF;
GU:=YO=-2 OR YO=3+IF(EO=-2,2,0)+IF(EO=3,2,0)+IF(SO=-2,3,0)+IF(SO=3,3,0);
DRAWTEXT(GU>0 AND PO,GU,'官                                '),ALIGN2,colorFF00FF;
IU:=YO=-4 OR YO=1+IF(EO=-4,2,0)+IF(EO=1,2,0)+IF(SO=-4,3,0)+IF(SO=1,3,0);
DRAWTEXT(IU>0 AND PO,IU,'子                                '),ALIGN2,colorFF00FF;
UX:=IF(YO=0,1,0)+IF(EO=0,2,0)+IF(SO=0,3,0);
ASDI:=XX=1 OR XX=2 OR XX=3 OR XX=4;
DRAWTEXT(UX>0 AND PO,UX,'兄                                '),ALIGN2,colorFF00FF;
E2A:=IF(XXS=6,2,0)+IF(XXS=7,1,0)+IF(XXS=2,3,0)+IF(XXS=1,3,0)+IF(XXS=4,3,0)+IF(XXS=8,1,0)+IF(XXS=3,2,0)+IF(XXS=5,1,0);
SDFR:=XX=1 OR XX=2 OR XX=5 OR XX=6;
EA:=IF(SSX=1,6,0)+IF(SSX=4,6,0)+IF(SSX=7,4,0)+IF(SSX=6,5,0)+IF(SSX=8,4,0)+IF(SSX=5,4,0)+IF(SSX=2,6,0)+IF(SSX=3,5,0);
GIA:=XXS=1 OR XXS=2 OR XXS=3 OR XXS=4;
W2A:=IF(XXS=6,3,0)+IF(XXS=8,2,0)+IF(XXS=2,1,0)+IF(XXS=7,2,0);
WA:=TUA+IF(SSX=5,5,0)+IF(SSX=3,6,0);
XXSS:=SS*10+XX;
Q2A:=IF(SSX=6,6,0)+IF(SSX=7,5,0)+IF(SSX=8,5,0)+IF(SSX=2,4,0);
QA:=RTQ+IF(XXS=5,2,0)+IF(XXS=3,3,0);
JA:=IF(XXS=1,2,0)+IF(XXS=4,2,0)+IF(XXS=6,1,0)+IF(XXS=8,3,0)+IF(XXS=3,1,0)+IF(XXS=2,2,0);
M2H:=IF(XXS=7,3,0)+IF(XXS=5,3,0);
J2A:=IF(SSX=5,6,0)+IF(SSX=7,6,0);
MAL:=IF(SSX=1,5,0)+IF(SSX=6,4,0)+IF(SSX=8,6,0)+IF(SSX=4,5,0)+IF(SSX=3,4,0)+IF(SSX=2,5,0);
ANYA:=MAL=3 OR M2H=3+IF(JA=3,3,0)+IF(J2A=3,3,0)+IF(WA=3,4,0)+IF(W2A=3,4,0)+IF(QA=3,2,0)+IF(Q2A=3,2,0)+IF(EA=3,5,0)+IF(E2A=3,5,0)-GWX;
RYA:=MAL=2 OR M2H=2+IF(JA=2,3,0)+IF(J2A=2,3,0)+IF(WA=2,4,0)+IF(W2A=2,4,0)+IF(QA=2,2,0)+IF(Q2A=2,2,0)+IF(EA=2,5,0)+IF(E2A=2,5,0)-GWX;
IYA:=MAL=1 OR M2H=1+IF(JA=1,3,0)+IF(J2A=1,3,0)+IF(WA=1,4,0)+IF(W2A=1,4,0)+IF(QA=1,2,0)+IF(Q2A=1,2,0)+IF(EA=1,5,0)+IF(E2A=1,5,0)-GWX;
UPS:=IYA=-1 OR IYA=4+IF(RYA=-1,2,0)+IF(RYA=4,2,0)+IF(ANYA=-1,3,0)+IF(ANYA=4,3,0);
DRAWTEXT(UPS>0 AND PO,UPS,'父              '),ALIGN2,colorFF00FF;
UIS:=IYA=-3 OR IYA=2+IF(RYA=-3,2,0)+IF(RYA=2,2,0)+IF(ANYA=-3,3,0)+IF(ANYA=2,3,0);
DRAWTEXT(UIS>0 AND PO,UIS,'财              '),ALIGN2,colorFF00FF;
GUS:=IYA=-2 OR IYA=3+IF(RYA=-2,2,0)+IF(RYA=3,2,0)+IF(ANYA=-2,3,0)+IF(ANYA=3,3,0);
DRAWTEXT(GUS>0 AND PO,GUS,'官              '),ALIGN2,colorFF00FF;
IUS:=IYA=-4 OR IYA=1+IF(RYA=-4,2,0)+IF(RYA=1,2,0)+IF(ANYA=-4,3,0)+IF(ANYA=1,3,0);
DRAWTEXT(IUS>0 AND PO,IUS,'子              '),ALIGN2,colorFF00FF;
ON:=IF(IYA=0,1,0)+IF(RYA=0,2,0)+IF(ANYA=0,3,0);
DRAWTEXT(ON>0 AND PO,ON,'兄              '),ALIGN2,colorFF00FF;
LO:=M=6 OR M2=6+IF(J=6,3,0)+IF(J2=6,3,0)+IF(W=6,4,0)+IF(W2=6,4,0)+IF(Q=6,2,0)+IF(Q2=6,2,0)+IF(E=6,5,0)+IF(E2=6,5,0)-GWX;
WO:=M=5 OR M2=5+IF(J=5,3,0)+IF(J2=5,3,0)+IF(W=5,4,0)+IF(W2=5,4,0)+IF(Q=5,2,0)+IF(Q2=5,2,0)+IF(E=5,5,0)+IF(E2=5,5,0)-GWX;
HO:=M=4 OR M2=4+IF(J=4,3,0)+IF(J2=4,3,0)+IF(W=4,4,0)+IF(W2=4,4,0)+IF(Q=4,2,0)+IF(Q2=4,2,0)+IF(E=4,5,0)+IF(E2=4,5,0)-GWX;
JUI:=IF(HO=-1,4,0)+IF(HO=4,4,0)+IF(WO=-1,5,0)+IF(WO=4,5,0)+IF(LO=-1,6,0)+IF(LO=4,6,0);
DRAWTEXT(JUI>0 AND PO,JUI,'父                                '),ALIGN2,colorFF00FF;
JHAII:=IF(HO=-3,4,0)+IF(HO=2,4,0)+IF(WO=-3,5,0)+IF(WO=2,5,0)+IF(LO=-3,6,0)+IF(LO=2,6,0);
DRAWTEXT(JHAII>0 AND PO,JHAII,'财                                '),ALIGN2,colorFF00FF;
JUANI:=IF(HO=-2,4,0)+IF(HO=3,4,0)+IF(WO=-2,5,0)+IF(WO=3,5,0)+IF(LO=-2,6,0)+IF(LO=3,6,0);
DRAWTEXT(JUANI>0 AND PO,JUANI,'官                                '),ALIGN2,colorFF00FF;
JZII:=IF(HO=-4,4,0)+IF(HO=1,4,0)+IF(WO=-4,5,0)+IF(WO=1,5,0)+IF(LO=-4,6,0)+IF(LO=1,6,0);
DRAWTEXT(JZII>0 AND PO,JZII,'子                                '),ALIGN2,colorFF00FF;
IUYA:=MAL=6 OR M2H=6+IF(JA=6,3,0)+IF(J2A=6,3,0)+IF(WA=6,4,0)+IF(W2A=6,4,0)+IF(QA=6,2,0)+IF(Q2A=6,2,0)+IF(EA=6,5,0)+IF(E2A=6,5,0)-GWX;
UYA:=MAL=5 OR M2H=5+IF(JA=5,3,0)+IF(J2A=5,3,0)+IF(WA=5,4,0)+IF(W2A=5,4,0)+IF(QA=5,2,0)+IF(Q2A=5,2,0)+IF(EA=5,5,0)+IF(E2A=5,5,0)-GWX;
HIYA:=MAL=4 OR M2H=4+IF(JA=4,3,0)+IF(J2A=4,3,0)+IF(WA=4,4,0)+IF(W2A=4,4,0)+IF(QA=4,2,0)+IF(Q2A=4,2,0)+IF(EA=4,5,0)+IF(E2A=4,5,0)-GWX;
JXIGI:=IF(HO=0,4,0)+IF(WO=0,5,0)+IF(LO=0,6,0);
DRAWTEXT(JXIGI>0 AND PO,JXIGI,'兄                                '),ALIGN2,colorFF00FF;
RTY:=IF(DD=UP,1,0)+IF(DD=JUI,1,0)+IF(DD=UX,2,0)+IF(JXIGI=DD,2,0)+IF(DD=IU,3,0)+IF(JZII=DD,3,0)+IF(DD=UI,4,0)+IF(JHAII=DD,4,0)+IF(DD=GU,5,0)+IF(JUANI=DD,5,0);
JJF:=IF(HIYA=-1,4,0)+IF(HIYA=4,4,0)+IF(UYA=-1,5,0)+IF(UYA=4,5,0)+IF(IUYA=-1,6,0)+IF(IUYA=4,6,0);
DRAWTEXT(JJF>0 AND PO,JJF,'父              '),ALIGN2,colorFF00FF;
JHA:=IF(HIYA=-3,4,0)+IF(HIYA=2,4,0)+IF(UYA=-3,5,0)+IF(UYA=2,5,0)+IF(IUYA=-3,6,0)+IF(IUYA=2,6,0);
DRAWTEXT(JHA>0 AND PO,JHA,'财              '),ALIGN2,colorFF00FF;
JGA:=IF(HIYA=-2,4,0)+IF(HIYA=3,4,0)+IF(UYA=-2,5,0)+IF(UYA=3,5,0)+IF(IUYA=-2,6,0)+IF(IUYA=3,6,0);
DRAWTEXT(JGA>0 AND PO,JGA,'官              '),ALIGN2,colorFF00FF;
JZI:=IF(HIYA=-4,4,0)+IF(HIYA=1,4,0)+IF(UYA=-4,5,0)+IF(UYA=1,5,0)+IF(IUYA=-4,6,0)+IF(IUYA=1,6,0);
DRAWTEXT(JZI>0 AND PO,JZI,'子              '),ALIGN2,colorFF00FF;
JXI:=IF(HIYA=0,4,0)+IF(UYA=0,5,0)+IF(IUYA=0,6,0);
DRAWTEXT(JXI>0 AND PO,JXI,'兄              '),ALIGN2,colorFF00FF;
RGY1:=IF(DD=UPS,1,0)+IF(DD=JJF,1,0)+IF(DD=ON,2,0)+IF(JXI=DD,2,0)+IF(DD=IUS,3,0)+IF(JZI=DD,3,0)+IF(DD=UIS,4,0)+IF(JHA=DD,4,0)+IF(DD=GUS,5,0)+IF(JGA=DD,5,0);
RGY:=RGY1+RTY*10;
DRAWTEXT(PO,OV,'世                      '),ALIGN2,colorFF00FF;
DRAWTEXT(PO,VO,'应                      '),ALIGN2,colorFF00FF;
XSXS:=IF(XXSS=12,5,0)+IF(XXSS=15,2,0)+IF(XXSS=17,2,0)+IF(XXSS=23,3,0)+IF(XXSS=27,2,0)+IF(XXSS=32,5,0)+IF(XXSS=47,2,0)+IF(XXSS=52,5,0)+IF(XXSS=56,4,0)+IF(XXSS=57,5,0)+IF(XXSS=63,3,0)+IF(XXSS=64,3,0)+IF(XXSS=67,2,0)+IF(XXSS=76,4,0)+IF(XXSS=83,3,0)+IF(XXSS=87,2,0);
DRAWTEXT(XSXS>0 AND PO,XSXS,'财伏                                      '),ALIGN2,colorFF00FF;
SXIO:=IF(XSXS=5,1,0)+IF(XSXS=3,7,0)+IF(XSXS=4,10,0)+IF(XSXS=2,4,0)+IF(XXSS=15,-1,0)+IF(XXSS=17,-1,0);
DRAWTEXT(SXIO=1 AND PO,XSXS,'子                                           '),ALIGN2,colorFF;
DRAWTEXT(SXIO=3 AND PO,XSXS,'寅                                           '),ALIGN2,colorFFFF00;
DRAWTEXT(SXIO=4 AND PO,XSXS,'卯                                           '),ALIGN2,colorFFFF00;
DRAWTEXT(SXIO=7 AND PO,XSXS,'午                                           '),ALIGN2,colorFF;
DRAWTEXT(SXIO=10 AND PO,XSXS,'酉                                           '),ALIGN2,colorFFFFFF;
DRAWTEXT(ASDI>0 AND PO,1,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(ASDI=0 AND PO,1,'▄  ▄                         '),ALIGN2,colorFF00;
DRAWTEXT(SDFR>0 AND PO,2,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(SDFR=0 AND PO,2,'▄  ▄                         '),ALIGN2,colorFF00;
DFGN:=XX=1 OR XX=3 OR XX=5 OR XX=7;
DRAWTEXT(DFGN>0 AND PO,3,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(DFGN=0 AND PO,3,'▄  ▄                         '),ALIGN2,colorFF00;
FGH:=SS=1 OR SS=2 OR SS=3 OR SS=4;
DRAWTEXT(FGH>0 AND PO,4,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(FGH=0 AND PO,4,'▄  ▄                         '),ALIGN2,colorFF00;
GHJ:=SS=1 OR SS=2 OR SS=5 OR SS=6;
DRAWTEXT(GHJ>0 AND PO,5,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(GHJ=0 AND PO,5,'▄  ▄                         '),ALIGN2,colorFF00;
HJK:=SS=1 OR SS=3 OR SS=5 OR SS=7;
DRAWTEXT(HJK>0 AND PO,6,'▄▄▄                         '),ALIGN2,colorFF00;
DRAWTEXT(HJK=0 AND PO,6,'▄  ▄                         '),ALIGN2,colorFF00;
DRAWTEXT(GIA>0 AND PO,1,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(GIA=0 AND PO,1,'▄  ▄       '),ALIGN2,colorFF00;
TRA:=XXS=1 OR XXS=2 OR XXS=5 OR XXS=6;
DRAWTEXT(TRA>0 AND PO,2,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(TRA=0 AND PO,2,'▄  ▄       '),ALIGN2,colorFF00;
HANA:=XXS=1 OR XXS=3 OR XXS=5 OR XXS=7;
DRAWTEXT(HANA>0 AND PO,3,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(HANA=0 AND PO,3,'▄  ▄       '),ALIGN2,colorFF00;
SOIA:=SSX=1 OR SSX=2 OR SSX=3 OR SSX=4;
DRAWTEXT(SOIA>0 AND PO,4,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(SOIA=0 AND PO,4,'▄  ▄       '),ALIGN2,colorFF00;
IOP:=SSX=1 OR SSX=2 OR SSX=5 OR SSX=6;
DRAWTEXT(IOP>0 AND PO,5,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(IOP=0 AND PO,5,'▄  ▄       '),ALIGN2,colorFF00;
YUI:=SSX=1 OR SSX=3 OR SSX=5 OR SSX=7;
DRAWTEXT(YUI>0 AND PO,6,'▄▄▄       '),ALIGN2,colorFF00;
DRAWTEXT(YUI=0 AND PO,6,'▄  ▄       '),ALIGN2,colorFF00;
DDD:=IF(DD=1,ASDI,0)+IF(DD=2,SDFR,0)+IF(DD=3,DFGN,0)+IF(DD=4,FGH,0)+IF(DD=5,GHJ,0)+IF(DD=6,HJK,0);
DRAWTEXT(DDD+DD>DD AND PO,DD,'▄▄▄    o                    '),ALIGN2,colorFF;
DRAWTEXT(DDD+DD=DD AND PO,DD,'▄  ▄    x                    '),ALIGN2,colorFFFF00;
DRAWTEXT(PO,8,'月     日 (    )空            '),ALIGN2,colorFFFFCC;
DRAWTEXT(PO,7,'主卦                  变卦         '),ALIGN2,colorFFFFCC;
QQ:=GANZHI(DATE,TIME,2)+1;
I3:=MOD(QQ,12);
DZ:=IF(I3=0,12,I3);
XY3:=MOD(QQ,10);
TG:=IF(XY3=0,10,XY3);
DRAWTEXT(TG=1 AND PO,8,'甲                         '),ALIGN2,colorFF;
DRAWTEXT(TG=2 AND PO,8,'乙                         '),ALIGN2,colorFF;
DRAWTEXT(TG=3 AND PO,8,'丙                         '),ALIGN2,colorFF;
DRAWTEXT(TG=4 AND PO,8,'丁                         '),ALIGN2,colorFF;
DRAWTEXT(TG=5 AND PO,8,'戊                         '),ALIGN2,colorFF;
DRAWTEXT(TG=6 AND PO,8,'己                         '),ALIGN2,colorFF;
DRAWTEXT(TG=7 AND PO,8,'庚                         '),ALIGN2,colorFF;
DRAWTEXT(TG=8 AND PO,8,'辛                         '),ALIGN2,colorFF;
DRAWTEXT(TG=9 AND PO,8,'壬                         '),ALIGN2,colorFF;
DRAWTEXT(TG=10 AND PO,8,'癸                         '),ALIGN2,colorFF;
DRAWTEXT(DZ=1 AND PO,8,'子                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=2 AND PO,8,'丑                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=3 AND PO,8,'寅                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=4 AND PO,8,'卯                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=5 AND PO,8,'辰                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=6 AND PO,8,'巳                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=7 AND PO,8,'午                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=8 AND PO,8,'未                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=9 AND PO,8,'申                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=10 AND PO,8,'酉                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=11 AND PO,8,'戌                       '),ALIGN2,colorFF;
DRAWTEXT(DZ=12 AND PO,8,'亥                       '),ALIGN2,colorFF;
KM:=IF(QQ>10,1,0)+IF(QQ>20,1,0)+IF(QQ>30,1,0)+IF(QQ>40,1,0)+IF(QQ>50,1,0)+1;
DRAWTEXT(KM=6 AND PO,8,'子丑               '),ALIGN2,colorFF;
DRAWTEXT(KM=5 AND PO,8,'寅卯               '),ALIGN2,colorFF;
DRAWTEXT(KM=4 AND PO,8,'辰巳               '),ALIGN2,colorFF;
DRAWTEXT(KM=3 AND PO,8,'午未               '),ALIGN2,colorFF;
DRAWTEXT(KM=2 AND PO,8,'申酉               '),ALIGN2,colorFF;
DRAWTEXT(KM=1 AND PO,8,'戌亥               '),ALIGN2,colorFF;
NIQ:=(SSX-INTPART(SSX/2)*2)*4;
NPQ:=IF(SSX>4,0,1);
NOQ:=IF(SSX=5,2,IF(SSX=6,2,0))+IF(SSX<=2,2,IF(SSX>=7,0,0));
NLQ:=(XXS-INTPART(XXS/2)*2)*4;
NJQ:=IF(XXS>4,0,1);
NKQ:=IF(XXS=5,2,IF(XXS=6,2,0))+IF(XXS<=2,2,IF(XXS>=7,0,0));
XXXQ:=IF(NKQ=NOQ,2,0)+IF(NJQ=NPQ,1,0)+IF(NLQ=NIQ,4,0);
OVQ:=IF(XXXQ=0,3,IF(XXXQ=7,6,0))+IF(XXXQ=4,2,IF(XXXQ=1,4,0))+IF(XXXQ=6,1,IF(XXXQ=5,3,0))+IF(XXXQ=2,4,IF(XXXQ=3,5,0));
DRAWTEXT(PO,OVQ,'世    '),ALIGN2,colorFF00FF;
VOQ:=IF(OVQ=1,4,IF(OVQ=2,5,0))+IF(OVQ=3,6,IF(OVQ=4,1,0))+IF(OVQ=5,2,IF(OVQ=6,3,0));
DRAWTEXT(PO,VOQ,'应    '),ALIGN2,colorFF00FF;
QL:=IF(TG<=2,1,0)+IF(TG=3,6,0)+IF(TG=4,6,0)+IF(TG=5,5,0)+IF(TG=6,4,0)+IF(TG=7,3,0)+IF(TG=8,3,0)+IF(TG>=9,2,0);
DRAWTEXT(PO,QL,'龙'),ALIGN2,colorFFFF00;
BB:=SS*10+XX;
Q:=IF(QL+1<7,QL+1,IF(QL+1>6,QL-5,0));
DRAWTEXT(PO,Q,'雀'),ALIGN2,colorFF;
G:=IF(QL+2<7,QL+2,IF(QL+2>6,QL-4,0));
DRAWTEXT(PO,G,'勾'),ALIGN2,colorFFFF;
S:=IF(QL+3<7,QL+3,IF(QL+3>6,QL-3,0));
DRAWTEXT(PO,S,'蛇'),ALIGN2,colorFFFF;
HH:=IF(QL+4<7,QL+4,IF(QL+4>6,QL-2,0));
DRAWTEXT(PO,HH,'虎'),ALIGN2,colorFFFFFF;
W:=IF(QL+5<7,QL+5,IF(QL+5>6,QL-1,0));
DRAWTEXT(PO,W,'武'),ALIGN2,color808080;
DRAWTEXT(BB=68 AND PO,7,'水地比                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=61 AND PO,7,'水天需                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=21 AND PO,7,'泽天夬                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=41 AND PO,7,'雷天大壮                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=81 AND PO,7,'地天泰                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=82 AND PO,7,'地泽临                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=84 AND PO,7,'地雷复                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=88 AND PO,7,'坤为地                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=57 AND PO,7,'风山渐                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=52 AND PO,7,'风泽中孚                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=12 AND PO,7,'天泽履                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=32 AND PO,7,'火泽睽                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=72 AND PO,7,'山泽损                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=71 AND PO,7,'山天大畜                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=73 AND PO,7,'山火贲                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=77 AND PO,7,'艮为山                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=86 AND PO,7,'地水师                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=83 AND PO,7,'地火明夷                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=43 AND PO,7,'雷火丰                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=23 AND PO,7,'泽火革                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=63 AND PO,7,'水火既济                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=64 AND PO,7,'水雷屯                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=62 AND PO,7,'水泽节                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=66 AND PO,7,'坎为水                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=75 AND PO,7,'山风蛊                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=74 AND PO,7,'山雷颐                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=34 AND PO,7,'火雷噬嗑                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=14 AND PO,7,'天雷无妄                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=54 AND PO,7,'风雷益                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=53 AND PO,7,'风火家人                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=51 AND PO,7,'风天小畜                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=55 AND PO,7,'巽为风                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=24 AND PO,7,'泽雷随                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=25 AND PO,7,'泽风大过                    '),ALIGN2,color5659FF;
DRAWTEXT(BB=65 AND PO,7,'水风井                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=85 AND PO,7,'地风升                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=45 AND PO,7,'雷风恒                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=46 AND PO,7,'雷水解                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=48 AND PO,7,'雷地豫                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=44 AND PO,7,'震为雷                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=13 AND PO,7,'天火同人                     '),ALIGN2,color5659FF;
DRAWTEXT(BB=16 AND PO,7,'天水讼                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=56 AND PO,7,'风水涣                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=76 AND PO,7,'山水蒙                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=36 AND PO,7,'火水未济                  '),ALIGN2,color5659FF;
DRAWTEXT(BB=35 AND PO,7,'火风鼎                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=37 AND PO,7,'火山旅                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=33 AND PO,7,'离为火                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=42 AND PO,7,'雷泽归妹                     '),ALIGN2,color5659FF;
DRAWTEXT(BB=47 AND PO,7,'雷山小过                     '),ALIGN2,color5659FF;
DRAWTEXT(BB=87 AND PO,7,'地山谦                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=67 AND PO,7,'水山蹇                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=27 AND PO,7,'泽山咸                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=28 AND PO,7,'泽地萃                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=26 AND PO,7,'泽水困                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=22 AND PO,7,'兑为泽                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=31 AND PO,7,'火天大有                     '),ALIGN2,color5659FF;
DRAWTEXT(BB=38 AND PO,7,'火地晋                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=78 AND PO,7,'山地剥                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=58 AND PO,7,'风地观                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=18 AND PO,7,'天地否                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=17 AND PO,7,'天山遁                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=15 AND PO,7,'天风姤                      '),ALIGN2,color5659FF;
DRAWTEXT(BB=11 AND PO,7,'乾为天                      '),ALIGN2,color5659FF;
DRAWYITEXT(DATE AND PO,7,SSX*10+XXS,1),ALIGN2,color5659FF;
DRAWTEXT(RGY=11 AND PO,0,'父化父:筹码换手,股票供应量发生变动,旺相化退、囚休化进股价上涨;旺相化进、休囚化退股价下跌;'),ALIGN2,color5659F;
DRAWTEXT(RGY=12 AND PO,0,'父化兄:股票供应量变动引起中小机构投机操作,父旺下跌,父衰减损;'),ALIGN2,color5659F;
DRAWTEXT(RGY=13 AND PO,0,'父化子:股票供应量变动引起广大投资者参与,父旺子衰利少,父衰子旺利多;'),ALIGN2,color5659F;
DRAWTEXT(RGY=14 AND PO,0,'父化财:股票供应量变动引起场外对资金需求,父旺下跌,财旺上涨;'),ALIGN2,color5659F;
DRAWTEXT(RGY=15 AND PO,0,'父化官:股票供应量变动引起主力机构操盘,父旺下跌,官旺下跌;'),ALIGN2,color5659F;
DRAWTEXT(RGY=21 AND PO,0,'兄化父:动化回头生,投机行为引起股票供应量产生变化,求财无望;(父旺卖出)'),ALIGN2,color5659F;
DRAWTEXT(RGY=22 AND PO,0,'兄化兄:投机行为引发投机行情,旺相化退、囚休化进对投机有利。空亡化进填实大跌;'),ALIGN2,color5659F;
DRAWTEXT(RGY=23 AND PO,0,'兄化子:投机行为引发投资者参与,盘中机会多(子旺买入);'),ALIGN2,color5659F;
DRAWTEXT(RGY=24 AND PO,0,'兄化财:投机行为引发投机者套现,场外资金需求量增加,兄旺不易得财;(卖出)'),ALIGN2,color5659F;
DRAWTEXT(RGY=25 AND PO,0,'兄化官:投机行为受到管理层制约。'),ALIGN2,color5659F;
DRAWTEXT(RGY=31 AND PO,0,'子化父:广大投资者的参与引发股票供应量的变化,父旺注意逢高派发;'),ALIGN2,color5659F;
DRAWTEXT(RGY=32 AND PO,0,'子化兄:动化回头生,广大投资者的参与引发投机行为,投资者积极参与;(兄衰子旺买入)'),ALIGN2,color5659F;
DRAWTEXT(RGY=33 AND PO,0.2,'子化子:广大投资者积极参与,化长生或得日月,子动会青龙上涨,若空亡化进,必跌无疑,化退下跌;'),ALIGN2,color5659F;
DRAWTEXT(RGY=34 AND PO,0,'子化财:广大投资者参与提供股市资金,场外资金需求量发生变化,子旺上涨;'),ALIGN2,color5659F;
DRAWTEXT(RGY=35 AND PO,0,'子化官:广大投资折的参与引发政府或机构做市,拉高不跟进,打低不出局,求财无力防亏损;'),ALIGN2,color5659F;
DRAWTEXT(RGY=41 AND PO,0,'财化父:场外资金需求量变动引起股票供应量变动,上拉下压,先涨后跌,求财不利;'),ALIGN2,color5659F;
DRAWTEXT(RGY=42 AND PO,0,'财化兄:动化回头克,股价变动场外对资金的需求,引发投机,低吸高抛,赚取差价,才旺兄衰有财;'),ALIGN2,color5659F;
DRAWTEXT(RGY=43 AND PO,0,'财化子:动化回头生,股价变动引发场外对资金的需求,投资者抛售获利,子旺上涨;'),ALIGN2,color5659F;
DRAWTEXT(RGY=44 AND PO,0,'财化财:场外资金需求量变化引起股价变动,化退神为资金供应量减少,破财之相;化进神,成交量增加,股价上涨;'),ALIGN2,color5659F;
DRAWTEXT(RGY=45 AND PO,0,'财化官:场外资金需求量增加,机构融资;'),ALIGN2,color5659F;
DRAWTEXT(RGY=51 AND PO,0,'官化父:主力机构行为引发股票供应量变动,父旺下跌,通常刻意打压,低位吸货,特殊情况如遇突发事件,利好将至,也采取拉高吸货;'),ALIGN2,color5659F;
DRAWTEXT(RGY=52 AND PO,0,'官化兄;管理层和大机构变动引发投机,耗财;'),ALIGN2,color5659F;
DRAWTEXT(RGY=53 AND PO,0,'官化子:动化回头克,大机构行为受到广大投资者制约,破财;(子旺买入)'),ALIGN2,color5659F;
DRAWTEXT(RGY=54 AND PO,0,'官化财:大机构行为引起场外资金需求量变动,通常拉高派发,克世大吉,世克则凶,逢空低位派发;(卖出)'),ALIGN2,color5659F;
DRAWTEXT(RGY=55 AND PO,0,'官化官:管理层或大机构会有大动作,旺相股价下跌,囚休止跌回升,旺相空旺涨;'),ALIGN2,color5659F;
EXPLAIN(CLOSE>0,'\n主卦动爻:'),color5659FF;
EXPLAIN(RTY=1,'父母:(1)股票供应量(2)消息(3)法规'),colorFFFF;
EXPLAIN(RTY=2,'兄弟:(1)投机者(2)中小机构(3)大户(4)大机构中的投机行为'),colorFFFFFF;
EXPLAIN(RTY=3,'子孙:(1)资金提供者(2)广大投资者(3)散户'),colorFF00FF;
EXPLAIN(RTY=4,'妻财:(1)股价 (2)场外资金需求量'),colorFF;
EXPLAIN(RTY=5,'官鬼:(1)决策层(2)管理层,包括证监会、交易所(3)大机构或主力机构'),colorFFFF00;
EXPLAIN(RGY1<>RTY OR RGY1<>RTY OR RGY1<>RTY OR RGY1<>RTY OR RGY1<>RTY,'变卦动爻:'),color5659FF;
EXPLAIN(RGY1=1 AND RGY1<>RTY,'父母:(1)股票供应量(2)消息(3)法规'),colorFFFF;
EXPLAIN(RGY1=2 AND RGY1<>RTY,'兄弟:(1)投机者(2)中小机构(3)大户(4)大机构中的投机行为'),colorFFFFFF;
EXPLAIN(RGY1=3 AND RGY1<>RTY,'子孙:(1)资金提供者(2)广大投资者(3)散户'),colorFF00FF;
EXPLAIN(RGY1=4 AND RGY1<>RTY,'妻财:(1)股价 (2)场外资金需求量'),colorFF;
EXPLAIN(RGY1=5 AND RGY1<>RTY,'官鬼:(1)决策层(2)管理层,包括证监会、交易所(3)大机构或主力机构'),colorFFFF00;
EXPLAIN(CLOSE>0,'*******************************************');
EXPLAIN(DD=QL,'青龙:属东方木,遇木日,入木爻,主吉庆,应把握机遇'),colorFFFF00;
EXPLAIN(DD=Q,'朱雀:属南方火,遇火日,入火爻,关注消息面,防口舌是非'),colorFF;
EXPLAIN(DD=G,'勾陈:属土,遇四正日(子午卯酉),入土爻,主留连,优柔寡断,防勾连纠缠'),colorFFFF;
EXPLAIN(DD=S,'滕蛇:属土,无正位,遇四隅土日(辰戌丑未),入土爻,防虚惊怪异之事'),colorFFFF;
EXPLAIN(DD=HH,'白虎:属西方金,遇金日,防凶恶之事'),colorFFFFFF;
EXPLAIN(DD=W,'玄武:属北方水,遇水日,入水爻,防奸盗阴私,财产损失'),color808080;
EXPLAIN(CLOSE>0,'ooooooooooooooooooooooooooooooooooooooooo');
EXPLAIN(CLOSE>0,'吉事遇吉神更吉,凶事遇凶神更凶,发生异常现象时,六神参断尤为重要。但以无行生克为主,六神为辅。'),color5659F;
EXPLAIN(CLOSE>0,'\n六甲空亡: \n若遇空亡,空方得势。官鬼空亡,主力机构作空;兄弟空亡,中小机构作空;子孙空亡,散户作空;父母空亡,利空谣传,恐慌抛盘;妻财空亡,资金短缺,成交量小,股价难涨,求财难得。'),colorFF00;
EXPLAIN(CLOSE>0,'ooooooooooooooooooooooooooooooooooooooooo');
EXPLAIN(CLOSE>0,'一:首看父兄官:父兄气尽时切入(最佳),以官将转旺(次佳),以财子将转旺时切入(三佳)。这是做多头的三个买入的切入点。二:次看官子财:以官子财最旺时抛出。以父兄将转旺时抛出!以股票攀升后放巨量和放天量时抛出!这是做多头的三个卖出的抛出点。  做空以此相反类推,在期货市场屡见奇准奇验!例如做空的“首看官子财,次看父与兄!财爻最旺是巅峰,子爻最旺是巅峰,官爻最旺是巅峰!这时绝不可做多,而最宜做空!');
A:=LSOLARTERMDAY(DATE);
DD:=INTPART(DATEDIFF(REF(DATE,1),DATE)/15);
AA3:=FLATZIGA(A,1)=0 OR A=REF(A,1);
WQ:=BARSLAST(AA3 OR BARPOS=1);
J:=SUM(AA3+DD,BARSLAST(YEAR<>REF(YEAR,1) OR BARPOS=1));
GD:=WQ<>0;
WH:=0*CLOSE;
I:=CROSS(WQ,WH) OR ISLASTBAR*(WH>WQ);
P1:=SYSPARAM(1);
I:=J[P1];
JQ:=IF(I=1,'小寒',IF(I=2,'大寒',IF(I=3,'立春',IF(I=4,'雨水',IF(I=5,'惊蛰',IF(I=6,'春分',IF(I=7,'清明',IF(I=8,'谷雨',IF(I=9,'立夏',IF(I=10,'小满',IF(I=11,'芒种',IF(I=12,'夏至',IF(I=13,'小暑',IF(I=14,'大暑',IF(I=15,'立秋',IF(I=16,'处暑',IF(I=17,'白露',IF(I=18,'秋分',IF(I=19,'寒露',IF(I=20,'霜降',IF(I=21,'立冬',IF(I=22,'小雪',IF(I=23,'大雪','冬至')))))))))))))))))))))));
PP:=JQ+'后第'+NUMTOSTR(A[P1],0)+'天';
DRAWTEXT(PO,8,PP),ALIGN2,colorFF00;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式