A0:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(C-L);
A1:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(H-O);
(A0 OR A1) AND (C-REF(C,3))*100/REF(C,3)<-6 AND BARSCOUNT(CLOSE)>=4;
把下錘子去掉,只選上錘子。
你可以用下面兩個(gè)公式來滿足兩種不同的要求:
=========================================================================
公式一
A0:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(C-L);
A1:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(H-O);
A0 AND (C-REF(C,3))*100/REF(C,3)<-6 AND BARSCOUNT(CLOSE)>=4;
==========================================================================
公式二
A0:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(C-L);
A1:=(H-L)>4*(MAX(O,C)-MIN(O,C)) AND (H-L)>5*(H-O);
A1 AND (C-REF(C,3))*100/REF(C,3)<-6 AND BARSCOUNT(CLOSE)>=4;