MaxWarren

Gap Finder - Max Warren

Finds gaps. Nuff said

Ill make an overlay version
Remove from Favorite Scripts Add to Favorite Scripts
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
plot(ldistout)
plot(hdistout)
hline(zout, linestyle=dotted)

cgapup = #ff0000
cgapdown = #f0ff0f
cnogap = na
gapthing = high[1] < low ? cgapup : low[1] > high ? cgapdown : cnogap
bgcolor(gapthing, transp=60)
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out