n:=3;{倍量参数根据需要可以调整,这里是定3倍}m:=30;{参数根据需要可以调整}aa:=v>ref(v,1)*n;{成交量大于前一日3倍}aa1:=100*sum(vol,10)/capital<=m;{阶段缩量}aa and aa1;{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵}
tt1:=ref(o>c,2) and ref(c/o<0.94,2);tt2:=upnday(c,2);tt3:=c>ref((l+(h-l)/2),2) and h<ref(o,2);ttt:=tt1 and tt2 and tt3;stickline(ttt,o,c,2,0),colorlimagenta;stickline(ttt,l,h,0,0),colorlim...