给你写个大智慧的指标公式: diff:=ema(close,12)-ema(close,26);选出:diff>0 and diff>ref(diff,1)and ref(diff,1)(diff,2);ps:此指标可作为上涨行情结束前的预警,不可用作买入. 通达信的如下: dif:=ema(close,12)-ema(close,26);选出:dif>0 and dif>...
a:=cross(macd.dif,macd.dea);a and macd.dif>=macd.dea+0.01 and range(macd.dif,-0.3,0.3) 周dif:="macd.dif#week"(12,26,9);周dea:="macd.dea#week"(12,26,9);周dea>0 and cross(周dif,周dea);
a1:=ma(close,3);a2:=ma(close,7);a3:=ma(close,21);a4:=ma(close,56);lc:= ref(close,1);rsi1:=sma(max(close-lc,0),13,1)/sma(abs(close-lc),13,1)*100;close>a1 and a1>a2 and a2>a3 and a3>a4 and c...