X_1:=FORCAST(EMA(CLOSE,3),8);
X_2:=FORCAST(EMA(CLOSE,5),8);
X_3:=FORCAST(EMA(CLOSE,8),8);
X_4:=FORCAST(EMA(CLOSE,13),8);
X_5:=FORCAST(EMA(CLOSE,21),8);
X_6:=X_1+X_2+X_3+X_4-4*X_5;
X_7:=EMA(X_6,2);
X_8:=Abs(X_7)+ABS(REF(X_7,1));
X_9:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
X_10:=FORCAST(EMA(X_9,16),8);
红实芯:=X_7>=REF(X_7,1) AND X_10>=REF(X_10,1);
XG:crOSS(红实芯,0.5);