好像写过了。下载最新的5分钟数据,选股周期设为5分钟进行选股。ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,40)>ref(ma(c,40),1) and ma(c,50)>...
ma1:=ma(close,5);ma2:=ma(close,10);ma3:=ma(close,20);ma4:=ma(close,60);xg:count(cross(ma1,ma2),3)=1 and count(cross(ma1,ma3),3)=1 and count(cross(ma1,ma4),3)=1;