好東西要共享,自用的低吸指標。 信號少而精,超收益率,效率高。 因為之前,公式需要導入密碼,所以破解公式,并公布源碼,重發(fā)
公式并不是越復雜越好, 這是我自編的公式,實際上是體現(xiàn)我的思想。 我是做短線強勢股的,而有的朋友是價值投資型,思想模式不一致,有不同看法很正常。 {公式名稱:MA低吸} {公式描述:-連跌低吸} MA5:MA(CLOSE,5); {MA8:MA(CLOSE,8),COLORGREEN,DOTLINE;} MA10:MA(CLOSE,10),COLORYELLOW; MA20:MA(CLOSE,20),COLORMAGENTA; MA30:MA(CLOSE,30); MA60:MA(CLOSE,60),COLORRED,LINETHICK2; MA120:MA(CLOSE,120); MA240:MA(CLOSE,240),COLORGREEN; 漲停:=REF(C,1)*1.1-C<0.01 AND H=C; STICKLINE(漲停,C,O,2,0),COLOR00FFFF; 跌停:=C<=REF(C,1)*0.9+0.01 AND L=C; STICKLINE(跌停,C,O,2,0),COLORGREEN; 漲停失敗:=REF(C,1)*1.1-H<0.01 AND H>C AND C>O; STICKLINE(漲停失敗,C,O,2,0),COLORMAGENTA; 漲停失敗收陰:=H>=REF(C,1)*1.1-0.01 AND H>C AND C<O; STICKLINE(漲停失敗收陰,H,L,0,1),COLORWHITE; {低吸} MAA5:=MA(C,5); MAA10:=MA(C,10); MAA20:=MA(C,20); MAA30:=MA(C,30); MAA60:=MA(C,60); MAA10多頭:=LLV(MAA10-REF(MAA10,1),5)>0; MAA20多頭:=LLV(MAA20-REF(MAA20,1),2)>0; MAA30多頭:=LLV(MAA30-REF(MAA30,1),5)>0; 中線多頭:=MAA20多頭 OR MAA30多頭; MAA60多頭:= LLV(MAA60-REF(MAA60,1),2)>0 OR LLV(C-MAA60,5)>0; 多頭:= (MAA10多頭 OR MAA20多頭) AND 中線多頭; ZF:=C/REF(C,1); 下跌1:=ZF<0.97; 下跌2:=ZF<0.98 AND C<REF(C,2)*0.92; 下跌3:=HHV(ZF<1.01,2) AND C<REF(C,3)*0.92; 下跌4:=HHV(ZF<1.01,3) AND C<REF(C,3)*0.92; 下跌:=(下跌1 OR 下跌2 OR 下跌3 OR 下跌4) AND C<O; 二天漲幅:=H/REF(C,2); 三天跌幅:=REF(C,3)/C; 回調(diào)1:=下跌 AND C<REF(LLV(C,3),1) AND HHV(二天漲幅,12)>1.15 AND H<REF(HHV(H,3),1) AND C<HHV(H,5)*0.97 AND 多頭; 回調(diào)2:=下跌 AND C<REF(LLV(C,3),1) AND HHV(二天漲幅,12)>1.15 AND H<REF(HHV(H,2),2) AND C<HHV(H,5)*0.97 AND 多頭 ; 回調(diào):=回調(diào)1 OR 回調(diào)2; 暴跌:=ZF<0.94 AND C<HHV(H,2)*0.88 AND O>C*1.02 AND 多頭; 低吸1:=L<REF(L,1)*0.97 AND L<O*0.99 AND REF(回調(diào),1) AND MAA5>MAA10*0.98 AND HHV(H/MAA60,8)>1.05; 強勢股回調(diào):=REF(HHV(ZF,2),1)<0.99 AND REF(HHV(C-O,2),1)<0 AND L<REF(C,1)*0.97 AND L<REF(L,1)*0.99 AND L<REF(C,3)*0.935 AND HHV(ZF,8)>1.099 AND 多頭 ; 連續(xù)深調(diào):=REF(HHV(ZF,2),1)<0.98 AND REF(C,1)<REF(C,3)*0.92 AND L<REF(C,1)*0.97 AND L<REF(L,1)*0.99 AND L<HHV(H,10)*0.8 AND HHV(ZF,15)>1.099 AND LLV(MAA60-REF(MAA60,1),15)>0; 低吸01:=(低吸1 OR 強勢股回調(diào) OR 連續(xù)深調(diào)) AND REF(H,1)>REF(L,1); 低吸02:=L<REF(L,1)*0.97 AND L<O*0.99 AND L<HHV(H,3)*0.8 AND REF(暴跌,1) AND MAA5>MAA10*0.98 AND HHV(H/MAA60,8)>1.05 AND C>MAA20*0.92; 低吸:=(低吸01 OR 低吸02) AND MAA20<MAA60*1.4 AND (L>MAA60*0.93 OR L<MAA60*0.7) AND HHV(MAA5/MAA60,5)<1.5; DRAWICON(低吸,L*0.97,23); 短期多頭:=LLV(MAA5-REF(MAA5,1),3)>0 AND LLV(MAA10-REF(MAA10,1),1)>0 AND MAA20多頭; 大牛:=C>REF(C,2)*1.2 AND 短期多頭; 大牛猛跌:=(L<REF(C,3)*0.82 OR L<REF(C,2)*0.84 OR L<REF(C,4)*0.8) AND L<HHV(H,10)*0.75 AND COUNT(大牛,10)>=1 AND MAA20<MAA60*1.4 AND HHV(MAA5/MAA60,5)<1.5; DRAWICON(大牛猛跌,L*0.95,1); DRAWICON(大牛猛跌,L*0.92,1); 緊貼20線:=HHV(L/MAA20,5)<1.05 AND LLV(C/MAA20,5)>1 AND LLV(MAA20-REF(MAA20,1),10)>0; 中線牛猛跌:=L<REF(C,1)*0.98 AND L<REF(L,1) AND REF(ZF,1)<0.94 AND L<REF(C,2)*0.91 AND REF(HHV(ZF,5),1)>1.099 AND REF(緊貼20線,1); DRAWICON(中線牛猛跌,L*0.95,23); {WWW.88GS.COM} {中線連續(xù)回調(diào)} 中線大跌:=(REF(HHV(ZF,2),1)<0.97 AND L<REF(C,1)*0.97 AND L<REF(L,1) AND L<REF(C,3)*0.9) OR (REF(ZF,1)<0.95 AND L<REF(L,1)*0.95 AND L<REF(C,2)*0.88); 中線連調(diào):=中線大跌 AND L<MAA60*1.03 AND LLV(L-MAA60,10)>0 AND LLV(MAA60-REF(MAA60,1),15)>0 AND REF(HHV(MAA20/MAA60,5),3)<1.3 AND REF(H,1)>REF(L,1)*1.03; DRAWICON(中線連調(diào),L*0.96,9);
|