联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

Q Q:396950280

网址:www.yzhibiao.com

搜索 Search

布林线二次突破起飞

2014-8-12 16:03:35点击:

发一个布林轨道的原创选股指标,二次突破布林轨起飞,指标为通用源码,无未来函数。
注意点:
1、之前的趋势最好是横盘或者小幅上涨;
2、BOLL最好呈平行窄轨,或者窄口状态刚打开,或者大开口状态缩口缩得很小;
3、二次突破当日买入,其后通常都能有上攻;

{布林线二次突破起飞}

MID:=MA(CLOSE,26);
UPPER:=MID + 2*STD(CLOSE,26);
A1:=CROSS(REF(C,3),REF(UPPER,3)) AND CROSS(REF(V,3),REF(EMA(V,30)*2,3));
A2:=REF(H,4)REF(MID,1)
AND REF(C,2)REF(MID,2);
XG1:=A1 AND A2;
B1:=CROSS(REF(C,4),REF(UPPER,4))AND CROSS(REF(V,4),REF(EMA(V,30)*2,4));
B2:=REF(H,5)REF(MID,1)
AND REF(C,2)REF(MID,2)
AND REF(C,3)REF(MID,3);

XG2:=B1 AND B2;
C1:=CROSS(REF(C,5),REF(UPPER,5))AND CROSS(REF(V,5),REF(EMA(V,30)*2,5));
C2:=REF(H,6)REF(MID,1)
AND REF(C,2)REF(MID,2)
AND REF(C,3)REF(MID,3);
XG3:=C1 AND C2;
D1:=CROSS(REF(C,6),REF(UPPER,6))AND CROSS(REF(V,6),REF(EMA(V,30)*2,6));
D2:=REF(H,7)REF(MID,1)
AND REF(C,2)REF(MID,2)
AND REF(C,3)REF(MID,3);
XG4:=D1 AND D2;
E1:=CROSS(REF(C,7),REF(UPPER,7))AND CROSS(REF(V,7),REF(EMA(V,30)*2,7));
E2:=REF(H,8)REF(MID,1)
AND REF(C,2)REF(MID,2)
AND REF(C,3)REF(MID,3);
XG5:=E1 AND E2;
GY1:=CROSS(C,UPPER) AND C/REF(C,1)>1.03 AND C/O>1.03;
XG:(XG1 OR XG2 OR XG3 OR XG4 OR XG5) AND GY1;