你要求的要全部,几乎选股票。略加修改,看在你的要内。v1:=ma(v,5);v2:=ma(c,60);a1:=c>ref(c,1)*1.099;a2:=barslast(a1);a3:=every(v<ref(v,1),3);b1:=v1>v2;xg:a2=4 and a3 and b1 and c<o;
条件说明:前两幅要**%,量能是缩小。最后一线要吃掉前两根阴线,量能要比前两根阴量有所放大要放大。}阴线:=c<o and c>ref(c,1)*(1-3/100);缩量:=v<ref(v,1);x1:=count(阴线 and 缩量,2)=2;{两天连续是这样}x2:=hhv(o,3)=ref(o,2);{三天前的开盘价是三天里开盘价最高的}x3:=c>hhv(o,3);...
t1:=(c-o)/o>=0 and(c-o)/o<0.002 and v>ref(v,1);t2:=(o-c)/c>=0 and(o-c)/c<0.002 and v>ref(v,1);t3:=(ref(c,1)-ref(o,1))/ref(o,1)>=0 and(ref(c,1)-ref(o,1))/ref(o,1)(v,...