AkifTokuz

WRBHG

312 0 30
Identifies Wide Range Body ( WRB             ) and Hidden Gap (HG) bars. You might need to bring Indicator visibility order over the price series (from Objects Tree window). Otherwise if you use candlesticks it may get hidden behind candles.
Remove from Favorite Scripts Add to Favorite Scripts
study("WRBHG", overlay=true)
body = abs(open-close)
wrb = body>body[1] and body>body[2] and body>body[3] ? avg(open,close) : na
hg = (wrb[1] and (low>high[2] or high<low[2]))? wrb[1] : na
plot(hg, title='HG', linewidth=4, color=black, offset=-1, style=circles)
plot(wrb, title='WRB', linewidth=2, color=aqua, style=circles)
Ideas Scripts Chart
United States
United Kingdom
India
España
France
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 Account and Billing Sign Out