可参考案例:600185格力地产、在10月30日和31日出现的两根K线。要求是在10月31日那根锤头线确立时选出。
爱约股解答:
A:=HHV(MA(C,5)/MA(C,20)>=1.03,5) AND RANGE(MA(C,5),MA(C,20),MA(C,10));
B:=C/O>=1.025 AND (H-C)/ABS(C-O)>=0.8 AND (O-L)/ABS(C-O)<=0.2;
D:=C>O AND O>REF(C,1) AND (O-L)/ABS(C-O)>=0.9 AND (H-C)/ABS(C-O)<=0.1 AND H/REF(H,1)>=0.99;
A AND REF(B,1) AND D AND CROSS(MA(C,5),REF(MA(C,5),1));