任逍遥 副图 源码 集稳定性与敏感性于一身
源码
//Short(3,100,50)
//Long(10,1000,120)
//M(1,500,8)
DIFF :=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA :=EMA(DIFF,M);
MACD :=2*(DIFF-DEA);
Zero : 0;
MACD:=SUM(MACD,0),Linethick2;
PARTLINE( MACD, MACD REF( MACD,1),RGB(250,0,0), MACD REF( MACD,1),RGB(0,0,250));