n:=3;{倍量参数根据需要可以调整,这里是定3倍}m:=30;{参数根据需要可以调整}aa:=v>ref(v,1)*n;{成交量大于前一日3倍}aa1:=100*sum(vol,10)/capital<=m;{阶段缩量}aa and aa1;{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵} 20210311
副图:ma5:=ma(c,5);ma10:=ma(c,10);aa:=c>ma5 and c>ma10;bb:=ma10>ma5;cc:=ma5>ref(ma5,1);dd:=ref(every(ma10<=ref(ma10,1),3),1) and ma10>ref(ma10,1);ee:aa and bb and cc and dd;可以做为选股公式直接选出...
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ; a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20% };a3:=...
a:=ref(c,1)>ref(o,1) and c>o;a1:=ref(v,1)>ref(v,2)*1.05 and ref(v,1)<ref(v,2)*1.3;a2:=v>ref(v,1)*1.05 and v<ref(v,1)*1.3;a3:=c>ref(c,1) and c<ref(c,1)*1.03;a4:=ma(c,5)>ref(m...