呵呵 你这个问题比较有针对性 不错 我再给你加个5 10 20均线成多头排列 这样会更好些 但是注意大盘的风险 a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);xg:a1>a2 and a2>a3 and ref(l,1)(c,2)>a2 and ref(c,3)>a1 and c>a1 and vol>ref(vol,1)and r...
选股周期自行选用。(cross(kd.k,kd.d) or (ref(kd.k,2)>ref(kd.k,1) and kd.k>ref(kd.k,1))) and macd.macd>ref(macd.macd,1) and range(cci.cci,-100,100) and cci.cci>ref(cci.cci,1);
n:=9;m1:=3;m2:=3;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;a1:=barslast(ref(cross(k,d),1));底背离:ref(close,a1+1)>close and k>ref(k,a1+1)and cr...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3)and macd(dif...