楼主是要选股公式吧?今日K线实体包含昨日K线实体,并且今日实际涨幅在2%以上对吧。OREF(MAX(C,0),1) AND C/REF(C,1)>1.02;这样应该可以了。
REF(C=MAX(O,C) AND H>=REF(H,1) AND L<=REF(L,1) AND C/REF(C,1)>=2;
XG:O<=MIN(REF(O,1),REF(C,1)) AND C>=MAX(REF(O,1),REF(C,1)) AND C/0>1.02;
O<=MIN(REF(O,1),REF(C,1)) AND C>=MAX(REF(O,1),REF(C,1));