Gap Finder - Max Warren

Finds gaps. Nuff said

Ill make an overlay version

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
study(title="Gap Finder - Max Warren", shorttitle="GapFinder-MW", overlay=false, precision=4)
ldist = high-low[1]
hdist = high[1]-low

gline=input(true, title="Display lines")
zline=input(true, title="Zero line")
ldistout = gline==true ? ldist : na
hdistout = gline==true ? hdist : na
zout = zline==true ? 0 : na
hline(zout, linestyle=dotted)

cgapup = #ff0000
cgapdown = #f0ff0f
cnogap = na
gapthing = high[1] < low ? cgapup : low[1] > high ? cgapdown : cnogap
bgcolor(gapthing, transp=60)


decent, thanks
+2 回复
possible to plot a horizontal rays if the gap hasn't been filled till now?

emlade UnknownUnicorn6577682
@UnknownUnicorn6577682, Have you managed to find any ?
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 私人消息 在线聊天 退出