a5:=c>ma(c,5) and o<ma(c,5);a10:=c>ma(c,10) and o<ma(c,10);a20:=c>ma(c,20) and o<ma(c,20);a30:=c>ma(c,30) and o<ma(c,30);a60:=c>ma(c,60) and o<ma(c,60);a120:=c>ma(c,120) and o<ma(c,120);a144:=c>ma(c,144) and o<ma(c,144);a250:=c>ma(c,250) and o<ma(c,250);a5+a10+a20+a30+a60+a120+a144+a250>=3; 日线或周线都可选股,只要在选股周期里设置“日线”或“周线”即可 20210311
ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,20);ma4:=ma(c,30);ma5:=ma(c,60);aa:=ma1>ma2 and ma2>ma3 and ma3>ma4 and ma4>ma5;bb:=l>ma3*0.98 and l*1.01;cc:=cross(c,ma1)and v>1.5*ref(v,1);coun...
用下面的代码自建一个选股公式就可以了:var1:=(high+low+open+2*close)/5;var2:=ref(var1,1);var4:=(close-ref(open,29))/ref(open,29)*100;var5:=ema(0.667*ref(var4,1)+0.333*var4,5);v**:=if(vol>=1.3*ma(vol,5) and count(var4&...
m1:=ma(c,5);m2:=ma(c,10);m3:=ma(c,20);m4:=ma(c,30);m88:=(m1+m2+m3+m4)/4;成束:between(m1,m88*0.985,m88*1.015) and between(m2,m88*0.985,m88*1.015) and between(m3,m88*0.985,m88*1.015) and between(m4,m88*0....