N:=1,99,2;
M:=1,99,1;
X_1:=FORCAST(EMA(CLOSE,3),N);
X_2:=FORCAST(EMA(CLOSE,5),N);
X_3:=FORCAST(EMA(CLOSE,3),N);
X_4:=FORCAST(EMA(CLOSE,3),N);
X_5:=FORCAST(EMA(CLOSE,3),N);
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)),NODRAW;
X_9:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
X_10:=FORCAST(EMA(X_9,M),8);
红实芯:STICKLINE(X_7>=REF(X_7,1) AND X_10>=REF(X_10,1),0,X_8,2,0),COLOR3434FF;
蓝实芯:STICKLINE(X_7<REF(X_7,1) AND X_10<=REF(X_10,1),0,X_8,2,0),COLORFFFF82;
蓝空芯:STICKLINE(X_7>=REF(X_7,1) AND X_10<REF(X_10,1),0,X_8,2,1),COLORFFFF82;
红空芯:STICKLINE(X_7<REF(X_7,1) AND X_10>=REF(X_10,1),0,X_8,2,1),COLOR3434FF;