X_1:=FILTERX(CURRBARSCOUNT>20 AND CURRBARSCOUNT<120 AND HIGH=HHV(HIGH,120),100);
X_2:=BArslAST(X_1);
X_3:=REF(HIGH,X_2);
X_4:=10/TAN(JD*3.1416/180);
X_5:=X_3*0.1/X_4;
L15:=IF(RANGE(X_2,(-1),100),X_3-X_5*X_2,DRAWNULL);
X_17:=X_2>40 AND REF(crOSS(LOW,L15),1) AND CLOSE>OPEN;
红箭头:X_17;