{1:a柱为涨幅超过4%的阳线且换手率大于3%, 2:b c d至少 柱有两根换手率小于a柱(是任意两柱) 3:d 柱收盘价大于a柱收盘价} ref(c,3)>ref(c,4)*1.04 and hsl>0.03 and count(v=2 and c>ref(c,3);a:=ref(c,3)>ref(c,4)*1.04 and hsl>0.03;{a柱为涨幅超过4%...
hs:=v/capital*100;s1:=between(hs,3,30);lb:=v/ref(ma(v,5),1);s2:=between(lb,1.3,30);st:=if(namelike('st')or namelike('*st'),0,1);s3:=c/ref(c,1);xz:s1 and s2 and s3>1.02 and st and v>1 and c;
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3) and ref(mac...