n4:=34;涨幅:=c/ref(c,1)>2;中期:=100*(c-llv(l,n4))/(hhv(c,n4)-llv(l,n4));kdd:=ref(中期,1)<1 and 中期>1;kaaa1:=ex**t(kdd,3);kbbb1:=c/ref(c,1)>1+0.01*涨幅;超级资金:kaaa1 and kbbb1;
涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;lc:=ref(close,1);抄底线:=20;震仓线:=45;震仓线2:=50;操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;pp3:...
{买入股票}v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);趋势线:=ema(v11,3);v12:=(趋势线-ref(趋势线,1))/ref(趋势线,1)*100;买入股票:趋势线<=13 and v12&g...