桃子味的加应子
2024-11-15 20:56:48
最佳回答
aa05:=ma(c,5); mm5:=(c-aa05)/aa05*100; bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416; nn5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1); nnnn5:=ema((nn5-ref(nn5,1)),3),linethick0; aa10:=ma(c,10); aa20:=ma(c,20); bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416; aa30:=ma(c,30); mm30:=(c-aa30)/aa30*100; var1:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1); var2:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and aa30<ref(aa30,1); bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416; 强势:=filter(bb30>30 and bb10>45 and cross(bb05,60),10); 加仓:=filter(count(cross(bb05,30),5)>=1 and aa05>ref(aa05,1) and mm30>ref(mm30,1) and aa10>ref(aa10,1) and nnnn5>ref(nn5,1) and nn5>ref(nn5,1) ,10) ; mr:=count(cross(mm30,0),3)>=1 and mm30>ref(mm30,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<aa30; 买入:=filter(mr,10); aaa:=加仓 or 买入;pn1:=dyna**(8)>0;pn2:=dyna**(17)>0;pn3:=dyna**(22)>0;pn4:=dyna**(23)>0;st:=if(namelike('st')=1,0,if(namelike('s st')=1,0,if(namelike('*st')=1,0,1))); 去除:=pn1*pn2*pn3*pn4*st; {只选非st类和当天非停牌的股------用于配合选股公式};diff:=ema(close,3)-ema(close,8);x1:=ema(diff,5)*5;x2:=((ema(close,3)-ema(close,8)))*5;xg:cross(x2,x1) and x2>0 and aaa and 去除; (两个条件都满足的情况下选股) 20210311