var1:=(2*close+high+low)/4;var2:=llv(low,34);var3:=hhv(high,34);xx:=ema((var1-var2)/(var3-var2)*100,13);yy:=ema(0.667*ref(xx,1)+0.333*xx,2);cross(xx,yy) and xx<20 ;
以上指标公式错误较多,修改了一下,希望能帮到你dif:=ema(close,9)-ema(close,18);dea:ema(dif,7);macd:=2*(dif-dea);d:=backset(dif<ref(dif,1),2);stickline(macd>=0 and macd>=ref(macd,1),0,macd,1,0),colorred;stickline(mac...
dif:=ema(close,5)-ema(close,26);dea:=ema(dif,55);macd:=(dif-dea)*2;tj:=macd>0;t:=macd<0;a:=llv(macd,55)=macd;b:=hhv(macd,55)=macd;drawicon(a and filterx(a,25), l*0.99,11);d:b and filterx(b,25);
根据题意,选股公式如下:(提示:由于条件苛刻,不是每天都能选出股票的)vara:=(close-ref(open,29))/ref(open,29)*100;varb:=ema(0.667*ref(vara,1)+0.333*vara,5);vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)...
{没有未来}var1:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;var2:=sma(var1,3,1);var3:=sma(var2,3,1);var4:=sma(var3,3,1);k:=var3;d:=var4;v**:=cross(var3,var4) and var3<20;filter(v**,10)=1;