X_1:=15;
X_2:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.093 AND CLOSE=HIGH);
X_3:=CLOSE/REF(CLOSE,1)>=1.035 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.035 AND CLOSE=HIGH);
X_4:=IF(NAMELIKE(16),1,0);
X_5:=IF(NAMELIKE(17),1,0);
X_6:=IF(NAMELIKE(18),1,0);
X_7:=X_4 OR X_5 OR X_6;
X_8:=BArslAST(NOT(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0))=0));
X_9:=IF(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0))=0,REF(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0)),X_8),IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0)));
X_10:=IF(X_7,BARSLAST(X_3),IF(X_7=0,BARSLAST(X_2),DRAWNULL));
红进:=REF(crOSS(0,X_9),1) AND CROSS(X_9,0) AND REF(X_10,1)<=X_1;
红箭头:红进;