《建立你自己的交易系统》之〖连续性拐点〗副图预警 拐点战法 指标源码
在《建立你自己的交易系统》一书第四、五两章中介绍了拐点战法,一类是上升趋势中的拐点,有两类有效拐点,连续性拐点和跳跃性拐点,一类是下跌趋势中的拐点,跳空性反转拐点和反包性反转拐点。接下来将连续介绍拐点战法。
本节主题是上升趋势中拐点。在战法原理上符合多头趋势成功概率高,强中之强共振符合顺势而为。关于原理探讨在此不做过多阐释,有兴趣钻研股友可以自己查阅。
B1:=MA(CLOSE,5)>MA(CLOSE,10)AND MA(CLOSE, 10)>MA(CLOSE,20)AND MA(CLOSE,20)>MA(CLOSE,
30) AND MA(CLOSE,30)> MA(CLOSE,60) AND MA (CLOSE,60)>MA(CLOSE,120){必杀一1多头排列};
B2:=REF(MA(C,10),3)>REF(MA(C,20),3)AND REF(MA(C,20),3)>REF(MA(C,30),3)AND REF(MA(C,30),3)>REF(MA(C,60),3)AND REF(MA(C,60),3)>REF(MA(C,120),3){必杀一2:顺络1};
B3:=REF(MA(C,10),6)>REF(MA(C,20),6)AND REF(MA(C,20),6)>REF(MA(C,30),6)AND REF(MA(C,30),6)>REF(MA(C,60),6)AND REF(MA(C,60),6)>REF(MA(C,120),6){必杀一3:顺络2};
B4:=MA(C,10)>REF(MA(C,10),2)AND REF(MA(C,10),2)>REF(MA(C,10),4)AND REF(MA(C,10),4)>REF(MA (C,10),6){必杀一4:阶段非盘整};
B5:=REF (C,4) OR V>MA(V,5) OR L<=MA(C,20){必杀一5:首次转强};
B6:=(C-REF(C,1))/REF(C,1)*100>=2 AND (C-REF(C,1))/REF(C,1)*100<=9.9 AND V*100/FINANCE(7)*100>=2 AND V*100/FINANCE(7)*100<30{必杀一6:涨幅及换手};
B7:=V>REF(V,1)AND V<2.5*REF(V,1)AND MA(C,5)>=REF(MA(C,5),1)+0.01 AND(C-O)>=1.2*(REF(O,1)-REF(C,1)){必杀一7:量柱及实体};
B8:=(MA(C,5)-MA(C,10))/(C-O)>0.1 AND (MA(C,5)-MA(C,10))/(C-O)<0.6 AND (C-MA(C,5))/(C-O)>=0.05 AND (C-MA(C,5))/(C-O)<0.66 AND(MA(C,10)-O)/(C-O)>=0.08 AND(REF(C,1)-REF(C,2))/REF(C,2)*100<1{必杀一8:形态高低};
B9:=FINANCE(7)<100000000 {必杀一9:流通盘};
XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9;