你是要编写选股公式吧?是可以编写的,但是不表达的不是特别的清楚,大概是这样的dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);ref(dif,3)>ref(dea,3) and ref(dif,4)<ref(dea,4) and ref(dif,2)>ref(dea,2) and ref(dif,1)>ref(d...
{在0轴上方;2、macd黄白线刚刚金叉;}macd>0 and cross(macd.dif,macd.dea);{3、macd绿柱明显缩短。4、如果在0轴以下,macd黄白线挑头向上,macd绿柱明显缩短也行}macd.dif<0 and macd.dea<0 and ref(macd.dif,1)<macd.dif and ref(macd.dea,1)<ma...