iffa:=ema(close,12) - ema(close,26);deaa:=ema(diff,9);macda:=2*(diff-dea);趋势选股:cross(iffa,deaa) and deaa>0 and sum(cross(iffa,deaa),barlast(cross(iffa,0)))=1; 20210311
{xggs-}dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);tj1:=ema(dea,4);tj2:=ema(dif,17);macd:=(dif-dea)*2;{xg1:=macd>0 and (cross(macd,dea) or cross(macd,tj1));}xg2:(dif>0 and dea>0) and cro...