以下是二次突破布林起飞 通用源码

二次突破布林起飞 通用源码

发一个布林轨道的原创选股指标,二次突破布林轨起飞,指标为通用源码,无未来函数。
 注意点:
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(UPPER,4) AND REF(C,1)<REF(UPPER,1) AND REF(L,1)>REF(MID,1)
AND REF(C,2)<REF(UPPER,2) AND REF(L,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(UPPER,5) AND REF(C,1)<REF(UPPER,1) AND REF(L,1)>REF(MID,1)
AND REF(C,2)<REF(UPPER,2) AND REF(L,2)>REF(MID,2)
AND REF(C,3)<REF(UPPER,3) AND REF(L,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(UPPER,6) AND REF(C,1)<REF(UPPER,1) AND REF(L,1)>REF(MID,1)
AND REF(C,2)<REF(UPPER,2) AND REF(L,2)>REF(MID,2)
AND REF(C,3)<REF(UPPER,3) AND REF(L,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(UPPER,7) AND REF(C,1)<REF(UPPER,1) AND REF(L,1)>REF(MID,1)
AND REF(C,2)<REF(UPPER,2) AND REF(L,2)>REF(MID,2)
AND REF(C,3)<REF(UPPER,3) AND REF(L,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(UPPER,8)  AND REF(C,1)<REF(UPPER,1) AND REF(L,1)>REF(MID,1)
AND REF(C,2)<REF(UPPER,2) AND REF(L,2)>REF(MID,2)
AND REF(C,3)<REF(UPPER,3) AND REF(L,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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。