您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:二次突破布林起飞(通用源码)

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


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2014-08-11 22:02:00
公式简介:

发一个布林轨道的原创选股指标,二次突破布林轨起飞,指标为通用源码,无未来函数。
注意点:
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;





[url=http://www.goodgupiao.com/gupiaogongshi/34543.html][B]二次突破布林起飞(通用源码)[/B][/url]