【輪回線】
IS1T1:=1;
IS2T1:=1;
IS1T2:=1;
ISPX:=0;
ISGOLD:=1;
ISVOL:=0;
DFIX:=0;
DFIXX:=IF(DFIX=0, IF(PERIOD=0,17,IF(PERIOD=1 OR PERIOD=2,10,IF(PERIOD=3,7,IF(PERIOD>=4,5,1)))),DFIX);
輪回DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
輪回DEA:= EMA(輪回DIFF,9);
上穿周期:=BARSLAST(LONGCROSS(輪回DEA,0,DFIXX));
下穿周期:=BARSLAST(LONGCROSS(0,輪回DEA,DFIXX));
最低點(diǎn)周期:=BARSLAST(L=LLV(L,下穿周期) AND 輪回DEA<0);
最高點(diǎn)周期:=BARSLAST(H=HHV(H,最低點(diǎn)周期));
輪高點(diǎn)TJ1:=LONGCROSS(0,輪回DEA,DFIXX);{最后一天的條件}
輪高點(diǎn)TJ2:=BACKSET(輪高點(diǎn)TJ1,最高點(diǎn)周期+1);
輪高點(diǎn):=輪高點(diǎn)TJ2>REF(輪高點(diǎn)TJ2,1);
輪低最高點(diǎn)周期:=BARSLAST(H=HHV(H,上穿周期) AND 輪回DEA>0);
輪低最低點(diǎn)周期:=BARSLAST(L=LLV(L,輪低最高點(diǎn)周期));
輪低點(diǎn)TJ1:=LONGCROSS(輪回DEA,0,DFIXX);{最后一天的條件}
輪低點(diǎn)TJ2:=BACKSET(輪低點(diǎn)TJ1,輪低最低點(diǎn)周期+1);
輪低點(diǎn):=輪低點(diǎn)TJ2>REF(輪低點(diǎn)TJ2,1);
GGP:=BARSLAST(輪高點(diǎn));
DDP:=BARSLAST(輪低點(diǎn));
距離:=IF(輪高點(diǎn),DDP,IF(輪低點(diǎn),GGP,DRAWNULL)),NODRAW;
力度:=IF(輪高點(diǎn),(HHV(H,GGP+1)-LLV(L,DDP+1)),IF(輪低點(diǎn),(HHV(H,GGP+1)-LLV(L,DDP+1)),DRAWNULL)),NODRAW;
均力:=IF(輪高點(diǎn),(HHV(H,GGP+1)-LLV(L,DDP+1))/(DDP),IF(輪低點(diǎn),(HHV(H,GGP+1)-LLV(L,DDP+1))/(GGP),DRAWNULL)),NODRAW;
輪回點(diǎn):=輪低點(diǎn) OR 輪高點(diǎn);
NZ1:=BARSLAST(輪回點(diǎn));{最近轉(zhuǎn)折點(diǎn)到現(xiàn)在的時(shí)間,如果現(xiàn)在是輪回點(diǎn),值為0}
NZ2:=REF(NZ1,NZ1+1)+NZ1+1;{第二轉(zhuǎn)折點(diǎn)到現(xiàn)在的時(shí)間};
NZ3:=REF(NZ2,NZ2)+NZ2;{第3轉(zhuǎn)折點(diǎn)到現(xiàn)在的時(shí)間}
NZ4:=REF(NZ2,NZ3)+NZ3;{第4轉(zhuǎn)折點(diǎn)到現(xiàn)在的時(shí)間}
糾偏率:=IF(輪回點(diǎn),力度/REF(力度,NZ2),DRAWNULL)NODRAW;
盤背率:=IF(輪回點(diǎn),力度/REF(力度,NZ3),DRAWNULL)NODRAW;
{畫線}
ISLINE:=BACKSET(輪高點(diǎn) OR 輪低點(diǎn),MAX(GGP,DDP));
LED:=IF(GGP>DDP,REF(L,DDP)+REF(均力,(DDP))*(DDP),REF(H,GGP)-REF(均力,(GGP))*(GGP));
LED2:=IF(GGP>DDP,REF(L,DDP)+REF(均力,(DDP))*2*(DDP),REF(H,GGP)-REF(均力,(GGP))*2*(GGP));
LED3:=IF(GGP>DDP,REF(L,DDP)+REF(均力,(DDP))/2*(DDP),REF(H,GGP)-REF(均力,(GGP))/2*(GGP));
角11:DRAWLINE(IS1T1 AND (輪低點(diǎn) OR 輪高點(diǎn)) AND ISLINE,IF(GGP>DDP,L,H),ISLASTBAR,LED,0),COLORWHITE,DOTLINE;
角21:DRAWLINE(IS2T1 AND (輪低點(diǎn) OR 輪高點(diǎn)) AND ISLINE,IF(GGP>DDP,L,H),ISLASTBAR,LED2,0),COLORLIBLUE,DOTLINE;
角12:DRAWLINE(IS1T2 AND (輪低點(diǎn) OR 輪高點(diǎn)) AND ISLINE,IF(GGP>DDP,L,H),ISLASTBAR,LED3,0),COLORLIGREEN,DOTLINE;
上升:DRAWLINE(輪低點(diǎn),L,輪高點(diǎn), H,0),COLORMAGENTA;
下降:DRAWLINE(輪高點(diǎn),H,輪低點(diǎn), L,0),COLORGREEN;
{輪回點(diǎn)要標(biāo)出當(dāng)下斜率,命名斜率1,分輪高點(diǎn)和輪低點(diǎn)兩種情況}
最后輪回點(diǎn)TJ:=BACKSET(ISLASTBAR,BARSLAST(輪回點(diǎn))+1);
最后輪回點(diǎn):=最后輪回點(diǎn)TJ>REF(最后輪回點(diǎn)TJ,1);
最后輪回點(diǎn)SJ:=BARSLAST(最后輪回點(diǎn));
BS:=IF (CLOSE>1000,1,100);
{輪低點(diǎn)情況}
輪低點(diǎn)斜率1:=IF(輪低點(diǎn),(REF(H,NZ2)-L)/NZ2,0) ;
輪低點(diǎn)斜率2:=IF(輪低點(diǎn),(REF(H,NZ2)-REF(L,NZ3))/(NZ3-NZ2),0);
輪低點(diǎn)斜率3:=IF(輪低點(diǎn),(REF(H,NZ4)-REF(L,NZ3))/(NZ4-NZ3),0);
DRAWNUMBER(輪低點(diǎn),(L+(REF(H,NZ2)-L)*0.1),BS*(REF(H,NZ2)-L)),COLORYELLOW; {顯示輪回線空間}
DRAWNUMBER(輪低點(diǎn),L,BS*((REF(H,NZ2)-L)/NZ2)),COLORYELLOW; {波動(dòng)率}
{輪高點(diǎn)情況}
輪高點(diǎn)斜率1:=IF(輪高點(diǎn),(H-REF(L,NZ2))/NZ2,0);
輪高點(diǎn)斜率2:=IF(輪高點(diǎn),(REF(H,NZ3)-REF(L,NZ2))/(NZ3-NZ2),0);
輪高點(diǎn)斜率3:=IF(輪高點(diǎn),(REF(H,NZ3)-REF(L,NZ4))/(NZ4-NZ3),0);
DRAWNUMBER(輪高點(diǎn),H,BS*(H-REF(L,NZ2))) COLORYELLOW ; {顯示輪回線空間}
DRAWNUMBER(輪高點(diǎn),H-(H-REF(L,NZ2))*0.1,BS*((H-REF(L,NZ2))/NZ2)) COLORYELLOW ; {波動(dòng)率}
VPOINT:=IF(輪低點(diǎn),L,IF(輪高點(diǎn),H,0));
輪回周期:=NZ2;
下降力度:=IF(輪低點(diǎn),1,0)*(REF(H,NZ2)-L);
下降波動(dòng)率:=IF(輪低點(diǎn),1,0)*((REF(H,NZ2)-L)/NZ2);
上升力度:=IF(輪高點(diǎn),1,0)*(H-REF(L,NZ2));
上升波動(dòng)率:=IF(輪高點(diǎn),1,0)*((H-REF(L,NZ2))/NZ2);
PTOP:=BARSLAST(輪高點(diǎn));
PBOT:=BARSLAST(輪低點(diǎn));
P1:=BARSLAST(下降波動(dòng)率>0);
P2:=SUMBARS(下降波動(dòng)率>0,2);
LLP:=BARSLAST(L=LLV(L,PTOP));
HHP:=BARSLAST(H=HHV(H,PBOT));
虛波動(dòng)率:IF(PTOP
虛擬空間:=IF(PTOP
P11:=BARSLAST(上升波動(dòng)率>0);
P22:=SUMBARS(上升波動(dòng)率>0,2);
DOWN:=REF(下降波動(dòng)率,P1),NODRAW;
UP:=REF(上升波動(dòng)率,P11),NODRAW;
VLINE:=IF (PTOP>PBOT,REF(上升力度,P11),(-1)*REF(下降力度,P1)) ,NODRAW;
LINE:=IF(PTOP>PBOT,(LLV(L,P1+1)+VLINE),HHV(H,P11+1)+VLINE),NODRAW;
{STICKLINE(IF(PTOP>PBOT,REF(下降波動(dòng)率,P1)
DD0:=BARSLAST(輪回點(diǎn)),NODRAW;
DD1:=SUMBARS(輪回點(diǎn),2)-1,NODRAW;
DD2:=SUMBARS(輪回點(diǎn),3)-1,NODRAW;
DD3:=SUMBARS(輪回點(diǎn),4)-1,NODRAW;
BD0:=IF(REF(上升波動(dòng)率*BS,DD0)>0,REF(上升波動(dòng)率*BS,DD0),REF(下降波動(dòng)率*BS,DD0));
BD1:=IF(REF(上升波動(dòng)率*BS,DD1)>0,REF(上升波動(dòng)率*BS,DD1),REF(下降波動(dòng)率*BS,DD1));
BD2:=IF(REF(上升波動(dòng)率*BS,DD2)>0,REF(上升波動(dòng)率*BS,DD2),REF(下降波動(dòng)率*BS,DD2));
BD3:=IF(REF(上升波動(dòng)率*BS,DD3)>0,REF(上升波動(dòng)率*BS,DD3),REF(下降波動(dòng)率*BS,DD3));
HH0:=IF(REF(下降力度,DD0)>0,REF(下降力度,DD0),REF(上升力度,DD0)),NODRAW;
HH1:=IF(REF(下降力度,DD1)>0,REF(下降力度,DD1),REF(上升力度,DD1)),NODRAW;
HH2:=IF(REF(下降力度,DD2)>0,REF(下降力度,DD2),REF(上升力度,DD2)),NODRAW;
HH3:=IF(REF(下降力度,DD3)>0,REF(下降力度,DD3),REF(上升力度,DD3)),NODRAW;
CC0:=REF(輪回周期,DD0),NODRAW;
CC1:=REF(輪回周期,DD1),NODRAW;
CC2:=REF(輪回周期,DD2),NODRAW;
CC3:=REF(輪回周期,DD3),NODRAW;
累計(jì)換手:SUM(VOL/CAPITAL,DD0-1)*(IF(PTOP
跌幅:(HHV(H,DD0)-LLV(L,DD0))/LLV(L,DD0)*100*(IF(PTOP
空間平衡:HH0+HH2-HH1-HH3,NODRAW;
時(shí)間平衡:CC0+CC2-CC1-CC3,COLORYELLOW,NODRAW;
空間預(yù)測(cè):HH1+虛擬空間-HH0-HH2,NODRAW;
時(shí)間預(yù)測(cè):CC1+DD0-CC0-CC2,COLORYELLOW,NODRAW;
{JIAODUSUM:540-(ATAN(BD0)+2*(ATAN(BD1)+ATAN(BD2)+ATAN(BD3))-ATAN(BD4))*180/3.14159;}
PHV:=IF(PERIOD=0,0.05,IF(PERIOD=1 OR PERIOD=2,0.1,IF(PERIOD=3,0.2,IF(PERIOD=4,0.3,1))));
四方平衡:=ABS(HH0+HH2-HH1-HH3)/C
{DRAWICON(四方平衡 AND 輪回點(diǎn) AND L=REF(L,DD0),L,17);}
PHLINE:=IF(PTOP>PBOT,REF(VPOINT,DD0)-(HH1-HH0-HH2),REF(VPOINT,DD0)+(HH1-HH0-HH2));
STICKLINE(1,PHLINE,PHLINE,10,0),COLORYELLOW;{平衡線畫圖}
失衡:IF(PTOP
{DRAWNUMBER(輪低點(diǎn),L,180-(ATAN(HH0/DD0)*180/3.14159+ATAN(HH1/DD1)*180/3.14159)),COLORYELLOW; 夾角}
{DRAWNUMBER(輪高點(diǎn),H,180-(ATAN(HH0/DD0)*180/3.14159+ATAN(HH1/DD1)*180/3.14159)) COLORYELLOW ; 夾角}
{PLINE:=IF(BP
STICKLINE(CURRBARSCOUNT
{2560}
ISDAY:=IF (PERIOD=5,1,DRAWNULL);
MA5:ISDAY*MA(CLOSE,5)COLORYELLOW,NODRAW;
MA10:ISDAY*MA(CLOSE,10),NODRAW;
{MA25:MA(CLOSE,25),LINETHICK2,COLORMAGENTA;}
MA60:MA(CLOSE,60),NODRAW;
MA120:MA(CLOSE,120),NODRAW;
MA250:MA(CLOSE,250),NODRAW;
PP1:=H>=MA(C,5)*(100+8)/100;
PP2:=L*(100+20)/100<=MA(C,25);
DRAWICON(PP1 AND PERIOD=5,H*1.02,15);{逃跑}
{DRAWICON(PP2,L*0.97,26);{鉆石底}
DRAWICON((MA(C,4)*4+MA(C,25))/5>=MA(C,25) AND MA(C,5)
{下行中的輪回角度線的畫法}
最后低點(diǎn)TJ:=BACKSET(ISLASTBAR,BARSLAST(輪低點(diǎn))+1);
最后低點(diǎn):=最后低點(diǎn)TJ>REF(最后低點(diǎn)TJ,1);
最后低點(diǎn)2天:=IF(REF(最后低點(diǎn),1),1,0);
最后低點(diǎn)SJ:=BARSLAST(最后低點(diǎn));
相距SJ:=最后低點(diǎn)SJ-最后輪回點(diǎn)SJ;
{DRAWLINE(IS1T1 AND 最后低點(diǎn),L,最后輪回點(diǎn),REF(L,相距SJ)+REF(輪低點(diǎn)斜率1,相距SJ)*相距SJ,0) COLORWHITE DOTLINE;
DRAWLINE(IS2T1 AND 最后低點(diǎn),L,最后輪回點(diǎn),REF(L,相距SJ)+REF(輪低點(diǎn)斜率1,相距SJ)*相距SJ*2,0) COLORLIBLUE DOTLINE;
DRAWLINE(IS1T2 AND 最后低點(diǎn),L,最后輪回點(diǎn),REF(L,相距SJ)+REF(輪低點(diǎn)斜率1,相距SJ)*相距SJ*0.5,0) COLORLIGREEN DOTLINE;
}
{上行中的輪回角度線的畫法}
最后高點(diǎn)TJ:=BACKSET(ISLASTBAR,BARSLAST(輪高點(diǎn))+1);
最后高點(diǎn):=最后高點(diǎn)TJ>REF(最后高點(diǎn)TJ,1);
最后高點(diǎn)2天:=IF(REF(最后高點(diǎn),1),1,0);
最后高點(diǎn)SJ:=BARSLAST(最后高點(diǎn));
{DRAWLINE(IS1T1 AND 最后高點(diǎn),H,最后高點(diǎn)2天,REF(H,1)-REF(輪高點(diǎn)斜率1,1),1) COLORWHITE DOTLINE;
DRAWLINE(IS2T1 AND 最后高點(diǎn),H,最后高點(diǎn)2天,REF(H,1)-REF(輪高點(diǎn)斜率1,1)*2,1) COLORLIBLUE DOTLINE;
DRAWLINE(IS1T2 AND 最后高點(diǎn),H,最后高點(diǎn)2天,REF(H,1)-REF(輪高點(diǎn)斜率1,1)/2,1) COLORLIGREEN DOTLINE;
}
{畫比較線}
DRAWLINE(ISPX AND 最后低點(diǎn) AND 最后低點(diǎn)SJ=最后輪回點(diǎn)SJ,L,最后低點(diǎn)2天,REF(L,1)+REF(輪低點(diǎn)斜率2,1),1) COLORYELLOW;
DRAWLINE(ISPX AND 最后高點(diǎn) AND 最后高點(diǎn)SJ=最后輪回點(diǎn)SJ,H,最后高點(diǎn)2天,REF(H,1)-REF(輪高點(diǎn)斜率2,1),1) COLORYELLOW;
{黃金線}
{黃金柱&黃金線}
倍量TJ:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1));
回調(diào)量:=IF(C>=O,0,VOL);
黃金線TJ:=倍量TJ>=1.9 AND 倍量TJ<=3 AND REFX(C,1)>O AND REFX(C,2)>O AND REFX(C,3)>O AND REFX(回調(diào)量,1)/VOL<1 AND REFX(回調(diào)量,2)/VOL<1 AND REFX(回調(diào)量,3)/VOL<1;
黃金線WZ:=MIN(MIN(REFX(C,1),REFX(C,2)),REFX(C,3));
黃金線XS:=IF (黃金線WZ>=C,O,黃金線WZ);
STICKLINE(ISVOL AND 黃金線TJ AND C>O,O,C,2,0),COLORYELLOW;
DRAWLINE(ISVOL AND 黃金線TJ AND C>O,黃金線WZ,REF(黃金線TJ AND C>O,15),REF(黃金線WZ,15),0),COLORYELLOW,DOTLINE;
DRAWNUMBER(ISVOL AND 黃金線TJ AND C>O,黃金線WZ,黃金線WZ),COLORYELLOW;
{畫空間黃金分割線}
{輪低點(diǎn)劃線}
最后點(diǎn)TJ:=BACKSET(ISLASTBAR,BARSLAST(輪低點(diǎn) OR 輪高點(diǎn))+1);
最后點(diǎn):=最后點(diǎn)TJ>REF(最后點(diǎn)TJ,1);
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L, REF(輪低點(diǎn),7),REF(L,7),0),COLORLIGRAY,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.191,L+(REF(H,NZ2)-L)*0.191),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.191, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*0.191,7),0),COLORGRAY,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.382,L+(REF(H,NZ2)-L)*0.382),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.382, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*0.382,7),0),COLORLIBLUE,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.5,L+(REF(H,NZ2)-L)*0.5),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.5, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*0.5,7),0),COLORLIGREEN,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.618,L+(REF(H,NZ2)-L)*0.618),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.618, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*0.618,7),0),COLORLICYAN,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.809,L+(REF(H,NZ2)-L)*0.809),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*0.809, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*0.809,7),0),COLORLIRED,DOTLINE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L), REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L),7),0),COLORLIMAGENTA,DOTLINE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*1.191, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*1.191,7),0),COLORLIBLUE,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*1.191,L+(REF(H,NZ2)-L)*1.191),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*1.618, REF(輪低點(diǎn),7),REF(L+(REF(H,NZ2)-L)*1.618,7),0),COLORBLUE,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪低點(diǎn),L+(REF(H,NZ2)-L)*1.618,L+(REF(H,NZ2)-L)*1.618),COLORWHITE;
{輪高點(diǎn)劃線}
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H, REF(輪高點(diǎn),15),REF(H,15),0),COLORLIMAGENTA,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.191,H-(H-REF(L,NZ2))*0.191),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.191, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*0.191,15),0),COLORLIRED,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.382,H-(H-REF(L,NZ2))*0.382),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.382, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*0.382,15),0),COLORLICYAN,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.5,H-(H-REF(L,NZ2))*0.5),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.5, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*0.5,15),0),COLORLIGREEN,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.618,H-(H-REF(L,NZ2))*0.618),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.618, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*0.618,15),0),COLORLIBLUE,DOTLINE;
DRAWNUMBER(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.809,H-(H-REF(L,NZ2))*0.809),COLORWHITE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*0.809, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*0.809,15),0),COLORGRAY,DOTLINE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2)), REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2)),15),0),COLORLIGRAY,DOTLINE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*1.191, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*1.191,15),0),COLORLIBLUE,DOTLINE;
DRAWLINE(ISGOLD AND 最后點(diǎn) AND 輪高點(diǎn),H-(H-REF(L,NZ2))*1.618, REF(輪高點(diǎn),15),REF(H-(H-REF(L,NZ2))*1.618,15),0),COLORBLUE,DOTLINE;
STICKLINE((C-REF(C,1))/REF(C,1)>0.05,MAX(O,C)-(ABS(O-C))/3,MAX(O,C)-ABS(O-C)*2/3,2.5,0),COLORYELLOW;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,MAX(O,C)-(ABS(O-C))/3,MAX(O,C)-ABS(O-C)*2/3,2.5,0),COLORMAGENTA;
STICKLINE((C-REF(C,1))/REF(C,1)<-0.05,MAX(O,C)-(ABS(O-C))/3,MAX(O,C)-ABS(O-C)*2/3,2.5,0),COLORBLUE;
STICKLINE((C-REF(C,1))/REF(C,1)<-0.095,MAX(O,C)-(ABS(O-C))/3,MAX(O,C)-ABS(O-C)*2/3,2.5,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.3,0,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,EXTERNSTR(0,1))COLORYELLOW;
ISWEEK:=IF (PERIOD=6,1,DRAWNULL);
MA181:ISWEEK*MA(C,181),COLORMAGENTA;
立春:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
驚蟄:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),2);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
清明:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2);
立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),2);
小滿:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
芒種:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),2);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),2);
處暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
小寒:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2);
DRAWTEXT(ISDAY*立春,HIGH*1.02,'立春'),COLORGREEN;
DRAWTEXT(ISDAY*雨水,HIGH*1.02,'雨水'),COLORGREEN;
DRAWTEXT(ISDAY*驚蟄,HIGH*1.02,'驚蟄'),COLORGREEN;
DRAWTEXT(ISDAY*春分,HIGH*1.02,'春分'),COLORGREEN;
DRAWTEXT(ISDAY*清明,HIGH*1.02,'清明'),COLORGREEN;
DRAWTEXT(ISDAY*谷雨,HIGH*1.02,'谷雨'),COLORGREEN;
DRAWTEXT(ISDAY*立夏,HIGH*1.02,'立夏'),COLORMAGENTA;
DRAWTEXT(ISDAY*小滿,HIGH*1.02,'小滿'),COLORMAGENTA;
DRAWTEXT(ISDAY*芒種,HIGH*1.02,'芒種'),COLORMAGENTA;
DRAWTEXT(ISDAY*夏至,HIGH*1.02,'夏至'),COLORMAGENTA;
DRAWTEXT(ISDAY*小暑,HIGH*1.02,'小暑'),COLORMAGENTA;
DRAWTEXT(ISDAY*大署,HIGH*1.02,'大署'),COLORMAGENTA;
DRAWTEXT(ISDAY*立秋,HIGH*1.02,'立秋'),COLORYELLOW;
DRAWTEXT(ISDAY*處暑,HIGH*1.02,'處暑'),COLORYELLOW;
DRAWTEXT(ISDAY*白露,HIGH*1.02,'白露'),COLORYELLOW;
DRAWTEXT(ISDAY*秋分,HIGH*1.02,'秋分'),COLORYELLOW;
DRAWTEXT(ISDAY*寒露,HIGH*1.02,'寒露'),COLORYELLOW;
DRAWTEXT(ISDAY*霜降,HIGH*1.02,'霜降'),COLORYELLOW;
DRAWTEXT(ISDAY*立冬,HIGH*1.02,'立冬'),COLORWHITE;
DRAWTEXT(ISDAY*小雪,HIGH*1.02,'小雪'),COLORWHITE;
DRAWTEXT(ISDAY*大雪,HIGH*1.02,'大雪'),COLORWHITE;
DRAWTEXT(ISDAY*冬至,HIGH*1.02,'冬至'),COLORWHITE;
DRAWTEXT(ISDAY*小寒,HIGH*1.02,'小寒'),COLORWHITE;
DRAWTEXT(ISDAY*大寒,HIGH*1.02,'大寒'),COLORWHITE;
(OPEN+CLOSE)/2;
從基本的源碼公式中可以發(fā)現(xiàn),輪回線包含的有不同周期的高點(diǎn)與低點(diǎn),上漲下跌斜率以及波動(dòng)率的關(guān)系變化,時(shí)間與空間的平衡關(guān)系,最重要的案例分析如圖:平安銀行的走勢(shì)變化,結(jié)合24節(jié)氣的變化,以及空間和時(shí)間的平衡做好時(shí)間預(yù)測(cè),以及走勢(shì)操作分析,希望投資者能夠把握好操作機(jī)會(huì)。
如果您還想要了解更加專業(yè)的輪回線指標(biāo)分析或者應(yīng)用技巧操作,請(qǐng)點(diǎn)擊股票技術(shù)指標(biāo)公式。
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:metacaptainamerica.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889