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...
capital/100<=100000&&cross("kdj.k","kdj.d")&¬(namelike('s') or namelike('*s'))&&dyna**(17)!=0;===================第五个暂时没处理,你自己通过上述选取后自行判断。周期可以通过选股器中的选股周期来设置。
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;