同花顺交易选股公式
源码
DIFF : EMA(CLOSE,5) - EMA(CLOSE,10);
DEA : EMA(DIFF,22);
MACD : 2*(DIFF-DEA);
DX:=MA(C,4);
ZX:=MA(C,42);
JXR: CROSS(DX,ZX);
JXC: CROSS(ZX,DX);
MACDR:CROSS(MACD,0);
MACDC:CROSS(0,MACD);
alBUY:JXR+MACDR;
zero0:0;