d:=ma(close,80)-ma(close,10)/3;{收盘价的80日简单移动平均-收盘价的10日简单移动平均/3} xg:if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08 and close(close,13)*1.3,1,0);{如果符合抄底则选股,否则返回0} 狂飙蚂蚁博客编写,还有一个...
n1:=5;n2:=9;nmtm:=c-ref(c,1);zlgj:=100*ema(ema(nmtm,n1),n1)/ema(ema(abs(nmtm),n1),n1);t1:=ref(zlgj,1)<=zlgj;xg:t1=1 and ref(t1,1)=0 and zlgj<0;信号较多,帮你优化了一下。
var1:=ema(ema(close,13),13);控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;p:=55;s:=8;m1:=3;财:=(ema(close,s)-ema(close,p))*10;神:=ema(财,m1);stj02:=控盘>0;stj32:=cross(神,财) and 财>1.618;xg:filter(stj02 and...
均价:=(open+high+low+close*2)/5;突破:=均价+high-low;阻力:=均价*2-low;支撑:=均价*2-high;下降:=均价-high+low;心理:=(均价+突破+阻力+支撑+下降)/5;趋势:=expma(close,12);xg:ref(心理,1)<ref(趋势,1) and 心理>ref(心理,1) and 心理<趋势;测试通过,希望能够...