c>ma(c,30) and c>ref(ma(c,30),1) and c/ref(c,1)>=1.02 and ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20);{股价连续2日占在30日均线上,股价当日涨幅2%以上,5日均线10日均线20日均线多头排列已测试,复制可直接引用,如果回答满意,请记得给采纳}
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);xg:dea>ref(dea,1);(信号太多了)dea转头向上的选股:dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);xg:ref(dea,1)<ref(dea,2) and dea>ref(dea,1);
s0:=c>3 and c<10 and c>ref(c,1) and c<ref(c,1)*1.023;s1:=if(codelike('300'),0,1); {通达信去掉创业板}s2:=if(namelike('s'),0,1); {通达信去掉*、s、st}s3:=if(namelike('*'),0,1);tp:=dy...
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);zf:=(c-o)/o*100>4;bias20:=(close-ma(close,5))/ma(close,5)*100*vol;bias21:=(close-ma(close,5))/ma(close,5)*100*c;量:barslast(barslast(bias20>0 and ref(bi...
涨2停:=c>=intpart(ref(c,1)*(1.0995)*100)/100 and c=h and currbarscount<=20; 涨停中处:=ref((h+l)/2,barslast(涨2停)); xg:cross(涨停中处*1.006,c) and not(涨2停) and c>涨停中处*0.995;
涨幅大于1.50%公式:dyna**(4)>0 and c/ref(c,1)>1.015 and c>=ref(c,1);不要st 不要创业板公式:st:=if(namelike('st')or namelike('*st'),0,1);zcin:=if(codelike('300')or codelike('002'),0,1);去掉:st and zcin;在公式设置那分别把...