当前位置:→ 公式网 > 飞狐公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是品字型K线选股源码(无源码的请下载附件导入)
品字型K线选股(源码)
a1:= REF(CLOSE,1)< REF(OPEN,1) and REF(CLOSE,2)< REF(OPEN,2);
a2:= REF(OPEN,1)/REF(CLOSE,1)> 1.01 and REF(OPEN,1)/REF(CLOSE,1)<1.02;
a3:=CLOSE>OPEN and OPEN > REF(OPEN,1) and CLOSE >= REF(O,2) and OPEN < REF(OPEN,2);
a4:=REF(OPEN,2)/REF(CLOSE,2)> 1.01 and REF(OPEN,2)/REF(CLOSE,2) < 1.04 and REF(OPEN,1) >= REF(CLOSE,2);
a1 and a2 and a3 and a4