副图:ma5:=ma(c,5);ma10:=ma(c,10);aa:=c>ma5 and c>ma10;bb:=ma10>ma5;cc:=ma5>ref(ma5,1);dd:=ref(every(ma10<=ref(ma10,1),3),1) and ma10>ref(ma10,1);ee:aa and bb and cc and dd;可以做为选股公式直接选出...
涨跌幅:=(c-ref(c,1))/ref(c,1)*100;日3累5:=ref(sum(涨跌幅,3),1);a1:=ex**t(涨跌幅>=8,8);a2:=barslastcount(涨跌幅)>=3 and 日3累5;a3:=ex**t(a2,4);a4:=ex**t(a3,4);a5:=a1 and a3 and a4 and 涨跌幅>0;xg:a5>0 and ref...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:ref(dif,2)>ref(dif,1)and dif>ref(dif,1) and dif>dea and dif-dea<0.02;测试通过,希望能够帮助你!
y1:=ma(c,n)>ma(c,n1);y2:=ma(c,n1)>ma(c,n2);y3:=ref(c,1)(c,2);y4:=ref(c,2)(c,3);y5:=cross(c,(ref(h,1)+ref(l,1))/2);预选:y1 and y2 and y3 and y4 and y5;没测试,试试吧。成交量漏写了~ s3:=ref(v,1)(v,2);s4:=ref(v,2)...