楼主没有把意图说的很清楚 我的理解是 收盘价联系n日均在五日均线上,且五日均线向上趋势 注意参数n可以自行设定,一般可以设为3或4或5或者其他数字。a1:=c>ma(c,5);a2:=count(a1,n)=n and n;a3:=ma(c,5)>ref(ma(c,5),1);xg:a2 and a3;如果要要求连续3日收红盘 还 a1:=c>ma(c,5);a2:=count(...
xstk:=low>ref(high, 1);tt1:=barslast(xstk)+1;hh:=ref(high,tt1);:=tt1<-3 and count(xstk,tt)>=1 and low>hh and low<=hh*1.01 andnot(ex**t(cross(hh.low),tt1));count(low>ref(high,1),3)>...