X_1:=10;
X_2:=5;
X_3:=CLOSE=HHV(CLOSE,X_1);
X_4:=BArslAST(X_3);
底:=LLV(LOW,X_1),COLORFF9933;
顶:=HHV(HIGH,X_1),COLOR0099CC;
前高:=IF(X_4>0,REF(CLOSE,X_4),REF(CLOSE,X_4)),COLORCYAN,LINETHICK2;
MA5:=MA(CLOSE,5),COLORMAGENTA,LINETHICK2;
MA13:=MA(CLOSE,13),COLORGREEN,LINETHICK2;
X_5:=MA(CLOSE,20);
X_6:=MA(CLOSE,30);
X_7:=MA(CLOSE,60);
X_8:=SMA(CLOSE,120,1);
X_9:=crOSS(CLOSE,REF(前高,1));
X_10:=X_9 AND COUNT(X_9,5)=1;
出击:X_10;