ma65:=ma(c,65);ma250:=ma(c,250);bb:count(cross(ma(c,65),ma(c,250)),250);xg:=ma250>ref(ma65,1);cross(ma250,ma65) and xg and bb;cross(ma250,ma65) and xg and bb;这句错误,不知道你想表达的意思。bb大于0的情况下,那么cross(ma250...
dif:=ema(close,short) ema(close,long);dea:=ema(dif,mid);macd:=2*(dif-dea);condtion_a:=c=llv(c,30);condtion_b1:=macd=min(macd,0);condtion_b2:=not(macd=llv(macd,30));condtion_b:=condtion_b1 and condtion...