作者:精選指標(biāo)創(chuàng)建日期:2022-11-15 主圖 X_1:=(CLOSE*2+HIGH+LOW)/4; X_2:=MA(3*X_1-2*SMA(X_1,2,1),12); 反轉(zhuǎn):SAR(125,1,7),COLORGREEN; STICKLINE(CLOSE<反轉(zhuǎn),反轉(zhuǎn),X_2,1,0),COLORGRAY; STICKLINE(CLOSE>反轉(zhuǎn),反轉(zhuǎn),X_2,0,0),COLORYELLOW; STICKLINE(CLOSE>反轉(zhuǎn),反轉(zhuǎn),X_2,0.2,0),COLOR008888; STICKLINE(CLOSE>反轉(zhuǎn),反轉(zhuǎn),X_2,0.4,1),COLOR00BFBF; STICKLINE(CLOSE>反轉(zhuǎn),反轉(zhuǎn),X_2,0.6,0),COLOR00DBDB; STICKLINE(CLOSE>反轉(zhuǎn),反轉(zhuǎn),X_2,1,0),COLOR00F0F0; X_3:=HHV(HIGH,6); X_4:=HHV(HIGH,9); X_5:=HHV(HIGH,17); X_6:=HHV(HIGH,34); X_7:=HHV(HIGH,68); X_8:=HHV(HIGH,125); X_9:=HHV(HIGH,250); X_10:=LLV(LOW,6); X_11:=LLV(LOW,9); X_12:=LLV(LOW,17); X_13:=LLV(LOW,34); X_14:=LLV(LOW,68); X_15:=LLV(LOW,125); X_16:=LLV(LOW,250); DRAWBAND(X_3,RGB(80,0,80),X_4,RGB(88,8,240)); DRAWBAND(X_4,RGB(80,30,80),X_5,RGB(88,38,240)); DRAWBAND(X_5,RGB(80,60,80),X_6,RGB(88,68,240)); DRAWBAND(X_6,RGB(80,90,80),X_7,RGB(88,98,240)); DRAWBAND(X_7,RGB(80,120,80),X_8,RGB(88,128,240)); DRAWBAND(X_8,RGB(80,150,80),X_9,RGB(88,158,240)); DRAWBAND(X_15,RGB(188,38,45),X_16,RGB(188,38,45)); DRAWBAND(X_14,RGB(150,10,20),X_15,RGB(150,10,20)); DRAWBAND(X_13,RGB(100,5,15),X_14,RGB(100,5,15)); DRAWBAND(X_12,RGB(188,58,65),X_13,RGB(188,58,65)); DRAWBAND(X_11,RGB(188,48,55),X_12,RGB(188,48,55)); DRAWBAND(X_10,RGB(200,15,100),X_11,RGB(200,15,100)); 副圖1 VAR1:=EMA(EMA(CLOSE,9),9); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盤<0,控盤,0,4,0),COLORWHITE; A10:=CROSS(控盤,0); 無(wú)莊控盤:IF(控盤<0,控盤,0),COLORWHITE,NODRAW; 開始控盤:IF(A10,25,0),LINETHICK1,COLORYELLOW; STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,4,0),COLORRED; 有莊控盤:IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLORRED,NODRAW; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(VAR2>50 AND C=HHV(C,10) AND 控盤>0,控盤,0,4,0),COLORFF00FF; 高度控盤:IF(VAR2>50 AND C=HHV(C,10) AND 控盤>0,控盤,0),COLORFF00FF,NODRAW; STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,4,0),COLOR00FF00; 主力出貨:IF(控盤<REF(控盤,1) AND 控盤>0,控盤,0),COLOR00FF00,NODRAW; VAR3:=((C-MA(C,6))/(MA(C,6)))*(100); VAR4:=((C-MA(C,12))/(MA(C,12)))*(100); VAR5:=((C-MA(C,24))/(MA(C,24)))*(100); VAR6:=(VAR3+(2)*(VAR4)+(3)*(VAR5))/6; VAR7:=MA(VAR6,3); 挖坑撿機(jī)會(huì):EVERY(VAR7<=(-10),7) AND DYNAINFO(4)>0 AND C>1*REF(C,1); STICKLINE(挖坑撿機(jī)會(huì),40,25,1,0),COLORYELLOW; STICKLINE(挖坑撿機(jī)會(huì),25,10,2,0),COLOR00FF00; STICKLINE(挖坑撿機(jī)會(huì),10,0,2,0),COLORBLUE; STICKLINE(挖坑撿機(jī)會(huì),25,15,0.5,0),COLORRED; STICKLINE(挖坑撿機(jī)會(huì),15,6,1,0),COLOR00FF00; STICKLINE(挖坑撿機(jī)會(huì),6,0,2,0),COLORBLUE; DRAWTEXT(FILTER(挖坑撿機(jī)會(huì)=1,5),36,'---挖坑撿機(jī)會(huì)'),COLORYELLOW; DCV1:=(C-REF(C,1))/REF(C,1)*100; DCV2:=BARSLASTCOUNT(C<REF(C,1)),NODRAW; DCV3:=C<REF(C,1),NODRAW; DCV4:=DCV3*DCV1,NODRAW; DCV5B:=SUM(DCV4,DCV2) ,NODRAW; KK:=C/REF(C,1)>1.099 AND H>L AND H=C; BMM:=BARSLAST(KK),NODRAW; A:=DCV2>=3 AND DCV5B<-10; QA:=C>REF(C,1) AND C>O AND REF(A=1,1) AND BMM<=15; STICKLINE(QA,0,2,2.5,1),COLORYELLOW; STICKLINE(QA,40,50,2.5,1),COLORYELLOW; STICKLINE(QA,0,50,1,1),COLORMAGENTA; DRAWTEXT(QA,45,' 一線攻擊'),COLORYELLOW; DRAWICON(QA,52,1); DRAWTEXT(QA=1 AND DCV1>=5,35,' 大陽(yáng)攻擊'),COLORMAGENTA; DRAWTEXT(QA=1 AND DCV1<5,25,' 小陽(yáng)攻擊'),COLORRED; AU:= DCV2>=4 AND DCV5B<-15; QAU:=C>REF(C,1) AND C>O AND REF(AU=1,1) AND BMM<=8 ; DRAWTEXT(QAU,20.15,' 強(qiáng)信號(hào)'),COLORYELLOW; AA7:=C-REF(C,1); AA8:=100*EMA(EMA(AA7,6),6)/EMA(EMA(ABS(AA7),6),6); AA9:=LLV(AA8,2)=LLV(AA8,7) AND COUNT(AA8<0,2) AND CROSS(AA8,MA(AA8,2)); VARP2:=((((2*CLOSE)+HIGH)+LOW)/4); VARP4:=LLV(LOW,5); VARP5:=HHV(HIGH,4); C1:=(EMA((((VARP2-VARP4)/(VARP5-VARP4))*100),4)); C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)); C3:=CROSS(C1,C2) AND REF(C1,1)<25; C4:=AA9 OR C3; C5:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); C6:=EMA(C5,3); C7:=C6>REF(C6,1); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; B1:=C>O; AB:CROSS(J,3.8) AND HHV(H,11)/REF(C,1)>1.11 AND REF(V,1)<REF(V,2) AND C4 AND C7 AND B1; STICKLINE(IF(AB,120,0),46,20,1,0),COLORYELLOW; STICKLINE(IF(AB,120,0),20,0,1,0),COLORRED; DRAWTEXT(AB,40,'一'),COLORRED; DRAWTEXT(AB,30,'觸'),COLORRED; DRAWICON(AB,52,1); DRAWTEXT(AB,20,'即'),COLORYELLOW; DRAWTEXT(AB,12,'發(fā)'),COLORYELLOW; X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3); X_2:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,3),1.1,0.91) AND LOW<REF(CLOSE,3) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,1)<REF(OPEN,1) AND NOT(REF(HIGH,2)/REF(CLOSE,3)>1.05 AND REF(HIGH,2)/MAX(REF(CLOSE,2),REF(OPEN,2))>1.05) AND NOT(REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.05 AND REF(OPEN,2)/REF(CLOSE,3)>1.05); X_3:=X_1 AND X_2; X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4); X_5:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,4),1.1,0.91) AND LOW<REF(CLOSE,4) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,1)<REF(OPEN,1) AND NOT(REF(HIGH,3)/REF(CLOSE,4)>1.07 AND REF(HIGH,3)/MAX(REF(CLOSE,3),REF(OPEN,3))>1.07) AND NOT(REF(CLOSE,3)<REF(OPEN,3) AND REF(OPEN,3)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.04); X_6:=X_4 AND X_5; X_7:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5); X_8:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,5),1.1,0.91) AND LOW<REF(CLOSE,5) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,1)<REF(OPEN,1) AND NOT(REF(HIGH,4)/REF(CLOSE,5)>1.05 AND REF(HIGH,4)/MAX(REF(CLOSE,4),REF(OPEN,4))>1.07); X_9:=X_7 AND X_8; X_10:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6); X_11:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,6),1.1,0.91) AND LOW<REF(CLOSE,6) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,1)<REF(OPEN,1) AND NOT(REF(HIGH,5)/REF(CLOSE,6)>1.05 AND REF(HIGH,5)/MAX(REF(CLOSE,5),REF(OPEN,5))>1.05); X_12:=X_10 AND X_11; X_13:=X_3 OR X_6 OR X_9 OR X_12; X_14:=REF(CLOSE,2)/REF(CLOSE,3)<1.09; X_15:=NOT(REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.03 AND REF(OPEN,2)=REF(HIGH,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(OPEN,1)/REF(CLOSE,1)>1.025); X_16:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(HIGH,3)>REF(HIGH,4) AND REF(OPEN,3)/REF(CLOSE,3)>1.08 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,3)<REF(OPEN,4)); X_17:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.91 AND REF(OPEN,1)<REF(MA(CLOSE,10),1) AND REF(LOW,1)=REF(CLOSE,1) AND REF(CLOSE,2)/REF(CLOSE,3)<0.95 AND OPEN<MA(CLOSE,10)); X_18:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(OPEN,2)>REF(CLOSE,3) AND REF(CLOSE,2)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.02); X_19:=NOT(CROSS(REF(MA(CLOSE,10),1),REF(MA(CLOSE,5),1)) AND REF(OPEN,1)<REF(MA(CLOSE,10),1) AND OPEN<MA(CLOSE,10) AND REF(MA(CLOSE,10),1)/REF(MA(CLOSE,20),1)>1.07); X_20:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09 AND REF(LOW,3)>REF(HIGH,4) AND REF(LOW,2)>REF(HIGH,4) AND REF(LOW,1)>REF(HIGH,4) AND OPEN>REF(CLOSE,4)); X_21:=NOT(MA(CLOSE,60)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,10) AND OPEN<MA(CLOSE,10) AND REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(HIGH,2)/REF(CLOSE,3)>1.03); X_22:=X_13 AND X_14 AND X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21; X_23:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4); X_24:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,4),1.02,0.98) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,3)<REF(OPEN,3) AND REF(OPEN,2)>REF(OPEN,1) AND REF(OPEN,3)>REF(OPEN,2) AND REF(OPEN,3)/REF(CLOSE,4)<1.01 AND NOT(REF(HIGH,3)/REF(CLOSE,4)>1.07 AND REF(HIGH,3)/MAX(REF(CLOSE,3),REF(OPEN,3))>1.07) AND NOT(REF(CLOSE,3)<REF(OPEN,3) AND REF(OPEN,3)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.04) AND CLOSE>OPEN; X_25:=X_23 AND X_24; X_26:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3); X_27:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,3),1.05,0.93) AND LOW<REF(CLOSE,3) AND REF(CLOSE,1)/REF(CLOSE,2)<0.965 AND REF(CLOSE,1)<REF(OPEN,1) AND NOT(REF(HIGH,2)/REF(CLOSE,3)>1.07) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1); X_28:=X_26 AND X_27; X_29:=X_28; X_30:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4); X_31:=CLOSE/REF(CLOSE,1)>=1.031 AND BETWEEN(OPEN/REF(OPEN,4),1.05,0.93) AND LOW<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(CLOSE,3) AND REF(OPEN,3)<REF(CLOSE,4) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1) AND REF(CLOSE,1)/REF(CLOSE,2)<1.01; X_32:=X_30 AND X_31; X_33:=REF(CLOSE,11)/REF(CLOSE,12)>1.095 AND REF(HIGH,11)=REF(CLOSE,11) AND BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),1.01,0.99) AND COUNT(EVERY(REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1),6),10) AND OPEN<MA(CLOSE,10) AND REF(CLOSE,1)<REF(CLOSE,11) AND OPEN<REF(CLOSE,11) AND REF(OPEN,11)<REF(MA(CLOSE,60),11) AND OPEN<MA(CLOSE,60) AND CLOSE/REF(CLOSE,1)>1.03; X_34:=REF(CLOSE,28)/REF(CLOSE,29)>1.095 AND REF(CLOSE,28)=REF(HIGH,28) AND BETWEEN(OPEN/REF(OPEN,28),1.01,0.98) AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20) AND OPEN<MA(CLOSE,30) AND CLOSE>MA(CLOSE,5) AND CLOSE/REF(CLOSE,1)>1.031; X_35:=REF(CLOSE,9)/REF(CLOSE,10)>1.095 AND BETWEEN(OPEN/REF(OPEN,9),1.01,0.99) AND BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),1.01,0.99) AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.01,0.99) AND EVERY(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,30),10) AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10); X_36:=REF(CLOSE,9)/REF(CLOSE,10)>1.095 AND REF(HIGH,9)=REF(CLOSE,9) AND REF(0,9)/CLOSE<1.02 AND REF(CLOSE,2)/REF(CLOSE,3)<0.95 AND BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),1.03,1.01) AND EVERY(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,30),4) AND CLOSE>MA(CLOSE,10) AND CLOSE/REF(CLOSE,1)>1.031; X_37:=REF(CLOSE,6)/REF(CLOSE,7)>1.095 AND REF(HIGH,6)=REF(CLOSE,6) AND REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)<REF(MA(CLOSE,10),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND OPEN<MA(CLOSE,10) AND CLOSE/REF(CLOSE,1)>1.031; X_38:=X_32 OR X_33 OR X_34 OR X_35 OR X_36 OR X_37; X_39:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4); X_40:=CLOSE/REF(CLOSE,1)>=1.031 AND REF(CLOSE,1)<REF(CLOSE,4) AND BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),1.015,0.985) AND OPEN<REF(CLOSE,4) AND OPEN<MA(CLOSE,5) AND EVERY(REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1),2); X_41:=REF(HIGH,1)>REF(CLOSE,1); X_42:=X_39 AND X_40 AND X_41; X_43:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3); X_44:=CLOSE/REF(CLOSE,1)>=1.031 AND REF(CLOSE,1)<REF(CLOSE,3) AND (REF(CLOSE,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,1)<REF(OPEN,1) AND REF(OPEN,1)/REF(CLOSE,1)<1.01) AND OPEN<REF(CLOSE,3) AND OPEN<MA(CLOSE,5) AND EVERY(REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1),2); X_45:=REF(HIGH,1)>REF(CLOSE,1); X_46:=X_43 AND X_44 AND X_45; X_47:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3); X_48:=CLOSE/REF(CLOSE,1)>=1.031 AND REF(CLOSE,1)<REF(CLOSE,3) AND (REF(CLOSE,1)<REF(OPEN,1) AND REF(OPEN,1)/REF(CLOSE,1)<1.01) AND OPEN<REF(CLOSE,3) AND OPEN<MA(CLOSE,5) AND EVERY(REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1),3); X_49:=REF(HIGH,1)>REF(CLOSE,1); X_50:=X_47 AND X_48 AND X_49; X_51:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,3)/REF(CLOSE,4)<0.92 AND REF(OPEN,3)>REF(CLOSE,4) AND REF(CLOSE,3)<REF(OPEN,4)); X_52:=X_42 OR X_46 OR X_50 AND X_51; X_53:=NOT(REF(CLOSE,6)/REF(CLOSE,7)>1.06 AND REF(CLOSE,5)/REF(CLOSE,6)<1.095 AND REF(LOW,4)>REF(HIGH,5) AND REF(HIGH,3)/REF(OPEN,3)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND OPEN>REF(HIGH,1) AND OPEN/REF(CLOSE,1)>1.01 AND REF(HIGH,3)/REF(CLOSE,4)>1.03); X_54:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1); X_55:=DYNAINFO(4)>0; X_56:=X_54 AND X_55; 擒龍捉妖:X_22 OR X_25 OR X_29 OR X_38 OR X_52 AND X_53 AND X_56,COLORYELLOW,LINETHICK2; STICKLINE(擒龍捉妖,0,25.5,1,0),COLORLIBLUE; STICKLINE(擒龍捉妖,25,45.5,1,0),COLORWHITE; DRAWTEXT(擒龍捉妖,35.5,' 擒龍捉妖'),COLORWHITE; RA:=MAX(O,C);{RA} RB:=MIN(O,C);{RB} RC:=REF(L,1); RD:=IF(RA>REF(H,1),IF(RB<=RC,0,1),IF(RB<=RC,-1,0)); RE:=BARSLAST(RD=-1); RF:=REF(H,RE); RGG:=BARSLAST(RD=1); RH:=REF(L,RGG); T1:=IF(RD=1,IF(L>RF,1,0),IF(RD=-1,IF(H<RH,-1,0),0)); T2:=BARSLAST(T1=0); TH:=REF(REF(H,BARSLAST(T1=1)),T2); TL:=REF(REF(L,BARSLAST(T1=-1)),T2); TA:=IF(T1=1,IF(RA>TH,1,0),IF(T1=-1,IF(RB<TL,-1,0),0)); {只在特定走勢(shì)內(nèi)顯示} X:=CURRBARSCOUNT; P1:=BARSLAST(TA=-1); P2:=BARSSINCEN(CROSS(0.5,TA),P1)+1; {臨界水平線} P3:=BARSLAST(CROSS(COUNT(CROSS(-0.5,RD),P1),0.5)); PAH:=REF(HHV(RA,P1),P3); NOTEXT1:=IF(X<CONST(P3)+1,PAH,DRAWNULL),DOTLINE,COLOR197800,LINETHICK2;{虛線} NOTEXT2:=IF(X<CONST(P2)+1,PAH,DRAWNULL),COLOR197800,LINETHICK2;{虛線}; XG:=CROSS(C,NOTEXT1) OR CROSS(C,NOTEXT2); X_01:=(3*CLOSE+LOW+OPEN+HIGH)/6; X_02:=(20*X_01+19*REF(X_01,1)+18*REF(X_01,2)+17*REF(X_01,3)+16*REF(X_01,4)+15*REF(X_01,5)+14*REF(X_01,6)+13*REF(X_01,7)+12*REF(X_01,8)+11*REF(X_01,9)+10*REF(X_01,10)+9*REF(X_01,11)+8*REF(X_01,12)+7*REF(X_01,13)+6*REF(X_01,14)+5*REF(X_01,15)+4*REF(X_01,16)+3*REF(X_01,17)+2*REF(X_01,18)+REF(X_01,20))/210; X_03:=EMA(X_02,13); X_04:=REF(CLOSE,1)<REF(X_03,1) AND CLOSE>X_03; X_05:=CLOSE/REF(CLOSE,1)>1.048; 踏歌行:=XG AND X_04 AND X_05; STICKLINE(踏歌行,0,28,1.5,0),COLORYELLOW; DRAWICON(踏歌行,31,34); STICKLINE(踏歌行,0,35,0.3,0),COLORRED; DRAWTEXT(踏歌行,22.5,' 踏歌行'),COLORRED; {一線天選股} 去次新股:=FINANCE(42)>30; 去除ST和停牌:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND VOL>1; 去除高價(jià):=DYNAINFO(7)<40; {最新價(jià)小于120元} LTP:=FINANCE(7)<=1000000000; {流通盤為10億或以下} FINA:=FINANCE(40)/100000000<160;{流通市值小于60億} 排除:=DYNAINFO(7)>1 AND 去除高價(jià) AND 去次新股 AND FINA; N:=30; N1:=20; V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N; 一線天:=IF(V1,1,0) AND 排除; MA5:=MA(C,5); MA10:=MA(C,10); MA30:=MA(C,30); XA_5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416; XA_10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; XA_30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416; 強(qiáng)狙:=FILTER(XA_30>30 AND XA_10>45 AND CROSS(XA_5,60),10); AC_1:=CLOSE*VOL; AC_2:=EMA((EXPMA(AC_1,3)/EXPMA(VOL,3)+EXPMA(AC_1,6)/EXPMA(VOL,6)+EXPMA(AC_1,12)/EXPMA(VOL,12)+EXPMA(AC_1,24)/EXPMA(VOL,24))/4,13); AC_3:=EMA((EXPMA(AC_1,27)/EXPMA(VOL,27)+EXPMA(AC_1,54)/EXPMA(VOL,54)+EXPMA (AC_1,108)/EXPMA(VOL,108)+EXPMA(AC_1,316)/EXPMA(VOL,316))/4,34); 上軌1:=1.06*AC_2; 頂:=1.13*AC_2; ZT:=REF(C,1)*1.1-C<0.01 AND H=C; 啟爆1:=CROSS(C,上軌1) AND ZT; 超牛:=CROSS(C,頂) AND ZT; 上軌2:=1.06*AC_3; 下軌2:=AC_3*0.94; 啟爆2:=CROSS(C,上軌2) OR CROSS(C,下軌2) AND ZT; 啟爆:=啟爆1 OR 超牛 OR 啟爆2; XC_1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; CCI月:=CCI#MONTH; CCI周:=CCI#WEEK; CCI共振:=CCI月>=200 OR CCI周>=200; 牛1:=CCI共振 AND 啟爆 AND XC_1>REF(XC_1,1); 牛2:=CCI共振 AND 強(qiáng)狙 AND XC_1>REF(XC_1,1); 狙擊強(qiáng)勢(shì)股:=牛1 OR 牛2; BV1:=MA(C,1); B2:=SMA(SMA(SMA(BV1,2,1),2,1),2,1); SMA2:=MA(B2,3); 平臺(tái)突破:=HHV(MA(B2,1),13); 紅變金色:=CROSS(B2>SMA2,0.1) AND 平臺(tái)突破; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); 起暴點(diǎn):=(FILTER((VAR4AA>90),45)) ; 中線:=0.00,COLORFFBB00; 浮平線:=EMA(CLOSE,6)-EMA(CLOSE,13); 鑒真線:=EMA(浮平線,20); MB1:=HHV(浮平線,20) ; MB2:=LLV(浮平線,20) ; 門頭線:=REF(MB1,1); 門檻線:=REF(MB2,1); 突破門頭:=CROSS(浮平線,門頭線); JJ:=(CLOSE+HIGH+LOW)/3; AV:=EMA(JJ,5); B:=REF(AV,1); 持股:=AV>B AND REF(AV,1)<=REF(B,1); VAR1V:=EMA(EMA(CLOSE,9),9); 控盤V:=(VAR1V-REF(VAR1V,1))/REF(VAR1V,1)*1000; A10V:=CROSS(控盤V,0); Z:=MA(C,120); {愛股網(wǎng)WWW.kxmmgzh.COM} VAR3V:=(MA(C,5)-Z)/Z; VAR4V:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3); 波段進(jìn)場(chǎng):=CLOSE>Z AND REF(VAR4V,1)<30 AND VAR4V>REF(VAR4V,1) AND REF(VAR4V,1)<REF(VAR4V,2); 紅色:=C>=MA(C,10); 紅色進(jìn)場(chǎng):=波段進(jìn)場(chǎng) AND 紅色; 三劍合一:=持股 AND CROSS(控盤V,0) AND 紅色進(jìn)場(chǎng); RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VAR5V:=SMA(VAR4V,3,1); KKV:=EMA(SMA(RG,3,1),2); DD:=SMA(KKV,3,1); 共振點(diǎn):=CROSS(VAR4V,VAR5V) AND CROSS(KKV,DD); 漲停1:=C/REF(C,1)>1.095; PSD:=EMA(EMA(C,5)-EMA(C,13),1); HV:=HHV(PSD,2); SGW:=PSD-(HV-PSD); RR:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),3)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),3)))/2; A1:=RR/4*4; A2:=RR/4*3; A3:=RR/4*2; A4:=RR/4*1; A5:=-RR/4*1; A6:=-RR/4*2; A7:=-RR/4*3; A8:=-RR/4*4; R:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),100)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),100)))/2; A9:=R/4*4; A11:=R/4*2; A12:=R/4*1; A13:=-R/4*1; A14:=-R/4*2; A15:=-R/4*3; A16:=-R/4*4; 錢包:=CROSS(PSD,A2) AND CROSS(PSD,A3) AND CROSS(PSD,A4) AND CROSS(PSD,A5) AND CROSS(PSD,A6) AND CROSS(PSD,A7) AND CROSS(PSD,A8) AND 漲停1; {突破九轉(zhuǎn)選股} ZF9%:=C/REF(C,1)>1.09; 首次:=DYNAINFO(4)>0 AND BARSLASTCOUNT(ZF9%)=1; {愛股網(wǎng)WWW.72GU.COM} A111:=C>REF(C,4); NT9:=BARSLASTCOUNT(A111); AS1:=NT9=9; AS2:=BARSLAST(AS1>0); AS3:=REF(H,AS2); H11:=IF(BARSLAST(AS1)>0 AND BARSLAST(AS1)<260,REF(H,BARSLAST(AS1)),DRAWNULL) ;{白水平線--破九劃線} {AS4:=AS2>4 AND C/REF(C,1)>1.09 AND C>AS3} {AND MIN(L,REF(L,1))<AS3}; AS4:=AS2>4 AND C/REF(C,1)>1.09 AND C>AS3 AND 首次; AS5:=FILTER(AS4,13); 九轉(zhuǎn):=FILTER(AS4>0,3) ; NOTEXT01:=IF(九轉(zhuǎn),1,0) ; MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,30); MA4:=MA(CLOSE,60); VAR2V:=C>MA1 AND C>MA2 AND C>MA3 AND C>MA4; 過(guò)關(guān)斬將:=VAR1 AND VAR2V; VA1:=V/REF(MA(V,1),1); VA2:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VA3:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)); VA4:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4; VA5:=MA(CLOSE,26); VA6:=EMA(CLOSE,55); VA7:=MAX(MAX(VA4,VA5),VA6); VA8:=MIN(MIN(VA4,VA5),VA6); 一陽(yáng)定乾坤:=(C>VA7 AND O<VA8 AND VA1>1 AND CROSS(VA2,VA3) AND C/REF(C,1)>1.03); 突破鑒真線:=CROSS(浮平線,鑒真線) ; LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4), 0.2*FORCAST(V,12),2.1*FORCAST(V,12)); 平凡牛股啟動(dòng):=FILTER(LS,28),COLORLIRED,LINETHICK3; T5:=FINDHIGHBARS(H,20,60,1); T7:=BARSLAST(CURRBARSCOUNT=CONST(T5)+1); G1:=REF(H,T7); 突破G1:=CROSS(C,G1); 主籌估算:=EMA(WINNER(C)*70,3); 散籌估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3); 籌碼突破:=CROSS(主籌估算,散籌估算); 選股數(shù)101:=IF(一線天,1,0); 選股數(shù)102:=IF(狙擊強(qiáng)勢(shì)股,1,0); 選股數(shù)103:=IF(紅變金色,1,0); 選股數(shù)104:=IF(起暴點(diǎn),1,0); 選股數(shù)105:=IF(突破門頭,1,0); 選股數(shù)106:=IF(三劍合一,1,0); 選股數(shù)107:=IF(共振點(diǎn),1,0); 選股數(shù)108:=IF(錢包,1,0); 選股數(shù)109:=IF(九轉(zhuǎn),1,0); 選股數(shù)110:=IF(過(guò)關(guān)斬將,1,0); 選股數(shù)111:=IF(一陽(yáng)定乾坤,1,0); 選股數(shù)112:=IF(突破鑒真線,1,0); 選股數(shù)113:=IF(平凡牛股啟動(dòng),1,0); 選股數(shù)114:=IF(突破G1,1,0); 選股數(shù)115:=IF(突破G1,1,0); 信號(hào)數(shù):=一線天+狙擊強(qiáng)勢(shì)股+紅變金色+起暴點(diǎn)+突破門頭+三劍合一+共振點(diǎn)+錢包+九轉(zhuǎn)+過(guò)關(guān)斬將+一陽(yáng)定乾坤+突破鑒真線+平凡牛股啟動(dòng)+突破G1+籌碼突破; 信號(hào):=信號(hào)數(shù)>=4; 今數(shù):=一線天+狙擊強(qiáng)勢(shì)股+紅變金色+起暴點(diǎn)+突破門頭+三劍合一+共振點(diǎn)+錢包+九轉(zhuǎn)+過(guò)關(guān)斬將+一陽(yáng)定乾坤+突破鑒真線+平凡牛股啟動(dòng)+突破G1; 累計(jì):=今數(shù)+REF(今數(shù),1)+REF(今數(shù),2)+REF(今數(shù),3)+REF(今數(shù),4)+REF(今數(shù),5)+REF(今數(shù),6)+REF(今數(shù),7)+REF(今數(shù),8)+REF(今數(shù),9)+REF(今數(shù),10)+REF(今數(shù),11)+REF(今數(shù),12)+REF(今數(shù),13)+REF(今數(shù),14); 共巨振:(今數(shù)>4 AND 累計(jì)>=14 AND C/REF(C,1)>1.01) OR 今數(shù)>=4; STICKLINE(共巨振,8,-10.2,2.8,0),COLORLIBLUE; STICKLINE(共巨振,3,0.2,3,0),COLORWHITE; STICKLINE(共巨振,-20,-25,3.3,0),COLORMAGENTA; STICKLINE(共巨振,-16,-20,0.4,0),COLORD30094; STICKLINE(共巨振,0,-25,1.8,0),COLORRED; STICKLINE(共巨振,-10,-16,2.5,0),COLORYELLOW; STICKLINE(共巨振,10,-25,0.3,0),COLORWHITE; DRAWTEXT(共巨振,-18,' 共巨振'),COLORYELLOW; 資金線:EMA(30*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)*3, COLORRED,LINETHICK1; 走強(qiáng)線:45,COLORLICYAN; 強(qiáng)勢(shì)線:65,COLORYELLOW; 極強(qiáng)線:80,COLORWHITE; 強(qiáng)勢(shì)線1:CROSS (資金線,強(qiáng)勢(shì)線); 走強(qiáng)線1:CROSS (資金線,走強(qiáng)線); DRAWICON(強(qiáng)勢(shì)線1,65,23); DRAWICON(走強(qiáng)線1,45,9); DRAWICON(突破門頭,5,23); DRAWICON(突破門頭,-1,9); DRAWTEXT(突破門頭,-5,' 突破門頭'),COLORRED; ZTT:=C>=ZTPRICE(REF(C,1),0.1) AND C=H; ZT0:=BARSLASTCOUNT(ZTT)>=2 AND NOT(CODELIKE('30')||CODELIKE('688')); ZT1:=BARSLASTCOUNT(ZTT)=1 AND NOT(CODELIKE('30')||CODELIKE('688')); 【籌碼】:=(COST(95)-COST(5))/((COST(95)+COST(5)))*100; 市值:=ROUND2(FINANCE(41)/100000000,1); 雙紫漲停過(guò)濾:IF(ZT1 AND 【籌碼】<=18 AND 市值<=100 AND O>REF(C,1),1,0) OR IF(ZT0 AND 【籌碼】<=25 AND 市值<=100 AND O>REF(C,1) ,1,0) ; STICKLINE(雙紫漲停過(guò)濾,6,0,2.8,0),COLORD30094; STICKLINE(雙紫漲停過(guò)濾,15,0,1.5,0),COLORBLUE; STICKLINE(雙紫漲停過(guò)濾,40,15,1,0),COLORD30094; STICKLINE(雙紫漲停過(guò)濾,25,10,1.1,0),COLORYELLOW; STICKLINE(雙紫漲停過(guò)濾,48,0,0.5,0),COLOR00FF00; STICKLINE(雙紫漲停過(guò)濾,55,0,0.1,0),COLORRED; DRAWTEXT(FILTER(雙紫漲停過(guò)濾=1,5),46,' 雙紫過(guò)濾'),COLOR00DDDD; 副圖2 VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6; VAR2:=EMA(VAR1,35); VAR3:=(HHV(VAR2,10)+HHV(VAR2,30)+HHV(VAR2,90))/3; VAR4:=(LLV(VAR2,10)+LLV(VAR2,30)+LLV(VAR2,90))/3; VAR5:=(HHV(VAR3,5)+HHV(VAR3,15)+HHV(VAR3,30))/3; VAR6:=(LLV(VAR4,5)+LLV(VAR4,15)+LLV(VAR4,30))/3; VAR7:=EXPMA(CLOSE,6); VAR8:=EXPMA(CLOSE,18); M1:=500*(VAR7-VAR8)/VAR8+2,COLORYELLOW,LINETHICK2; ZZ:=M1>2 AND EMA(EMA(VAR1,2),2)>VAR6; 共振追漲紫:ZZ AND ZZ>=REF(ZZ,1),COLORLIRED; STICKLINE(共振追漲紫,0,2,3,0),COLORLIRED; X_1:=INDEXH; X_2:=INDEXO; X_3:=INDEXL; X_4:=INDEXC; X_5:=INDEXV; X_6:=(3*CLOSE+HIGH+LOW+OPEN)/6; X_7:=EMA(X_6,35); X_8:=(HHV(X_7,5)+HHV(X_7,15)+HHV(X_7,30))/3; X_9:=(LLV(X_7,5)+LLV(X_7,15)+LLV(X_7,30))/3; 牛線:=(HHV(X_8,5)+HHV(X_8,15)+HHV(X_8,30))/3; X_10:=(LLV(X_9,5)+LLV(X_9,15)+LLV(X_9,30))/3; X_11:=X_4/EMA(X_4,120); 大盤中線:=EMA(EMA(CLOSE,120)*X_11,2); X_12:=X_6>=牛線 AND X_6>=大盤中線; 強(qiáng)勢(shì)起爆紫:X_12=1,COLORMAGENTA; STICKLINE(強(qiáng)勢(shì)起爆紫,0,1.5,2.5,0),COLORMAGENTA; TT:=(2*CLOSE+OPEN+HIGH+LOW)*100; FF:=TT/EMA(TT,4)-1; 動(dòng)能2紅:FF>REF(FF,1) AND FF>0,COLORRED; STICKLINE(動(dòng)能2紅,0,1,1.5,0),COLORRED; STICKLINE(FF<REF(FF,1) AND FF>0,0,1,1.5,0),COLORYELLOW; STICKLINE(FF<REF(FF,1) AND FF<0,0,1,1.5,0),COLORGREEN; STICKLINE(FF>REF(FF,1) AND FF<0,0,1,1.5,0),COLORFFAA00; 趨勢(shì)動(dòng)能:ROUND2(FF*100,1),COLORYELLOW,LINETHICK2; HJ_1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H; HJ_22:=COUNT(HJ_1,2)>=1 AND NOT(COUNT(HJ_1,3)>=2); 妖股授精:=FILTER(HJ_22,13),COLORDDDDDD; HJ_23:=COUNT(HJ_1,3)>=2 AND NOT(COUNT(HJ_1,4)>=3); 龍頭啟動(dòng):妖股授精 AND COUNT(妖股授精,18)=1,COLORWHITE; STICKLINE(龍頭啟動(dòng),0,2,0.1,0),COLORWHITE; DRAWTEXT(龍頭啟動(dòng),3,'啟動(dòng)'),COLORWHITE; 妖股孕育:=FILTER(HJ_23,13),COLORGREEN; 主升:=妖股孕育 AND COUNT(妖股孕育,18)=1; 龍頭主升:主升,COLORYELLOW; STICKLINE(龍頭主升,0,2,0.1,0),COLORYELLOW; DRAWICON(龍頭主升,2.5,1); DRAWICON(龍頭主升,3,1); DRAWICON(龍頭主升,3.5,1); DRAWTEXT(龍頭主升,4,'主升'),COLORYELLOW; 強(qiáng)弱線:2,COLORWHITE,DOTLINE; 副圖3 X1:=EMA((C-LLV(L,25))/(HHV(H,25)-LLV(L,25))*100,5); X2:=(HHV(H,25)-LLV(L,25))/EMA((C-LLV(L,25)),5); X3:=CROSS(X2,X1); X4:=REF(X2,2)<REF(X2,1) AND X2<REF(X2,1); X5:=COUNT(X3,7)>0 AND X4; 擒龍低吸:X5 AND COUNT(X5,25)=1; |
|