呵呵 你这个问题比较有针对性 不错 我再给你加个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...
s1:=strcmp(lowerstr(strleft(stkname,2)),'st')=1;s2:=strcmp(lowerstr(strleft(stkname,2)),'300')=1;s3:=v>0;s4:=c/ref(c,1)>0.95;s5:=c*capital<10000000;xg:s1 and s2 and s3 and s4 ...
abs((ref(c,1)-ref(o,1)))/ref(c,2)*100<0.5 and (ref(h,1)-ref(l,1))/ref(c,2)*100<4 and ref(h,1)>max(ref(o,1),ref(c,1)) and ref(l,1)<min(ref(o,1),ref(c,1)) and (c-ref(c,1))/ref(c,1)*100<2....
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);a1:=cross(dif,dea);a2:=cross(ma(c,5),ma(c,10));a3:=cross(ma(v,5),ma(v,10));xg:a1 and a2 and a3; 测试通过,完全按照你的条件做的,不过完全同时满足3个条件的股不好选!如果你觉得满意,记得要给分哦,纯手工的...
dif:=ema(close,short) ema(close,long);dea:=ema(dif,mid);macd:=2*(dif-dea);condtion_a:=c=llv(c,30);condtion_b1:=macd=min(macd,0);condtion_b2:=not(macd=llv(macd,30));condtion_b:=condtion_b1 and condtion...