金叉买入----副图用的高精度指标
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)