{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...
aa:=close>=ref(low,1) and close>=ref(low,2); {当日收盘大于或等于昨天,前天的收盘价}bb:=last(range(close/ref(close,1),0.97,1.03),4,0);{连续4天内的涨跌幅度在+/-3%内,如果觉得4天不合适,你可以自己调整里面的天数』cc:=range(close/ref(close,4),0.97,1.03);{当天...