以下是品字型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