yc_买进:=((close-ref(ma(close,6),1))/6+ma(close,6))*1.004;买进条件:=cross(close,yc_买进) and yc_买进>ref(yc_买进,1);yc_加仓:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;加仓条件:=cross(close,yc_加仓) and yc_加仓>ref(yc_加仓,1);满仓:买进条件 and 加仓条件;=================var4a:=ema(close,3);出手:count(ref(var4a,1)<ref(var4a,2),5)=5 and var4a>ref(var4a,1); 20210311
{黑马=1 做个预警和选股, 公式中使用了未来函数,请小心使用}diff0:=(ema(dclose,12)-ema(dclose,26))*100;dea0:=ema(diff0,9);macd0:=2*(diff0-dea0);黑马:(macd0>ref(macd0,1)*2.5 and macd0>15);
{ok.测试通过}n:=8;aa1:=ref(l,n)=llv(l,2*n+1);bb1:=backset(aa1,n+1);cc1:=filter(bb1,n) and l=llv(l,n+1);m:=intpart(3*n/5);aa2:=ref(l,m)=llv(l,2*m+1);bb2:=backset(aa2,m+1);cc2:=filter(bb2,m) and l=llv(l,m+1...
1、“今天涨5%以上,”,这句是昨天涨5%以上,今天开盘为跳空高开:f:=(c-ref(c,1))/ref(c,1)*100;xg:ref(f,1)>5 and o>ref(h,1);---------------------------------2、跳空高开,一字涨停:f:=(c-ref(c,1))/ref(c,1)*100;一字涨停:o>ref(h,1) and o=h a...
因为你的公式不全,只能改写如下: 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...