源码
缺省参数为:(5,8,3,8,5),公式如下:
M1:MA(CLOSE,M),COLORWHITE;
M2:MA(CLOSE,N),COLORYELLOW;
DRAWICON(CROSS(M1,M2),L*0.999,4);
DRAWICON(CROSS(M2,M1),H*0.999,5);
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,E);
DRAWTEXT(CROSS(DIFF,DEA),L*0.999,'买');
DRAWTEXT(CROSS(DEA,DIFF),H*1.001,'卖');
主图指标,博易大师下可以使用,原理来自MACD指标,不太适合股票
不包含未来函数,但当根K线收盘前,信号可能会发生闪烁,收盘后信号不会消失,
此指标仅做参考,如图: