x1:=count(ma(c,5)>ref(ma(c,5),1),5)=5;x2:=count(ma(c,10)>ref(ma(c,10),1),5)=5;x3:=count(ma(c,20)>ref(ma(c,20),1),5)=5;x4:=vol/capital=3;x5:c>ma(c,5);x6:vol/shgzg*100>6;x:x1 and x2 and x3 and x4 and x5...
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);
副图指标:dif:ema(close,short)-ema(close,long);dea:ema(dif,9);macd:(dif-dea),colorstick;cd:=macd>ref(macd,1) and ref(macd,1)=llv(macd,5);drawtext(cd ,0*0.88,'买'),coloryellow;选股指标:dif:=ema(close,...