通达信阳包线+阳包阴指标幅图贴图

N值可以改变设定,

值的大小在 1--9 之间 也就是说明所包的K线数量,

包线在6个左右,成功率非常高。

结合其他指标如成交量,相信一定会有好的收成。
{阳包线}
N:=7  ;{N值 1~9}
 B1:=REF(L,1)>=O AND REF(H,1)<C;
 B2:=REF(L,2)>=O AND REF(H,2)<C;
 B3:=REF(L,3)>=O AND REF(H,3)<C;
 B4:=REF(L,4)>=O AND REF(H,4)<C;
 B5:=REF(L,5)>=O AND REF(H,5)<C;
 B6:=REF(L,6)>=O AND REF(H,6)<C;
 B7:=REF(L,7)>=O AND REF(H,7)<C;
 B8:=REF(L,8)>=O AND REF(H,8)<C;
 B9:=REF(L,9)>=O AND REF(H,9)<C;

 C1:=B1 AND N=1;
 C2:=B1 AND B2 AND N=2;
 C3:=B1 AND B2 AND B3 AND N=3;
 C4:=B1 AND B2 AND B3 AND B4 AND N=4;
 C5:=B1 AND B2 AND B3 AND B4 AND B5 AND N=5;
 C6:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND N=6;
 C7:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND N=7;
 C8:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND N=8;
 C9:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND N=9;

 XG:C1 OR C2 OR C3 OR C4 OR C5 OR C6 OR C7 OR C8 OR C9;

 


 {阳包阴}
N:=3  ;{N值 1~9}
 A1:=REF(O,1)>REF(C,1) OR REF(C,1)<REF(C,2);
 A2:=REF(O,2)>REF(C,2) OR REF(C,2)<REF(C,3);
 A3:=REF(O,3)>REF(C,3) OR REF(C,3)<REF(C,4);
 A4:=REF(O,4)>REF(C,4) OR REF(C,4)<REF(C,5);
 A5:=REF(O,5)>REF(C,5) OR REF(C,5)<REF(C,6);
 A6:=REF(O,6)>REF(C,6) OR REF(C,6)<REF(C,7);
 A7:=REF(O,7)>REF(C,7) OR REF(C,7)<REF(C,8);
 A8:=REF(O,8)>REF(C,8) OR REF(C,8)<REF(C,9);
 A9:=REF(O,9)>REF(C,9) OR REF(C,9)<REF(C,10);

 B1:=REF(L,1)>=O AND REF(H,1)<C AND A1;
 B2:=REF(L,2)>=O AND REF(H,2)<C AND A2;
 B3:=REF(L,3)>=O AND REF(H,3)<C AND A3;
 B4:=REF(L,4)>=O AND REF(H,4)<C AND A4;
 B5:=REF(L,5)>=O AND REF(H,5)<C AND A5;
 B6:=REF(L,6)>=O AND REF(H,6)<C AND A6;
 B7:=REF(L,7)>=O AND REF(H,7)<C AND A7;
 B8:=REF(L,8)>=O AND REF(H,8)<C AND A8;
 B9:=REF(L,9)>=O AND REF(H,9)<C AND A9;

 C1:=B1 AND N=1;
 C2:=B1 AND B2 AND N=2;
 C3:=B1 AND B2 AND B3 AND N=3;
 C4:=B1 AND B2 AND B3 AND B4 AND N=4;
 C5:=B1 AND B2 AND B3 AND B4 AND B5 AND N=5;
 C6:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND N=6;
 C7:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND N=7;
 C8:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND N=8;
 C9:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND N=9;

 XG:C1 OR C2 OR C3 OR C4 OR C5 OR C6 OR C7 OR C8 OR C9;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图