编写要求:
条件选股公式: (1)昨日K线收阳,今日K线收阴; (2)今日开盘价大于昨日收盘价; (3)今日开盘价大于昨日开盘价; (4)今日收盘价小于昨日收盘价; (5)今日最高价大于昨日最高价;
公式在线网解答:
AA:=REF(C,1)>REF(O,1) AND C<O;
BB:=O>REF(C,1);
CC:=O>REF(O,1);
DD:=C<REF(C,1);
EE:=H>REF(H,1);
XG:AA AND BB AND CC AND DD AND EE;