1)ref(c,1)>ref(o,1) and ref(h,1)/ref(c,1)>1.02 and ref(h,1)/ref(l,1))>1.02 and ref(h,1)/ref(l,1))<1.05 and o>c and c/l>1.02 and and h/l>1.02 and h/l<1.05; 2) ref(...
zdf:=(c-ref(c,1))/ref(c,1)*100;kp:=o/ref(c,1)*100-100;sy:=(h/max(c,o)-1)*100;xy:=(min(c,o)/l-1)*100;低开:=-1;下影:=2;涨跌幅:=3;xg:ref(c>o and sy>0.5,1)and kp<低开 and xy>下影 and zdf>涨跌幅;别忘记点采纳了。
a:=if(ref(close,1)>ref(open,1),close,open);b:=close>a;{//当前收盘价站上前一日实体)c:=max(ref(vol,1),ref(vol,2),ref(vol,3);{//最近3日的成交量最大值}result:if((b and vol>c),1,0);{返回1为符合,0为不符合}
{选股}aa:=ref(close,1)>ref(open,1);{昨天阳线}bb:=(open and close)>ref(open,1);{今天阳线}cc:=(open and close)<ref(close,1);{今天或阴线}dd:=l>ref(l,1) and c>o and h<ref(h,1);{今天阳线在昨阳线实体内}xg:aa and (b...