X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=(X_1-X_2)*2;
X_4:=crOSS(X_2,X_1) AND X_2>0;
X_5:=REF(HIGH,BArslAST(X_4));
X_6:=CLOSE>X_5 AND REF(CLOSE,1)
买进:X_6 OR X_7;
X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=(X_1-X_2)*2;
X_4:=crOSS(X_2,X_1) AND X_2>0;
X_5:=REF(HIGH,BArslAST(X_4));
X_6:=CLOSE>X_5 AND REF(CLOSE,1)
买进:X_6 OR X_7;