X_1:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
X_2:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
X_3:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
X_4:=MA(ATAN(X_3-REF(X_3,1)),3);
X_5:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
X_6:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
X_7:=MA(REF((X_5+X_6),1),26);
X_8:=X_4>X_7 AND X_4>REF(X_4,1);
X_9:=X_8 AND X_2>200 AND X_1>20 AND CLOSE>REF(CLOSE,1);
STICKLINE(C/REF(C,1)>=1.1,C-(C-O)/3,O,2,0),COLORYELLOW;
STICKLINE(C/REF(C,1)>=1.0989 AND C=H,C,O,2,0),COLORYELLOW;
STICKLINE(C/REF(C,1)>=1.05 AND C/REF(C,1)<1.0989,C,O,2,0),COLORMAGENTA;
STICKLINE(C/REF(C,1)>=1.03 AND C/REF(C,1)<1.05,C,O,2,0),COLORRED;
DRAWTEXT(X_9,L*0.95,'←神龙擒庄'),COLORYELLOW,LINETHICK2;
TT:(EMA(C,5)*7+EMA(C,10)*3)/10,NODRAW;
X_10:=CROSS(TT,MA(HIGH,30)*(1+13/100));
X_11:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_12:=8*X_11+7*REF(X_11,1)+6*REF(X_11,2);
X_13:=X_12+5*REF(X_11,3)+4*REF(X_11,4);
X_14:=X_13+3*REF(X_11,5)+2*REF(X_11,6);
DRAWTEXT(FILTER(X_10,5),MA(HIGH,30)*(1+13/100)*0.96,'捉大妖'),COLORYELLOW;
VAR1:(X_14+REF(X_11,8))/36,LINETHICK2,COLORRED;
X_15:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
X_16:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
VAR38:=(HIGH+LOW+CLOSE)/3;
VAR39:=(VAR38-MA(VAR38,14))/(0.015*AVEDEV(VAR38,14));
BB:(HHV(X_15,2)+HHV(X_15,4)+HHV(X_15,8))/3,COLORYELLOW,LINETHICK4;
IF((VAR1<=REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK4;
IF((VAR1>=REF(VAR1,1)),VAR1,DRAWNULL),COLORMAGENTA,LINETHICK4;
STICKLINE(BB>VAR1,BB,VAR1,0,0),COLORBLUE;
DRAWTEXT(REF(X_16,1)=REF(VAR1,1) AND X_16<VAR1,L*0.98,'加仓'),COLORYELLOW;
DRAWTEXT(CROSS(84,RSI),HIGH,'→逃顶'),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(RSI,11),LOW*0.95,'→低吸'),COLORWHITE;
DRAWTEXT(VAR39>=200,HIGH*1.02,'←----小心'),COLORLIRED;