tt1:=ref(o>c,2) and ref(c/o<0.94,2);tt2:=upnday(c,2);tt3:=c>ref((l+(h-l)/2),2) and h<ref(o,2);ttt:=tt1 and tt2 and tt3;stickline(ttt,o,c,2,0),colorlimagenta;stickline(ttt,l,h,0,0),colorlim...
根据题意,选股公式如下:dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg1:macd>0 and ref(macd,1)<0 and ref(macd,2)<0 and ref(macd,3)<0 and ref(macd,4)>0;