通达信坑底金枪(鹏腾2009版本)源码 主图 选股公式

2015-10-21 19:56:00来源:本站整理浏览:157

通达信坑底金枪(鹏腾2009版本)源码 主图 选股公式

思路:坑底洗盘加K线放量洗盘到10天均线处,前期5天与10均线连续走多。

源码

{主图}
MA5:MA(C,5);
MA10:MA(C,10);
AA:=CROSS(MA5,MA10);
BB:=BARSLAST(AA);
XG:=FILTER(BB<20 AND HHV(H,10)/L>1.15 AND BETWEEN(L/MA10,0.99,1.05) AND COUNT(C/REF(C,1)>1.06 AND V>=REF(HHV(V,120),1)*0.67 AND C/LLV(L,30)<1.3,15)>=1 AND EVERY(MA5>MA10,10) AND EVERY(V<MA(V,5),2),10);
DD:=BARSLAST(XG);
DRAWTEXT(XG,LOW,"------------------------------------------------")COLORRED;
DRAWTEXT(XG,L*0.94,"坑底金枪")COLORYELLOW;
DRAWICON(CROSS(C,REF(H*1.03,DD)) AND DD<60,L*0.98,9);

{选股}
MA5:MA(C,5);
MA10:MA(C,10);
AA:=CROSS(MA5,MA10);
BB:=BARSLAST(AA);
XG:=FILTER(BB<20 AND HHV(H,10)/L>1.15 AND BETWEEN(L/MA10,0.99,1.05) AND COUNT(C/REF(C,1)>1.06 AND V>=REF(HHV(V,120),1)*0.67 AND C/LLV(L,30)<1.3,15)>=1 AND EVERY(MA5>MA10,10) AND EVERY(V<MA(V,5),2),10);
DD:=BARSLAST(XG);
CROSS(C,REF(H*1.03,DD)) AND DD<60;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式