var2:=trou**ars(3,15,1)<10;var3:=peakbars(3,15,1)<10;var4:=if(var2=1,50,0);var5:=if(var3=1,50,0);底部:=if(var4=50,10,0);买入:=if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);选股:买入=50;
diff:=(ema(close,8)-ema(close,55))*10;dea:=ema(diff,3);var1:=ema(ema(close,13),13);控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;jj:=dyna**(11);btj1:=(c-jj)/jjref(控盘,1) and 控盘