没看懂你的图中文字描述,但选股公式还是有的。dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;x_2:=barslast(ref(macd,1)<0 and macd>0);x_3:=llvbars(macd,x_2+20);x_4:=if(x_3>x_2,ref(macd,x_3),0);x_5:=macd<0 and macd>x_4 and low=llv(low,x_2+20) and x_4<0;xg:ref(x_5,1)=1 and macd>ref(macd,1) and ref(dif,x_3)<0 and macd<0; 20210311
a1:=(dvol/close)/2;a2:=sum(if(a1>500 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>500 and close<ref(close,1),a1,0),0);机构买盘:=a2;机构卖盘:=a3;bb:=机构买盘/机构卖盘;bbb:=bb/ref(bb,1);xg:bb/ref(bb,1)>...
呵呵 你这个问题比较有针对性 不错 我再给你加个5 10 20均线成多头排列 这样会更好些 但是注意大盘的风险 a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);xg:a1>a2 and a2>a3 and ref(l,1)(c,2)>a2 and ref(c,3)>a1 and c>a1 and vol>ref(vol,1)and r...
aa1:=filter(low=llv(low,13),8);aa2:=if(llv(low,3)=llv(low,13) and close<ref((high+low)/2,1),max(ref(llv(low,12),barslast(aa1)+1)-low,0),0);aa3:=ema(aa2,3)*3;aa4:=sumbars(aa3>0,21);aa5:=sum(aa3,a...
你要求的要全部,几乎选股票。略加修改,看在你的要内。v1:=ma(v,5);v2:=ma(c,60);a1:=c>ref(c,1)*1.099;a2:=barslast(a1);a3:=every(v<ref(v,1),3);b1:=v1>v2;xg:a2=4 and a3 and b1 and c<o;
a1:=ref(close,5)>ref(close,4);a2:=ref(close,4)>ref(close,3);a3:=ref(close,3)>ref(close,2);a4:=ref(close,2)>ref(close,1);a5:=close>ref(high,1) and v>ref(v,1);ret:=a1 and a2 and a3 and...