编写要求:
在20日内K线上升、下降途中股价上探下摸前一日K线实体部位的选股公式。
公式在线网解答:
A:=BARSLAST(MA(C,5)>MA(C,10) AND CROSS(MA(C,10),MA(C,20)));
B:=CROSS(MA(C,20),L) AND RANGE(MA(C,5),MA(C,20),MA(C,10)) AND C/O<=0.985;
D:=(O-REF(C,1))/REF(O-C,1)<=0.1 AND C>REF(O,1) AND C>MA(C,5);
A>=10 AND A<=20 AND REF(B,1) AND D;