n:=3;{倍量参数根据需要可以调整,这里是定3倍}m:=30;{参数根据需要可以调整}aa:=v>ref(v,1)*n;{成交量大于前一日3倍}aa1:=100*sum(vol,10)/capital<=m;{阶段缩量}aa and aa1;{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵}
a:=ref(h,120);新高:=a>=hhv(h,0);m5:=ma(c,5);m13:=ma(c,13);金叉:=cross(m5,m13);回调:=(hhv(c,120)-c)/hhv(c,120)>0.3;放量:=v/ref(v,1)>=2.01;缩量:=ref(c,1)>ma(c,34);xg:回调 and 金叉 and 新高 and 放量 and 缩量;(你要...
var2:=1/winner(close);var3:=100-abs((close-ma(close,13))/ma(close,13)*100);var4:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;var5:=sma(var4,5,1);v**:=sma(var5,9,1);兰柱:var2>5 and var3;var2:=1...