N:=10;
HJ_1:=CLOSE/REF(CLOSE,1)>=1.098;
HJ_2:=COUNT(HJ_1,3)>=2 AND NOT(COUNT(HJ_1,4)>=3);
HJ_3:=DYNAINFO(13)>0.11;
HJ_4:=HJ_2 AND HJ_3;
HJ_5:=REF(HJ_4,1);
HJ_6:=EXIST(HJ_5,2);
JZ:=FILTER(HJ_6,5),COLORBLUE;
HJ_7:=REF(CLOSE<OPEN,1) AND REF(HIGH/LOW>1.027,1);
HJ_8:=CLOSE>OPEN AND CLOSE>REF(MAX(OPEN,CLOSE),1);
HJ_9:=CLOSE/REF(CLOSE,1)>1.099;
HJ_10:=EXIST(HJ_9,3);
HJ_11:=REF(HJ_10,2);
HJ_12:=HJ_7 AND HJ_8 AND HJ_11;
YB:=FILTER(HJ_12,5),COLORYELLOW;
HJ_13:=REF(HIGH,N)=HHV(HIGH,2*N+1);
HJ_14:=FILTER(HJ_13,N);
HJ_15:=BACKSET(HJ_14,N+1);
HJ_16:=FILTER(HJ_15,N);
HJ_17:=REF(HIGH,BARSLAST(HJ_16));
HJ_18:=HHV(CLOSE,N)<HJ_17 AND HHV(CLOSE,5)<=CLOSE;
HJ_19:=REF(HJ_18,1);
HJ_20:=CLOSE/REF(CLOSE,1)>=1.099;
HJ_21:=COUNT(HJ_9,7)<=2;
TP:=CROSS(CLOSE,HJ_17) AND HJ_19 AND HJ_21,COLORGREEN;
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);
妖股孕育:=FILTER(HJ_23,13),COLORGREEN;
HJ_24:=COUNT(HJ_1,4)>=3 AND NOT(COUNT(HJ_1,5)>=4);
妖股初生:=FILTER(HJ_24,11),COLOR9933FF;
妖股长成:=COUNT(HJ_1,8)>=6.5,COLORRED;
STICKLINE(妖股授精 AND COUNT(妖股授精,18)=1,0+3,2+3,3,0),COLORDDDDDD;
STICKLINE(妖股孕育 AND COUNT(妖股孕育,18)=1,0+3,2+3,3,0),COLORGREEN;
STICKLINE(妖股初生 AND COUNT(妖股孕育,18)=1,0+3,1+3,3,0),COLOR9933FF;
STICKLINE(妖股长成 AND COUNT(妖股孕育,18)=1,0+3,1+3,3,0),COLORRED;
DRAWTEXT(妖股初生 AND COUNT(妖股孕育,18)=1,3,'妖'),COLORYELLOW;
神趋势H1:EMA(CLOSE,7),COLORCCCCCC,LINETHICK1;
HA:EMA(神趋势H1,21)*1.03,COLORFFCC00;
H2:EMA(神趋势H1,7);
H3:=EMA(CLOSE,108),COLORYELLOW;
STICKLINE(神趋势H1>H2,神趋势H1,H2,1,1),COLORFF00FF;
STICKLINE(神趋势H1<H2,神趋势H1,H2,1,1),COLORGREEN;
涨停H:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
寻牛线:MA(MA(L,3),3),COLORBLUE,LINETHICK2;
上箱顶:HHV(寻牛线,60),COLOR77EEEE;
突破箱顶板:=(CROSS(C,上箱顶) AND 涨停H)*288,COLORFF00FF,LINETHICK2;
MID:=MA(CLOSE,15);
红码:=MID+2*STD(CLOSE,15),LINETHICK2,COLOR0055FF;
XX:=EMA(C,5),LINETHICK2,COLORGREEN;
DRAWICON(C>红码 AND C>=O ,8,26);
IF(寻牛线>=REF(上箱顶,1),寻牛线,DRAWNULL),COLORRED,LINETHICK3;