以下是通达信坑底金枪(鹏腾2009版本)主图/选股指标(无源码的请下载附件导入)
{主图}
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;
729155323.jpg
|