分享

双紫擒龙系列主图副图双紫擒龙共振低吸

 lyfd2003 2023-10-08 发布于上海

作者:精选指标创建日期:2022-11-15

主图

X_1:=(CLOSE*2+HIGH+LOW)/4;

X_2:=MA(3*X_1-2*SMA(X_1,2,1),12);

反转:SAR(125,1,7),COLORGREEN;

STICKLINE(CLOSE<反转,反转,X_2,1,0),COLORGRAY;

STICKLINE(CLOSE>反转,反转,X_2,0,0),COLORYELLOW;

STICKLINE(CLOSE>反转,反转,X_2,0.2,0),COLOR008888;

STICKLINE(CLOSE>反转,反转,X_2,0.4,1),COLOR00BFBF;

STICKLINE(CLOSE>反转,反转,X_2,0.6,0),COLOR00DBDB;

STICKLINE(CLOSE>反转,反转,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);

无庄控盘: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);

挖坑捡机会:EVERY(VAR7<=(-10),7) AND DYNAINFO(4)>0 AND C>1*REF(C,1);

STICKLINE(挖坑捡机会,40,25,1,0),COLORYELLOW;

STICKLINE(挖坑捡机会,25,10,2,0),COLOR00FF00;

STICKLINE(挖坑捡机会,10,0,2,0),COLORBLUE;

STICKLINE(挖坑捡机会,25,15,0.5,0),COLORRED;

STICKLINE(挖坑捡机会,15,6,1,0),COLOR00FF00;

STICKLINE(挖坑捡机会,6,0,2,0),COLORBLUE;

DRAWTEXT(FILTER(挖坑捡机会=1,5),36,'---挖坑捡机会'),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,'  大阳攻击'),COLORMAGENTA;

DRAWTEXT(QA=1 AND DCV1<5,25,'  小阳攻击'),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,'  强信号'),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,'发'),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));

{只在特定走势内显示}

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;

去除高价:=DYNAINFO(7)<40; {最新价小于120元}

LTP:=FINANCE(7)<=1000000000; {流通盘为10亿或以下}

FINA:=FINANCE(40)/100000000<160;{流通市值小于60亿}

排除:=DYNAINFO(7)>1  AND 去除高价 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;

强狙:=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 强狙 AND XC_1>REF(XC_1,1);

狙击强势股:=牛1 OR 牛2;

BV1:=MA(C,1);

B2:=SMA(SMA(SMA(BV1,2,1),2,1),2,1);

SMA2:=MA(B2,3);

平台突破:=HHV(MA(B2,1),13);

红变金色:=CROSS(B2>SMA2,0.1) AND 平台突破;

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);

起暴点:=(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);

{爱股网WWW.kxmmgzh.COM}

VAR3V:=(MA(C,5)-Z)/Z;

VAR4V:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);

波段进场:=CLOSE>Z AND REF(VAR4V,1)<30 AND VAR4V>REF(VAR4V,1) AND REF(VAR4V,1)<REF(VAR4V,2);

红色:=C>=MA(C,10);

红色进场:=波段进场 AND 红色;

三剑合一:=持股 AND CROSS(控盘V,0) AND 红色进场;

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);

共振点:=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;

{突破九转选股}

ZF9%:=C/REF(C,1)>1.09;

首次:=DYNAINFO(4)>0  AND BARSLASTCOUNT(ZF9%)=1;

{爱股网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);

九转:=FILTER(AS4>0,3) ;

NOTEXT01:=IF(九转,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;

过关斩将:=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);

一阳定乾坤:=(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));

平凡牛股启动:=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(主筹估算,散筹估算);

选股数101:=IF(一线天,1,0);

选股数102:=IF(狙击强势股,1,0);

选股数103:=IF(红变金色,1,0);

选股数104:=IF(起暴点,1,0);

选股数105:=IF(突破门头,1,0);

选股数106:=IF(三剑合一,1,0);

选股数107:=IF(共振点,1,0);

选股数108:=IF(钱包,1,0);

选股数109:=IF(九转,1,0);

选股数110:=IF(过关斩将,1,0);

选股数111:=IF(一阳定乾坤,1,0);

选股数112:=IF(突破鉴真线,1,0);

选股数113:=IF(平凡牛股启动,1,0);

选股数114:=IF(突破G1,1,0);

选股数115:=IF(突破G1,1,0);

信号数:=一线天+狙击强势股+红变金色+起暴点+突破门头+三剑合一+共振点+钱包+九转+过关斩将+一阳定乾坤+突破鉴真线+平凡牛股启动+突破G1+筹码突破;

信号:=信号数>=4;

今数:=一线天+狙击强势股+红变金色+起暴点+突破门头+三剑合一+共振点+钱包+九转+过关斩将+一阳定乾坤+突破鉴真线+平凡牛股启动+突破G1;

累计:=今数+REF(今数,1)+REF(今数,2)+REF(今数,3)+REF(今数,4)+REF(今数,5)+REF(今数,6)+REF(今数,7)+REF(今数,8)+REF(今数,9)+REF(今数,10)+REF(今数,11)+REF(今数,12)+REF(今数,13)+REF(今数,14);

共巨振:(今数>4 AND 累计>=14 AND C/REF(C,1)>1.01) OR 今数>=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;

走强线:45,COLORLICYAN;

强势线:65,COLORYELLOW;

极强线:80,COLORWHITE;

强势线1:CROSS (资金线,强势线);

走强线1:CROSS (资金线,走强线);

DRAWICON(强势线1,65,23);

DRAWICON(走强线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);

双紫涨停过滤: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(双紫涨停过滤,6,0,2.8,0),COLORD30094;

STICKLINE(双紫涨停过滤,15,0,1.5,0),COLORBLUE;

STICKLINE(双紫涨停过滤,40,15,1,0),COLORD30094;

STICKLINE(双紫涨停过滤,25,10,1.1,0),COLORYELLOW;

STICKLINE(双紫涨停过滤,48,0,0.5,0),COLOR00FF00;

STICKLINE(双紫涨停过滤,55,0,0.1,0),COLORRED;

DRAWTEXT(FILTER(双紫涨停过滤=1,5),46,'  双紫过滤'),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>=大盘中线;

强势起爆紫:X_12=1,COLORMAGENTA;

STICKLINE(强势起爆紫,0,1.5,2.5,0),COLORMAGENTA;

TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;

FF:=TT/EMA(TT,4)-1;

动能2红:FF>REF(FF,1) AND FF>0,COLORRED;

STICKLINE(动能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;

趋势动能: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);

龙头启动:妖股授精 AND COUNT(妖股授精,18)=1,COLORWHITE;

STICKLINE(龙头启动,0,2,0.1,0),COLORWHITE;

DRAWTEXT(龙头启动,3,'启动'),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;

强弱线: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;

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约