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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信五分钟周期趋势矩形


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

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-2-24 12:28:48
【资料名称】:通达信五分钟周期趋势矩形介绍
【资料描述】:

通达信五分钟周期趋势矩形

A:=BARSLAST(DATE!=REF(DATE,1))+1;
T:=IF(PERIOD=1 AND CURRBARSCOUNT<=96,BARSLAST(CURRBARSCOUNT=CONST(A+REF(A,A+1)+1)),DRAWNULL);
H1:=FINDHIGH(H,T=8,8,1);
H2:=FINDHIGH(H,T=16,8,1);
H3:=FINDHIGH(H,T=24,8,1);
H4:=FINDHIGH(H,T=32,8,1);
H5:=FINDHIGH(H,T=40,8,1);
H6:=FINDHIGH(H,T=48,8,1);
H7:=FINDHIGH(H,T=56,8,1);
H8:=FINDHIGH(H,T=64,8,1);
H9:=FINDHIGH(H,T=72,8,1);
H10:=FINDHIGH(H,T=80,8,1);
H11:=FINDHIGH(H,T=88,8,1);
H12:=FINDHIGH(H,0,8,1);
L1:=FINDLOW(L,T=8,8,1);
L2:=FINDLOW(L,T=16,8,1);
L3:=FINDLOW(L,T=24,8,1);
L4:=FINDLOW(L,T=32,8,1);
L5:=FINDLOW(L,T=40,8,1);
L6:=FINDLOW(L,T=48,8,1);
L7:=FINDLOW(L,T=56,8,1);
L8:=FINDLOW(L,T=64,8,1);
L9:=FINDLOW(L,T=72,8,1);
L10:=FINDLOW(L,T=80,8,1);
L11:=FINDLOW(L,T=88,8,1);
L12:=FINDLOW(L,0,8,1);
STICKLINE(BETWEEN(T,1,6),CONST(REF(H1,BARSLAST(T=8))),CONST(REF(H1,BARSLAST(T=8))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,1,6),CONST(REF(L1,BARSLAST(T=8))),CONST(REF(L1,BARSLAST(T=8))),6,0),COLORYELLOW;
STICKLINE(T=0 OR T=7,CONST(REF(H1,BARSLAST(T=8))),CONST(REF(L1,BARSLAST(T=8))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,9,14),CONST(REF(H2,BARSLAST(T=16))),CONST(REF(H2,BARSLAST(T=16))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,9,14),CONST(REF(L2,BARSLAST(T=16))),CONST(REF(L2,BARSLAST(T=16))),6,0),COLORYELLOW;
STICKLINE(T=8 OR T=15,CONST(REF(H2,BARSLAST(T=16))),CONST(REF(L2,BARSLAST(T=16))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,17,22),CONST(REF(H3,BARSLAST(T=24))),CONST(REF(H3,BARSLAST(T=24))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,17,22),CONST(REF(L3,BARSLAST(T=24))),CONST(REF(L3,BARSLAST(T=24))),6,0),COLORYELLOW;
STICKLINE(T=16 OR T=23,CONST(REF(H3,BARSLAST(T=24))),CONST(REF(L3,BARSLAST(T=24))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,25,30),CONST(REF(H4,BARSLAST(T=32))),CONST(REF(H4,BARSLAST(T=32))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,25,30),CONST(REF(L4,BARSLAST(T=32))),CONST(REF(L4,BARSLAST(T=32))),6,0),COLORYELLOW;
STICKLINE(T=24 OR T=31,CONST(REF(H4,BARSLAST(T=32))),CONST(REF(L4,BARSLAST(T=32))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,33,38),CONST(REF(H5,BARSLAST(T=40))),CONST(REF(H5,BARSLAST(T=40))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,33,38),CONST(REF(L5,BARSLAST(T=40))),CONST(REF(L5,BARSLAST(T=40))),6,0),COLORYELLOW;
STICKLINE(T=32 OR T=39,CONST(REF(H5,BARSLAST(T=40))),CONST(REF(L5,BARSLAST(T=40))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,46),CONST(REF(H6,BARSLAST(T=48))),CONST(REF(H6,BARSLAST(T=48))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,41,46),CONST(REF(L6,BARSLAST(T=48))),CONST(REF(L6,BARSLAST(T=48))),6,0),COLORYELLOW;
STICKLINE(T=40 OR T=47,CONST(REF(H6,BARSLAST(T=48))),CONST(REF(L6,BARSLAST(T=48))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,49,54),CONST(REF(H7,BARSLAST(T=56))),CONST(REF(H7,BARSLAST(T=56))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,49,54),CONST(REF(L7,BARSLAST(T=56))),CONST(REF(L7,BARSLAST(T=56))),6,0),COLORYELLOW;
STICKLINE(T=48 OR T=55,CONST(REF(H7,BARSLAST(T=56))),CONST(REF(L7,BARSLAST(T=56))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,57,62),CONST(REF(H8,BARSLAST(T=64))),CONST(REF(H8,BARSLAST(T=64))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,57,62),CONST(REF(L8,BARSLAST(T=64))),CONST(REF(L8,BARSLAST(T=64))),6,0),COLORYELLOW;
STICKLINE(T=56 OR T=63,CONST(REF(H8,BARSLAST(T=64))),CONST(REF(L8,BARSLAST(T=64))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,65,70),CONST(REF(H9,BARSLAST(T=72))),CONST(REF(H9,BARSLAST(T=72))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,65,70),CONST(REF(L9,BARSLAST(T=72))),CONST(REF(L9,BARSLAST(T=72))),6,0),COLORYELLOW;
STICKLINE(T=64 OR T=71,CONST(REF(H9,BARSLAST(T=72))),CONST(REF(L9,BARSLAST(T=72))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,73,78),CONST(REF(H10,BARSLAST(T=80))),CONST(REF(H10,BARSLAST(T=80))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,73,78),CONST(REF(L10,BARSLAST(T=80))),CONST(REF(L10,BARSLAST(T=80))),6,0),COLORYELLOW;
STICKLINE(T=72 OR T=79,CONST(REF(H10,BARSLAST(T=80))),CONST(REF(L10,BARSLAST(T=80))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,86),CONST(REF(H11,BARSLAST(T=88))),CONST(REF(H11,BARSLAST(T=88))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,81,86),CONST(REF(L11,BARSLAST(T=88))),CONST(REF(L11,BARSLAST(T=88))),6,0),COLORYELLOW;
STICKLINE(T=80 OR T=87,CONST(REF(H11,BARSLAST(T=88))),CONST(REF(L11,BARSLAST(T=88))),0,0),COLORYELLOW;
STICKLINE(BETWEEN(T,89,94),CONST(REF(H12,BARSLAST(T=95))),CONST(REF(H12,BARSLAST(T=95))),6,0),COLORYELLOW;
STICKLINE(BETWEEN(T,89,94),CONST(REF(L12,BARSLAST(T=95))),CONST(REF(L12,BARSLAST(T=95))),6,0),COLORYELLOW;
STICKLINE(T=88 OR T=95,CONST(REF(H12,BARSLAST(T=95))),CONST(REF(L12,BARSLAST(T=95))),0,0),COLORYELLOW;





gd36197


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






上一篇:「指标」日周月KDJ指标三周期合一必然孕育大牛股(绝无未来函数)
下一篇:「指标」通达信庄家杀入及选股指标 无加密 无未来
回复

举报

QQ|

GMT+8, 2024-11-27 23:15

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