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); 20210311
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...
因为你的公式不全,只能改写如下: a:=winner(close+close*15/100)*100;b:=winner(close+close*0/100)*100;cc:=a-b;d:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100;e:=cc(6);a2:="if(low">a1,0,if(high0 or a2...
a1:=dyna**(6);a2:=if(low>a1,0,if(high<a1,1,(a1-low+0.01)/(high-low+0.01)));a3:=vol/winner(low);a4:=ref(hhv(close,120),1);a5:=ref(llv(close,120),1);a6:=100*(close-a5)/(a4-a5);a7:=a2>0 or a2=1;...