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)>...
你要求的要全部,几乎选股票。略加修改,看在你的要内。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;