第一个公式: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%的区域,这样选股会稍多一些,以便抓住更多...
1)xg:ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and c>o and ref(c,1)>ref(o,1) and ref(c,2)>ref(o,2) and c>ma(...
h3:=hhv(h,3);l3:=llv(l,3);ma5:=ma(c,5);ma10:=ma(c,10);zf10:=abs(c-ma10)/ma10*100<3;zf5:=abs(c-ma5)/ma5*100<3;no:=c<ma5 or c<ma10;x1:if(no and (zf5 or zf10),1,0);xh3:if(no and abs(c-h3)/h3*...