编写要求:
量缩价涨的公式: 1.阳线:收盘价大于昨日收盘价。2.阴线:收盘价大于昨日开盘价。
www.gszx.com.cn网解答:
1.C>O AND C>REF(C,1) AND V<REF(V,1) AND C>REF(C,1);
----------------------------------
2.C<O AND C>REF(O,1) AND V<REF(V,1) AND C>REF(C,1);
------------------------------------------
AA:=C>O AND C>REF(C,1) AND V<REF(V,1) AND C>REF(C,1);
BB:=C<O AND C>REF(O,1) AND V<REF(V,1) AND C>REF(C,1);
AA OR BB;