This simple indicator identifies Wide Range Body (WRB) and Hidden Gap (HG) bars.
WRB patterns are displayed as a black dots in the middle of the candlestick’s body.
HG patterns are plotted as light blue dots.
Sometimes patterns are detected at the same time and the dots are plotted in the same candlestick body.
Indicator converted from pinescript version by a request in the Spanish forum.
//PRC_WRB HG | indicator
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//converted from tradingview version
//display dots for Wide Range Body and Hidden Gap patterns
body = abs(open-close)
if body>body and body>body and body>body then
wrb = (open+close)/2
if (wrb>0 and (low>high or high<low)) then
hq = wrb
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :