aobv:="obv.obv;amacd:="macd.macd;adif:="macd.dif;adea:="macd.dea;aa1:=h=hhv(aobv,120);aa2:=amacd>0 and adif>adea;aa3:=ma(c,5)>ma(c,10)>ma(c,20) 条件成立:aa1 and aa2 and aa3;
{通达信已通过测试}{选股}var1:=(2*close+high+low)/4;var2:=llv(low,34);var3:=hhv(high,34);xx:=ema((var1-var2)/(var3-var2)*100,13);yy:=ema(0.667*ref(xx,1)+0.333*xx,2);选股:cross(xx,yy) and xx<20;-----------------...
{操盘指标,白色为出局线,箭头为买点,测试可以满足你的条件,个人认为72日以上的更好}m1:=ma(c,5);m2:=ma(c,10);m3:=ma(c,30);m4:=ma(c,72);t1:=c>m4;t2:=m1<m2 and m3>ref(m3,1);t3:=m2>ref(m2,1) and c<m2;xg:=t1 and t2 and t3;drawicon...
cys:=(c-(0.01*ema(amount,13)/ema(v,13)))/(0.01*ema(amount,13)/ema(v,13))*100;底背离:ref(c,barslast(ref(filter(backset(ref(cys,n)=llv(cys,2*n+1),n+1),n) and cys=llv(cys,n+1),1))+1)>c and ref(cys,barslast(...
做个记号,等下来解决 ------------------------------------tj:=filter(c,239)>0;tjj:=sum(tj,0);tja:=const(tjj);a7:=c-ref(c,1);a8:=if(((tja<2 or period!= 0) or period!= 0),5000*ema(ema(a7,11),11)/ema(ema(abs(...