cristian.d

CD DeMark Range Expansion V1

Filled support resistance zones for better visualization.
从常用的脚本中删除 添加到常用的脚本
//Created by CristianD
study(title="CD DeMark Range Expansion V1", shorttitle="CD DeMark Range Expansion V1", overlay=true) 
sr = input(true, title="Show Daily Range")

range = high - low

// Daily line breaks
sopen = security(tickerid, "D", open)

a=range[1]*0.382
b=range[1]*0.618
h=sopen+a
h1=sopen+b
l=sopen-a
l1=sopen-b


// Color
hcolor=sopen != sopen[1] ? na : maroon
hcolor1=sopen != sopen[1] ? na : red
lcolor=sopen != sopen[1] ? na : green
lcolor1=sopen != sopen[1] ? na : lime


//Daily Range
highrange1 = security(tickerid, 'D', h) 
highrange2 = security(tickerid, 'D', h1) 
lowrange1 = security(tickerid, 'D', l) 
lowrange2 = security(tickerid, 'D', l1) 


offs_daily = 0
H1=plot(sr and highrange1 ? highrange1 : na, title="Daily High1",color=hcolor, linewidth=1)
H2=plot(sr and highrange2 ? highrange2 : na, title="Daily Daily High2", color=hcolor1, linewidth=1)
L1=plot(sr and lowrange1 ? lowrange1 : na, title="Daily Low1",color=lcolor, linewidth=1)
L2=plot(sr and lowrange2 ? lowrange2 : na, title="Daily Daily Low2", color=lcolor1, linewidth=1)

fill(H1,H2,color=lime)
fill(L1,L2,color=maroon)


首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 剧集 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 帮助中心 推荐朋友 功能请求 博客 & 新闻 Twitter
概述 个人资料设置 账号和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出