{xycs小鴨出水xg} DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); 小鴨出水xg:MA(C,30)>=REF(MA(C,30),1) AND DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA) AND MA(C,5)>MA(C,10) AND MA(V,5)>MA(V,34); {設(shè)計(jì)思路: 1.ma30向上; 2.diff,dea在零線之下; 3.diff金叉dea; 4.ma5大于ma10; 5.量均線mav5>mav34;} --------------------------------------------------------------------- {hdlyxg海底撈月選股} DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); MACD := 2*(DIFF-DEA); v1:=DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA); v2:=ma(c,5)>ma(c,10); v3:=VOL>MA(VOL,5) AND MA(VOL,5)>MA(VOL,34); v4:=MA(C,30)>=REF(MA(C,30),1); vv:=v1 AND V2 and v3 AND V4; xg選股:if(vv,1,0); {設(shè)計(jì)思路: 1.30日均線走平向上; 2.5日均線金叉或已金叉或即將金叉10日均線,, 2.diff指標(biāo)線由原來(lái)在0軸以下死叉dea線變?yōu)樵?軸以下金叉dea線。 3.當(dāng)日成交量大于5日均量線,5日均量線大于34日均量線;} ---------------------------------------------------------------------- {fsxs佛手向上x(chóng)g} DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); MACD := 2*(DIFF-DEA); vv:=CLOSE>OPEN AND MA(CLOSE,5)>MA(CLOSE,10) and MA(CLOSE,10)>MA(CLOSE,30) and DIFF>DEA AND MACD>REF(MACD,1) and DIFF>0 AND DEA>0 and MA(VOL,5)>MA(VOL,34) and MA(CLOSE,30)>=REF(MA(CLOSE,30),1); xg選股:if(vv,1,0); {設(shè)計(jì)思路: 1.ma30向上; 2.diff,dea在零線之上; 3.diff線回調(diào)dea線附近時(shí)不死叉,,又調(diào)頭向上; 4.ma5大于ma10,ma10大于ma30; 5.量均線mav5>mav34; 6.當(dāng)日是陽(yáng)線} ---------------------------------------------------------------------- {mbqyxg漫步青云xg} DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); v1:=DIFF>=0 and DEA>=0 and CROSS(DIFF,DEA); v2:=MA(CLOSE,5)>MA(CLOSE,10); v3:=MA(CLOSE,30)>REF(MA(CLOSE,30),1); v4:=VOL>MA(VOL,5) and MA(VOL,5)>MA(VOL,10); vv:=v1 and v2 AND V3 AND v4; xg選股:if(vv,1,0); {設(shè)計(jì)思路: 1.ma30向上; 2.diff,dea在零線之上; 3.diff線金叉dea線; 4.ma5大于ma10; 5.量均線,v>mav5,mav5>mav10;} |
|