short:=12;long:=26;mid:=9;diff:=ema(close,short)-ema(close,long);dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);macd:=2*(dif-dea);fh1:=ref(macd,1)(macd,2)and ref(macd,2)(macd,3)and ref(macd,3)(macd,4);fh2:=macd>=0 and count(macd>ref(macd,1),1)=1;fh3:=fh1 and fh2... 20210311
amo:=amount;maamo1:=ma(amo,10);maamo2:=ma(amo,20);maamo3:=ma(amo,30); aa:=ma(c,5)>ma(c,10) and ma(c,10)>ma(c,30) and ma(c,30)>ma(c,60) and ma(c,60)>ma(c,120);cross(maamo1,maamo2) and aa a...
a:=ref(c,10)/ref(c,11)>1.099;{微调1.099,可改变选股数量,如1.098}b:=ref(l,10)=llv(l,11);d:=hhv(h,11)/llv(l,11)<1.33;e:=c/ref(c,1)>1.01;f:=ref(c,1)/ref(c,2)<1;选股:a and b and d and e and f;{在飞狐股道测试今年的20...