股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」箱体突破(通达信主图指标)


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-2-21 12:02:19
【资料名称】:箱体突破(通达信主图指标)介绍
【资料描述】:

箱体突破(通达信主图指标)

能够及时了解个股所在箱体的情况,当K线突破箱体趋势走好的时候,可以适当介入,
每个箱体的高低点均有标示,能够把握个股突破的机会。


HH:=FINDHIGH(H,0,20,1);
LL:=FINDLOW(L,0,20,1);
HH1:=FINDHIGH(H,20,20,1);
LL1:=FINDLOW(L,20,20,1);
HH2:=FINDHIGH(H,40,20,1);
LL2:=FINDLOW(L,40,20,1);
HH3:=FINDHIGH(H,60,20,1);
LL3:=FINDLOW(L,60,20,1);
HH4:=FINDHIGH(H,80,20,1);
LL4:=FINDLOW(L,80,20,1);
HH5:=FINDHIGH(H,100,20,1);
LL5:=FINDLOW(L,100,20,1);
STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(HH),CONST(HH),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(LL),CONST(LL),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,(CONST(HH)+CONST(LL))/2,(CONST(HH)+CONST(LL))/2,8,-1)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=20 OR CURRBARSCOUNT=1 ,CONST(HH),CONST(LL),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,CONST(HH1),CONST(HH1),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21,CONST(LL1),CONST(LL1),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,(CONST(HH1)+CONST(LL1))/2,(CONST(HH1)+CONST(LL1))/2,8,-1)COLORYELLOW;STICKLINE(CURRBARSCOUNT=40 OR CURRBARSCOUNT=21 ,CONST(HH1),CONST(LL1),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(HH2),CONST(HH2),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(LL2),CONST(LL2),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41 ,(CONST(HH2)+CONST(LL2))/2,(CONST(HH2)+CONST(LL2))/2,8,-1)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=60 OR CURRBARSCOUNT=41,CONST(HH2),CONST(LL2),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(HH3),CONST(HH3),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(LL3),CONST(LL3),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61 ,(CONST(HH3)+CONST(LL3))/2,(CONST(HH3)+CONST(LL3))/2,8,-1)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=80 OR CURRBARSCOUNT=61,CONST(HH3),CONST(LL3),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(HH4),CONST(HH4),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(LL4),CONST(LL4),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81 ,(CONST(HH4)+CONST(LL4))/2,(CONST(HH4)+CONST(LL4))/2,8,-1)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=100 OR CURRBARSCOUNT=81,CONST(HH4),CONST(LL4),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(HH5),CONST(HH5),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(LL5),CONST(LL5),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101 ,(CONST(HH5)+CONST(LL5))/2,(CONST(HH5)+CONST(LL5))/2,8,-1)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=120 OR CURRBARSCOUNT=101,CONST(HH5),CONST(LL5),0,0)COLORYELLOW;


DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH1,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL1,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH2,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL2,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH3,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL3,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH4,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL4,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH5,2)),'元'))COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL5,2)),'元'))COLORYELLOW;






gd38634


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」另类MACD(通达信副图指标)
下一篇:「指标」风云KDJ(通达信副图源码)
回复

举报

QQ|

GMT+8, 2024-11-24 06:03

快速回复 返回顶部 返回列表