第一个公式:ref(hhv(c,22),1)/ref(c,23)>1.5 and c/ref(hhv(c,22),1)<0.8;测试通过!第二个公式:ref(hhv(c,22),1)/ref(c,23)>1.5 and c/xs.ldn>1 and c/xs.ldn<1.05;测试通过!提示:第二个公式回调的是ldn之上一个5%的区域,这样选股会稍多一些,以便抓住更多...
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...