直效+飛鷹+黃金分割【通達(dá)信主圖】
MA3:MA(CLOSE,3);
MA6:MA(CLOSE,6);
MA18:MA(CLOSE,18),LINETHICK2;
MA55:MA(CLOSE,55);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250),COLORLIRED;
CSFR1:=CLOSE>OPEN;
CSFR2:=CLOSE>MA(CLOSE,20) AND CLOSE>MA
(CLOSE,40) AND CLOSE>MA(CLOSE,60);
CSFR3:=OPEN<MA(CLOSE,40) AND OPEN<MA(CLOSE,60);
CSFR4:=(CLOSE-OPEN)>=0.05*OPEN;
CSFR:=CSFR1 AND CSFR2 AND CSFR3 AND CSFR4;
DRAWTEXT(CSFR,L,'出水芙蓉') ,COLORYELLOW;
JZZ1:=CROSS(MA(C,5),MA(C,10));
JZZ2:=CROSS(MA(C,5),MA(C,18));
JZZ3:=CROSS(MA(C,10),MA(C,18));
JZZ:=JZZ1 AND JZZ2 AND JZZ3; DRAWTEXT(JZZ,L,'金
蜘蛛') ,COLORYELLOW;
JZZ5:=CROSS(MA(C,20),MA(C,40));
JZZ6:=CROSS(MA(C,20),MA(C,60));
JZZ7:=CROSS(MA(C,40),MA(C,60));
JZZ8:=JZZ5 AND JZZ6 AND JZZ7; DRAWTEXT(JZZ,L,'
季金蜘蛛') ,COLORYELLOW;
A:=CROSS(MA(C,3),MA(C,6));
B:=CROSS(MA(C,6),MA(C,3));
D:=CROSS(MA(C,18),MA(C,6));
E:=CROSS(MA(C,6),MA(C,18));
DRAWTEXT(A,L,'買'),COLORYELLOW;
DRAWTEXT(B,H,'賣'),COLORGREEN;
DRAWTEXT(D,H,'清倉(cāng)'),COLORWHITE;
DRAWTEXT(E,L,'加倉(cāng)'),COLORYELLOW;
QYX1:=REF(H,1)<REF(L,2) AND REF(H,1)<L;
QYX2:=REF(H,1)<MA(C,5) AND REF(H,1)<MA
(C,10) AND REF(H,1)<MA(C,18) AND REF(H,1)<MA
(C,30) ;
QYX:=QYX1 AND QYX2;
DRAWTEXT(QYX,L, '棄嬰線'),COLORYELLOW;
SZX1:=REF(L,1)>REF(H,2) AND REF(L,1)>H;
SZX2:=REF(L,1)>MA(C,5) AND REF(L,1)>MA
(C,10) AND REF(L,1)>MA(C,18) AND REF(L,1)>MA
(C,30) ;SZX:=SZX1 AND SZX2;
DRAWTEXT(SZX,H*1.03, '舍子線'), COLORWHITE;
DTZD1:=CLOSE<OPEN;
DTZD2:=CLOSE<MA(CLOSE,5) AND CLOSE<MA(CLOSE,10)
AND CLOSE<MA(CLOSE,30);
DTZD3:=OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,30);
DTZD4:=(CLOSE-OPEN)<=0.05*OPEN;
DTZD:=DTZD1 AND DTZD2 AND DTZD3 AND DTZD4;
DRAWTEXT(DTZD,H*1.03,'斷頭鍘刀') ,COLORWHITE;
HSB1:=DOWNNDAY(MA(C,5),5); HSB2:=UPNDAY(C,3)
AND UPNDAY(V,2) AND UPNDAY((C-O),2);
HSB3:=H/REF(L,2)<1.07; HSB:=HSB1 AND HSB2 AND
HSB3; DRAWTEXT(HSB,L,'紅三兵') ,COLORYELLOW;
ZCZX1:=REF(C,2)/REF(O,2)<0.95;
ZCZX2:=REF(O,1) < REF(C,2) AND ABS(REF
(O,1)-REF(C,1))/REF(C,1)<0.03;
ZCZX3:=C/ REF(C,1) >1.05 AND O>REF(C,1) AND
C>REF(C,2);
ZCZX:=ZCZX1 AND ZCZX2 AND ZCZX3; DRAWTEXT
(ZCZX,L,'早晨之星') ,COLORYELLOW;
HHZX1:=REF(C,2)/REF(O,2)>1.05;
HHZX2:=REF(O,1)>REF(C,2);HHZX3:=ABS(REF(O,1)-
REF(C,1))/REF(C,1)<0.03;
HHZX4:=C/REF(C,1)<0.97 AND C<REF(C,2);
HHZX:=HHZX1 AND HHZX2 AND HHZX3 AND HHZX4;
DRAWTEXT(HHZX,H*1.03,'黃昏之星')
COLORWHITE;
CC1:=O<REF(C,1) AND C>REF(C,1) AND C/(REF(C,1)
+REF(O,1))*2>1;
CC2:=REF(C,1)/REF(O,1)<1 AND REF(C,2)/REF(O,2)
<1 AND REF(C,2)/REF(C,1)>1.03;
CC3:=MA(C,5)<REF(MA(C,5),2);
CC:=CC1 AND CC2 AND CC3;
DRAWTEXT(CC,L,'刺穿'),COLORYELLOW;
WY1:=REF(C,1)/REF(C,2)>1.03 ;
WY2:=C/O<0.97 AND O>REF(C,1) AND C<REF
((C+O)/2,1);
WY3:=UPNDAY(MA(C,10),5);
WY:=WY1 AND WY2 AND WY3 ;
DRAWTEXT(WY,H*1.03,'烏云蓋頂 ') COLORWHITE;
CTPJ1:=REF(C,1)/REF(C,2)>1.03 ;
CTPJ2:=O>REF(C,1) AND C<REF(O,1);
CTPJ3:=UPNDAY(MA(C,10),5);
CTPJ:=CTPJ1 AND CTPJ2 AND CTPJ3;
DRAWTEXT(CTPJ,H,'穿頭破腳 ') COLORWHITE;
SSSF1:=REF(C,4)/REF(C,5)>1.03 ;
SSSF2:=DOWNNDAY(REF(C,1),3);
SSSF3:=REF(L,4)<REF(L,3) AND REF(L,4)<REF(L,2)
AND REF(L,4)<REF(L,1);
SSSF4:=REF(H,4)>REF(H,3) AND REF(H,4)>REF(H,2)
AND REF(H,4)>REF(H,1);
SSSF5:=C/O>1.03 AND C>REF(C,4);
SSSF:=SSSF1 AND SSSF2 AND SSSF3 AND SSSF4 AND
SSSF5;
DRAWTEXT(SSSF,L,'上升三 法'),COLORYELLOW;
BLY1:=REF(L,1)>REF(H,2)AND L>REF(H,2);
BLY2:=C>0 AND REF(C,1)>REF(0,1)AND REF(C,2)
>REF(0,2);
BLY3:=ABS(C-REF(C,1))/C<0.003;
BLY4:=ABS(0-REF(0,1))/0<0.003;
BLY:=BLY1 AND BLY2 AND BLY3 AND BLY4;
DRAWTEXT(BLY,L*0.97,'并列陽(yáng)'),COLORYELLOW;
XDSF1:=REF(C,4)/REF(C,5)<0.97;
XDSF2:=UPNDAY(REF(C,1),3);
XDSF3:=REF(LLV(L,3),1)>REF(L,4);
XDSF4:=REF(HHV(H,3),1)<REF(H,4);
XDSF5:=C/REF(C,1)<0.97 AND C<REF(C,4);
XDSF6:=DOWNNDAY(MA(C,18),5);
XDSF:=XDSF1 AND XDSF2 AND XDSF3 AND XDSF4 AND
XDSF5 AND XDSF6;
DRAWTEXT(XDSF,H*1.03,'下跌三法') COLORWHITE;
IF(MA18>REF
(MA18,1),MA18,DRAWNULL),COLORRED,LINETHICK2;
ZT:=(C-REF(C,1))>=0.1*(REF(C,1)-0.04);
STICKLINE(ZT,O,C,2,0),COLORYELLOW;
STICKLINE(C<0.9005*REF
(C,1),C,O,2,0),COLORWHITE;
HC1:=MA(C,18)>MA(C,30) AND UPNDAY(MA(C,18),5);
HC2:=L/MA(C,18)<=1.008;
HC3:=HHV(V,4)<REF(V,4);
HC4:=COUNT(C>MA(C,18),4)=4;
HC5:= C>REF(C,1) AND V>REF(V,1);
HC18:=HC1 AND HC2 AND HC3 AND HC4 AND HC5;
DRAWTEXT(HC18,L*0.97,'回踩18 '),COLORYELLOW;
NN:=150;
高11:=REFDATE(HHV(H,NN),DATE);
低11:=REFDATE(LLV(L,NN),DATE);
H11:=高11-(高11-低11)*0.191;
H12:=高11-(高11-低11)*0.382;
H13:=高11-(高11-低11)*0.5;
H14:=高11-(高11-低11)*0.618;
H15:=高11-(高11-低11)*0.809;
DRAWTEXT(CURRBARSCOUNT=1,高11,'高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H11,'809'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H12,'618'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H13,'中'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H14,'382'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H15,'191'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,低11,'低'),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,高11,高11,100,-
2),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,H11,H11,100,-
1),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,H12,H12,100,-
1),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,H13,H13,100,-
1),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,H14,H14,100,-
1),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,H15,H15,100,-
1),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=13,低11,低11,100,-
1),COLORGREEN,LINETHICK2;
N33:=10;
T1:=CONST(HHVBARS(V,N33));
T0:IF(CURRBARSCOUNT<=N33+7,CONST(IF(T1=0,C,REF
(C,T1))),DRAWNULL);
IF
(CURRBARSCOUNT=T1+1,T0,DRAWNULL),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,T0,' 平臺(tái)');