{小阳突破--副图}
XYTP1:=MA(CLOSE,120);
XYTP2:=SLOPE(XYTP1,2)*100;
XYTP3:= XYTP2>0;
XYTP4:=EMA(CLOSE,8)-EMA(CLOSE,13);
XYTP5:=EMA(XYTP4,6);
XYTP6:=2*(XYTP4-XYTP5);
XYTP7:=EVERY(XYTP4>REF(XYTP4,1),BARSLASTCOUNT(XYTP4>XYTP5))AND XYTP4>XYTP5;
XYTP8:=EVERY(XYTP6>REF(XYTP6,1),BARSLASTCOUNT(XYTP4>XYTP5))AND XYTP4>XYTP5;
XYTP9:=REF(MAX(C,O),BARSLAST(XYTP7)+1);
XYTP10:=REF(MAX(C,O),BARSLAST(XYTP8)+1);
XYTP11:=IF(XYTP10>=XYTP9,XYTP10,XYTP9);
XYTP12:=HHV(IF(C>O,C,MAX(C,O)),BARSLASTCOUNT(XYTP11)+1)=HHV(IF(C>O,C,MAX(C,O)),BARSLASTCOUNT(BBI>REF(BBI,1)AND C>BBI));
XYTP13:=EVERY(XYTP4< REF(XYTP4,1),BARSLASTCOUNT(XYTP4< XYTP5))AND XYTP4< XYTP5;
X_4:=EVERY(XYTP6< REF(XYTP6,1),BARSLASTCOUNT(XYTP4< XYTP5))AND XYTP4< XYTP5;
XYTP15:=MIN(XYTP13,X_4);
XYTP16:=LLV(IF(C< O,C,MIN(C,O)),BARSLASTCOUNT(XYTP15)+1)=LLV(IF(C< O,C,MIN(C,O)),BARSLASTCOUNT(XYTP4< REF(XYTP4,1) AND BBI< REF(BBI,1) AND L< BBI));
XYTP17:=BARSLAST(XYTP12)=1;
XYTP18:=REF(MAX(C,O),BARSLAST(XYTP17)+1);
XYTP19:=CROSS(C,XYTP18);
XYTP20:=REF(XYTP4,BARSLAST(XYTP17)+1);
XYTP21:=XYTP19 AND XYTP4>XYTP20;
XYTP22:=BARSLAST(XYTP16)=1;
XYTP23:=REF(MIN(C,O),BARSLAST(XYTP22)+1);
XYTP24:=CROSS(XYTP23,C);
XYTP25:=BARSLAST(XYTP24)=1;
XYTP26:=REF(O,BARSLAST(XYTP25)+1);
XYTP27:=CROSS(C,XYTP26);
小阳突破:((XYTP27 AND C>O AND XYTP6>REF(XYTP6,1)) OR XYTP21) AND XYTP3 AND (H-REF(C,1))/REF(C,1)<0.05,LINETHICK2,COLOR0000FF;