n天上升在当天下降的选股公式,n为参数、最小2 最大100缺省你自己定a:=p1+(100-90)/2;b:=(100-90)/2;cc:=cost(a);dd:=cost(b);scr:=(cc-dd)/(cc+dd)*100/2;last(scr>ref(scr,1),n,1) and scr<ref(scr,1);n日内最大值选股,n为参数,也可以直接改成20scr=hhv(sc...
aa:=all(c>ma(c,20),20);bb:=(c-ma(c,20)=llv(c-ma(c,20),20));cc:=(c-ma(c,20))/ma(c,20)*100<4 and (c-ma(c,20))/ma(c,20)*100>0;aa and bb and cc;{以上是股价回落到20日线附近,今天的收盘价与20日均价之间距离小于4%,其中“4”可以自调,不明白的...
n:=26;br:=sum(max(0,high-ref(close,1)),n)/sum(max(0,ref(close,1)-low),n)*100;ar:=sum(high-open,n)/sum(open-low,n)*100;br>50 and br<70 and ar>50 and ar<70 ;
lc:=ref(c,1);涨停:=if(lc*1.1-c<0.01,1,0);hh:=count(涨停,13)>=1;震仓线:=45;操作线:=sma(max(c-lc,0),2,1)/sma(abs(c-lc),2,1)*100;pp:=操作线<震仓线 and ref(操作线,1)>震仓线;a:=sma(l,4,3);xg:cross(操作线,10) && hh>0...