文章预览
前文分享了获得金牌之路思路及过程,现把选股公式源码分享给大家。 前文链接: 获得选股公式金牌一枚(彩虹) 选股公式命名为:金彩 M1:=C>MA(C,5) AND O M2:=C>MA(C,10) AND O M3:=C>MA(C,30) AND O 吃定彩虹:=M1 AND M2 AND M3; 彩虹:=EMA(SLOPE(C,4)*20+C,42)>REF(EMA(SLOPE(C,4)*20+C,42),2) AND REF(EMA(SLOPE(C,4)*20+C,42),3)>REF(EMA(SLOPE(C,4)*20+C,42),1); LTJ1:=(BARSLAST(CROSS(MA(V,5),MA(V,10)))>BARSLAST(CROSS(MA(V,5),MA(V,20))) OR BARSLAST(CROSS(MA(V,5),MA(V,10)))=BARSLAST(CROSS(MA(V,5),MA(V,20)))) AND BARSLAST(CROSS(MA(V,5),MA(V,20)))=0 AND MA(VOL,10) 量托:=LTJ1 AND MA(V,10)>REF(MA(V,10),1); YDAY1:=BARSLAST(CROSS(MA(C,5),MA(C,10))); YDAY2:=BARSLAST(CROSS(MA(C,5),MA(C,20))); 月价托:=BARSLAST(CROSS(MA(C,5),MA(C,10)))>=BARSLAST(CROSS(MA(C,5),MA(C,20))) AND BARSLAST(CROSS(MA(C,5),MA(C,20)))=0 AND MA(C,10) T:=BARSLAST(量托); 金彩:月价托 AND REF(彩虹,1) AND REF(吃定彩虹,1) AND BETWEEN(T,5,10) AND MA(C,60)>O AND
………………………………