X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,12);
X_3:=MA(CLOSE,26);
X_4:=MA(CLOSE,60);
X_5:=X_1 AND X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND CLOSE>DTPRICE(REF(CLOSE,1),0.1);
X_6:=CLOSE/REF(CLOSE,1)>1.098;
X_7:=COUNT(X_6,6)>=2;
X7:=REF(COUNT(X_6,6)>=1,1);
X_8:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
X_9:=REF(CLOSE,1);
X_10:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(ABS(CLOSE-X_9),2,1)*100;
X_11:=45;
X_12:=20;
X_13:=X_10<X_11 AND REF(X_10,1)>X_11;
X_14:=X_10<X_12 AND REF(X_10,1)>X_12;
X_15:=COUNT(X_8,13)>=1;
X_16:=SMA(LOW,4,3);
战神:IF(X_16 AND REF(X_13,1) AND X_15 OR (X_16 AND REF(X_14,1) AND X_15),1,0) AND X_7 AND X_5;
D1:=BARSLAST(REF(X_6,1) AND C<H);
战神1:=IF(X_16 AND REF(X_13,1) AND X_15 OR (X_16 AND REF(X_14,1) AND X_15),1,0) AND X7 AND X_5 AND D1>=1 AND D1<=4 AND 1.1*C>REF(C,D1+1) AND C>MA(C,10) AND NOT(CROSS(MA(C,10),O));
N字:=FILTER(战神1,5);
DRAWICON(战神,0.4,24);
DRAWICON(战神,0.5,25);
DRAWICON(战神,0.6,26);
STICKLINE(N字,0.25,0,2,0),COLORRED;
DRAWTEXT(N字,0.28,'N字'),COLORYELLOW;