-------请高手帮忙编写一个通达信预警公式!!!
{第一图} dif:=ema(close,6)-ema(close,13);dea:=ema(dif,5);macd:=(dif-dea)*2;dif<dea and ref(macd,2)>ref(macd,1)and macd>ref(macd,1);{第二图} dif:=ema(close,6)-ema(close,13);dea:=ema(dif,5);macd:=(dif-dea)*2;dif>dea and ref(macd,2)>ref(macd,1)and macd>ref(macd,1); 20210311