同花顺MACD金叉买入指标公式:
DIFF:=EMA(CLOSE,6)-EMA(CLOSE,10);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA),COLORSTICK;
金叉信号1:CROSS(CLOSE,MA(CLOSE,34)) AND CROSS(MA(CLOSE,3),MA(CLOSE,8));
A1:=DIFF<REF(DIFF,1) AND DIFF<0;
A2:=BARSLAST(A1) AND MACD>0;
买入信号:FILTER(A2,10)
同花顺MACD金叉买入指标公式