A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);
A2:=REF(C,1)REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)A3:=L/REF(O,3)<1.03 AND C>REF(C,3);
N型:A1 AND A2 AND A3,COLORRED;
N:=13;N1:=102;M:=7;
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AAX*N1/100;
通道2:=AAX*(200-N1)/100;
吞并反转:=REF(CLOSE,2)/REF(CLOSE,1)>=1.04 AND CLOSE>REF(HIGH,1) AND OPEN>REF(LOW,1);
黄线拐头向上:=通道2>REF(通道2,1);
S13:=IF(CODELIKE('300'),0,1);
S23:=IF(NAMELIKE('S'),0,1);
S33:=IF(NAMELIKE('*'),0,1);
S43:=DYNAINFO(17)>0;
剔除:=S13 AND S23 AND S33 AND S43;
N型转向:吞并反转 AND 黄线拐头向上 AND 剔除;
X_1:=HIGH=HHV(HIGH,20);
X_2:=REF(HIGH,BARSLAST(X_1));
X_3:=IF(HIGH<=REF(HIGH,1) AND REF(HIGH,1)>=REF(HIGH,2),REF(HIGH,1),REF(REF(HIGH,1),BARSLAST(HIGH<=REF(HIGH,1) AND REF(HIGH,1)>=REF(HIGH,2))));
N型强势突破:REF(HIGH,1)
ZT:=(C>=ZTPRICE(REF(CLOSE,1),0.1)) OR (C/REF(C,1)>1.095 && C=H);
ELZ:=EVERY(ZT,2);
ZTS:=BARSLAST(ZT=1);
TK:=L-REF(H,1)>=0.01;
TS1:=BARSLAST(CROSS(COUNT(TK,30),0.5));
XG1:=EVERY(L-REF(H,TS1+1)>=0.01,TS1) AND LO;
TS2:=BARSLAST(CROSS(COUNT(TK,30),1.5));
XG2:=EVERY(L-REF(H,TS2+1)>=0.01,TS2) AND LO;
TS3:=BARSLAST(CROSS(COUNT(TK,30),2.5));
XG3:=EVERY(L-REF(H,TS3+1)>=0.01,TS3) AND LO;
TS4:=BARSLAST(CROSS(COUNT(TK,30),3.5));
XG4:=EVERY(L-REF(H,TS4+1)>=0.01,TS4) AND LO;
TS5:=BARSLAST(CROSS(COUNT(TK,30),4.5));
XG5:=EVERY(L-REF(H,TS5+1)>=0.01,TS5) AND LO;
TS6:=BARSLAST(CROSS(COUNT(TK,30),5.5));
XG6:=EVERY(L-REF(H,TS6+1)>=0.01,TS6) AND LO;
TS7:=BARSLAST(CROSS(COUNT(TK,30),6.5));
XG7:=EVERY(L-REF(H,TS7+1)>=0.01,TS7) AND LO;
TS8:=BARSLAST(CROSS(COUNT(TK,30),7.5));
XG8:=EVERY(L-REF(H,TS8+1)>=0.01,TS8) AND LO AND REF(ZTS,1)>=2;
N型回踩:(XG1 OR XG2 OR XG3 OR XG4 OR XG5 OR XG6 OR XG7 OR XG8 ) AND REF(ZTS,1)<=20;
XA_4:=IF(DYNAINFO(17)>0 AND DYNAINFO(4)>0,1,0);
XA_5:=IF(NAMELIKE(1),0,1);
XA_6:=IF(NAMELIKE(2),0,1);
XA_7:=IF(INBLOCK(3) OR INBLOCK(4),0,1);
XA_8:=BARSCOUNT(CLOSE)>28;
XA_9:=IF(CODELIKE(5),0,1);
XA_10:=FINANCE(33)>0;
XA_11:=XA_4 AND XA_5 AND XA_6 AND XA_7 AND XA_10 AND XA_8 AND XA_9;
XA_12:=MA(CLOSE,20);
XA_13:=XA_12+2*STD(CLOSE,20);
XA_14:=XA_12-2*STD(CLOSE,20);
XA_15:=CROSS(CLOSE,XA_13);
XA_16:=CROSS(XA_13,CLOSE);
XA_17:=REF(BARSLAST(XA_15),1);
XA_18:=REF(BARSLAST(XA_16),1);
XA_19:=REF(COUNT(CLOSE