n:=3;{倍量参数根据需要可以调整,这里是定3倍}m:=30;{参数根据需要可以调整}aa:=v>ref(v,1)*n;{成交量大于前一日3倍}aa1:=100*sum(vol,10)/capital<=m;{阶段缩量}aa and aa1;{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵}
wy1001:=(2*close+high+low)/4;wy1002:=ema(wy1001,2);wy1003:=ema(wy1002,2);wy1004:=ema(wy1003,2);xys0:=(wy1004-ref(wy1004,1))/ref(wy1004,1)*100;xys0>0 and count(xys0>0,2)=1;原来的航海家,现在的破经传,靠不住啊!