{参数n m x y z自己设} 上升趋势:=ma(c,3)>ref(ma(c,3),1);{上升趋势} 放量:=v/ref(v,1)>min(x,y);{放量} 周期1:=sumbars(放量,2);{2次放量之间的周期数} 量1:=ref(v,周期1-1)/ref(v,周期1)>x;{第1次放量,量相对昨天的量要大x倍} 量2:=v/ref(v,1)>y;{第2次放量,...
我给你写了一个,9月16日收盘后在通达信上运行了,选出398个股.你的用了3个或者,逻辑上有点不清.如还有问题,发email给我.祝你好运.x1:=count(cross(ma(v,35),ma(v,135)),3)=1; {3是指3天内上穿,如你不喜欢3天,可以用一个参数,如m,最小1,最大4,默认3}x2:=ma(v,35)>ma(v,135) and (count(cross(ma(v...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));