m5:ma(close,5);m10:ma(close,10);m20:ma(close,20);m30:ma(close,30);m60:ma(close,60);drawicon(m5(c,m5)and cross(c,m10),l,1);drawicon(m5(m5,c)and cross(m10,c),h,2);drawicon(m5>m20 and m10>m20 and m...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;macd背离:l<llv(l,10) and macd>llv(macd,10);dif赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均dea赋值:dif的9日指数移动平均macd赋值:(dif-dea)*2输出macd背离:最低价<1...