dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9);dea>ref(dea,1) and dea>=0.5 and dea<=0.8;or(dea<ref(dea,1) and dea>=0.5 and dea<=0.8);两个选股条件合并为一个公式了,要分为两个的话分别取1,2,3行和1,2,5行
aa:=(o-ref(c,1))/ref(c,1)>=0.06 and (l-ref(c,1))/ref(c,1)>=0.04;zt:=(c-ref(c,1))/ref(c,1)>=0.095 and h!=l and (o-l)/l>0.01;sc:aa and zt;您好可试我编写的公式够把您想要的t字涨停给选出来,希够帮助到您祝愿您投资顺利,心想事成,工作顺利
t1:=c/o>1.07;t2:=o>ref(c,1)and min(c,o)-l>0 and h-max(c,o)>0 and max(c,o)/min(c,o)<1.04 and v>ref(v,1);xg:ref(t1,2)=1 and ref(t2,1)=1 and c(c,5)*1.01 and c>ma(c,5)*0.99;以上公式判断是收盘价...
{macd}dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9); macd:=(dif-dea)*2; ud:=(c-ref(c,1))/ref(c,1)*100;t1:=count(c>ref(c,1),2)=2 and between(ud,1.5,6);t2:=dea>0 and dif>0;t3:=ma(c,5)>ref(ma(c,5),1)...