xg:ref(c<o and h/l>1.03,1)and c>o and c/ref(c,1)-1>ref(h/l-1,1)*0.5 and macd.macd(count(ma(c,10)(c,20)and ma(c,20)(c,60),30)=30)and hhv(h,10)/llv(l,10)>1.05;
没看懂你的图中文字描述,但选股公式还是有的。dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;x_2:=barslast(ref(macd,1)<0 and macd>0);x_3:=llvbars(macd,x_2+20);x_4:=if(x_3>x_2,ref(macd,x_3),0);x_5...
连续出现三颗小星星(有上下影线)已经是极品票了,数量本身就很少,你再加条件写公式,写不好就一个票也选不出的。只能这样了,写了个连续出现三个小星,且收盘价在25日线上的指标。票不多,出来后只有手工挑选了。aa1:=abs(c-o)<0.02 and h>max(c,o) and l<min(c,o);xg:count(every(aa1,3),4)=1 and c>ma(c,...