股票论坛

标题: 求启爆选股公式,谢谢!! [打印本页]

作者: 心诚    时间: 2015-11-17 16:37
标题: 求启爆选股公式,谢谢!!
SHORT:=12;
LONG:=26;
MID:=9;
MA1:=MA(CLOSE,30);
MA2:=MA(CLOSE,60);
MA3:=MA(CLOSE,90);
MA4:=MA(CLOSE,120);
MA5:=MA(CLOSE,250);
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
KK:=MA1-MA2;
开口值1:=HHV(MA1,1)/LLV(MA2,1)*100-100,COLORGREEN,NODRAW;
开口值2:=HHV(MA1,1)/LLV(MA3,1)*100-100,COLORGREEN,NODRAW;
开口值3:=HHV(MA1,1)/LLV(MA4,1)*100-100,COLORGREEN,NODRAW;
开口值4:=HHV(MA1,1)/LLV(MA5,1)*100-100,COLORGREEN,NODRAW;
开口值5:=HHV(MA2,1)/LLV(MA3,1)*100-100,COLORGREEN,NODRAW;
开口值6:=HHV(MA3,1)/LLV(MA4,1)*100-100,COLORGREEN,NODRAW;
开口值7:=HHV(MA4,1)/LLV(MA5,1)*100-100,COLORGREEN,NODRAW;
最小口1:=开口值1<1 AND 开口值1>-1 ;
最小口2:=开口值2<1 AND 开口值2>-1 ;
最小口3:=开口值3<1 AND 开口值3>-1 ;
最小口4:=开口值4<1 AND 开口值4>-1 ;
最小口5:=开口值5<1 AND 开口值5>-1 ;
最小口6:=开口值6<1 AND 开口值6>-1 ;
最小口7:=开口值7<1 AND 开口值7>-1 ;
爆1:CROSS(DIF,DEA) AND 最小口1;
爆2:CROSS(DIF,DEA) AND 最小口2;
爆3:CROSS(DIF,DEA) AND 最小口3;
爆4:CROSS(DIF,DEA) AND 最小口4;
爆5:=CROSS(C,MA3) AND 最小口5;
爆6:=CROSS(C,MA4) AND 最小口6;
爆7:=CROSS(C,MA5) AND 最小口7;
爆8:=CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA4);
XG1:=爆8 AND 爆5;
XG2:=爆8 AND 爆6;
启爆:XG1,STICK,COLORRED,LINETHICK6;
DRAWTEXT(启爆,启爆*0.5,' ←启爆'),COLORRED;
启爆2:XG2,STICK,COLORGREEN,LINETHICK6;
DRAWTEXT(启爆2,启爆2*0.5,' ←启爆2'),COLORLIGREEN;
求启爆1,2的选股公式,谢谢各位老师!!
作者: 新朝阳    时间: 2015-11-17 16:37
SHORT:=12;
LONG:=26;
MID:=9;
MA1:=MA(CLOSE,30);
MA2:=MA(CLOSE,60);
MA3:=MA(CLOSE,90);
MA4:=MA(CLOSE,120);
MA5:=MA(CLOSE,250);
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
KK:=MA1-MA2;
开口值1:=HHV(MA1,1)/LLV(MA2,1)*100-100,COLORGREEN,NODRAW;
开口值2:=HHV(MA1,1)/LLV(MA3,1)*100-100,COLORGREEN,NODRAW;
开口值3:=HHV(MA1,1)/LLV(MA4,1)*100-100,COLORGREEN,NODRAW;
开口值4:=HHV(MA1,1)/LLV(MA5,1)*100-100,COLORGREEN,NODRAW;
开口值5:=HHV(MA2,1)/LLV(MA3,1)*100-100,COLORGREEN,NODRAW;
开口值6:=HHV(MA3,1)/LLV(MA4,1)*100-100,COLORGREEN,NODRAW;
开口值7:=HHV(MA4,1)/LLV(MA5,1)*100-100,COLORGREEN,NODRAW;
最小口1:=开口值1<1 AND 开口值1>-1 ;
最小口2:=开口值2<1 AND 开口值2>-1 ;
最小口3:=开口值3<1 AND 开口值3>-1 ;
最小口4:=开口值4<1 AND 开口值4>-1 ;
最小口5:=开口值5<1 AND 开口值5>-1 ;
最小口6:=开口值6<1 AND 开口值6>-1 ;
最小口7:=开口值7<1 AND 开口值7>-1 ;
爆1:=CROSS(DIF,DEA) AND 最小口1;
爆2:=CROSS(DIF,DEA) AND 最小口2;
爆3:=CROSS(DIF,DEA) AND 最小口3;
爆4:=CROSS(DIF,DEA) AND 最小口4;
爆5:=CROSS(C,MA3) AND 最小口5;
爆6:=CROSS(C,MA4) AND 最小口6;
爆7:=CROSS(C,MA5) AND 最小口7;
爆8:=CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA4);
XG1:=爆8 AND 爆5;
XG2:=爆8 AND 爆6;
启爆:=XG1,STICK,COLORRED,LINETHICK6;

启爆2:XG2,STICK,COLORGREEN,LINETHICK6;


作者: 心诚    时间: 2015-11-18 20:51
谢谢!!




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2