dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3)and macd(dif,dea)and c(c,1)and dea>ref(dea,1)and vol(vol,135)and count(a2 and b2,5)/5>0.6 and c1;说明... 20210311
zt:=(c-ref(c,1))/ref(c,1)*100>9.96;a1:=ex**t(zt,30);xg:=hhv(h,120)=h;a2:=ex**t(xg,10);a3:=(ref(hhv(max(c,o),5),1)-ref(min(o,c),1))/ref(min(o,c),1)*100>5 and ref(o,1)>=ref(c,1);a5:=finance(7)*...
编写一个股票公式第一天涨幅3%以上,然后5天内任意一天缩量至第一天的50%以内。tj1:=barslast(c/ref(c,1)>1.03);tj2:=v<=ref(v,1)*0.5;xg: count(tj2,tj1)=1 and tj2 and tj1<=5;这样的选股经常会碰到第二天就缩量的情况。
var1:=ema(ema(close,9),9);控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;a10:=cross(控盘,0);无庄控盘:=if(控盘<0,控盘,0);开始控盘:=if(a10,5,0);有庄控盘:=if(控盘>ref(控盘,1) and 控盘>0,控盘,0);var2:=100*winner(close*0.95);高度控盘...
abs((ref(c,1)-ref(o,1)))/ref(c,2)*100<0.5 and (ref(h,1)-ref(l,1))/ref(c,2)*100<4 and ref(h,1)>max(ref(o,1),ref(c,1)) and ref(l,1)<min(ref(o,1),ref(c,1)) and (c-ref(c,1))/ref(c,1)*100<2....
{(1)当前价格有效站稳30日均价(即至少连续3天以上在30均价之上);}tj1:=count(c>=ma(c,30),3)=3;{同时(2)macd的dif大于dea,且dif大于0;}tj2:=macd.dif>macd.dea and macd.dif>0;{同时(3)成交量:最近5日平均成交量大于40日平均成交量。}tj3:=ma(v,5)>ma(v,40);tj1...