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

 

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
置顶指标

相关指标公式

的收成。N赋值:7
B1赋值:1日前的最低价>=开盘价 AND 1日前的最高价<收盘价
B2赋值:2日前的最低价>=开盘价 AND 2日前的最高价<收盘价
B3赋值:3日前的最低价>=开盘价 AND 3日前的最高价<收盘价
B4赋值:4日前的最低价>=开盘价 AND 4日前的最高价<收盘价
B5赋值:5日前的最低价>=开盘价 AND 5日前的最高价<收盘价
B6赋值:6日前的最低价>=开盘价 AND 6日前的最高价<收盘价
B7赋值:7日前的最低价>=开盘价 AND 7日前的最高价<收盘价
B8赋值:8日前的最低价>=开盘价 AND 8日前的最高价<收盘价
B9赋值:9日前的最低价>=开盘价 AND 9日前的最高价<收盘价
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
A1赋值:1日前的开盘价>1日前的收盘价 OR 1日前的收盘价<2日前的收盘价
A2赋值:2日前的开盘价>2日前的收盘价 OR 2日前的收盘价<3日前的收盘价
A3赋值:3日前的开盘价>3日前的收盘价 OR 3日前的收盘价<4日前的收盘价
A4赋值:4日前的开盘价>4日前的收盘价 OR 4日前的收盘价<5日前的收盘价
A5赋值:5日前的开盘价>5日前的收盘价 OR 5日前的收盘价<6日前的收盘价
A6赋值:6日前的开盘价>6日前的收盘价 OR 6日前的收盘价<7日前的收盘价
A7赋值:7日前的开盘价>7日前的收盘价 OR 7日前的收盘价<8日前的收盘价
A8赋值:8日前的开盘价>8日前的收盘价 OR 8日前的收盘价<9日前的收盘价
A9赋值:9日前的开盘价>9日前的收盘价 OR 9日前的收盘价<10日前的收盘价
B1赋值:1日前的最低价>=开盘价 AND 1日前的最高价<收盘价 AND A1
B2赋值:2日前的最低价>=开盘价 AND 2日前的最高价<收盘价 AND A2
B3赋值:3日前的最低价>=开盘价 AND 3日前的最高价<收盘价 AND A3
B4赋值:4日前的最低价>=开盘价 AND 4日前的最高价<收盘价 AND A4
B5赋值:5日前的最低价>=开盘价 AND 5日前的最高价<收盘价 AND A5
B6赋值:6日前的最低价>=开盘价 AND 6日前的最高价<收盘价 AND A6
B7赋值:7日前的最低价>=开盘价 AND 7日前的最高价<收盘价 AND A7
B8赋值:8日前的最低价>=开盘价 AND 8日前的最高价<收盘价 AND A8
B9赋值:9日前的最低价>=开盘价 AND 9日前的最高价<收盘价 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

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图