OPEN-SOURCE SCRIPT
Updated VIB / GIB v1.0

The VIB / GIB indicator
V1 ----- 13 Feb 2023 ------------ Inital release.
This gives the user the ability to easily display VIB(Volume ImBalances) and GIB(Gap ImBalances) on their chart.
Volume imbalances (VIB) are created when there is a price difference between the close of a candle and the opening of the next candle. This price difference can be used as a level of support or resistance in future trading.
A Gap imbalance (GIB) has the same principles as a VIB, but also has the feature that no wick closes through the gap, showing an even more powerful imbalance in the market at that point.
GIBs and VIBs can be individually switched on or off via the settings, and optional icons can also be activated or not to show where the imbalance took place.
Please note that this is purely an indicator that should be used with other confluence before making trading decisions.
V1 ----- 13 Feb 2023 ------------ Inital release.
This gives the user the ability to easily display VIB(Volume ImBalances) and GIB(Gap ImBalances) on their chart.
Volume imbalances (VIB) are created when there is a price difference between the close of a candle and the opening of the next candle. This price difference can be used as a level of support or resistance in future trading.
A Gap imbalance (GIB) has the same principles as a VIB, but also has the feature that no wick closes through the gap, showing an even more powerful imbalance in the market at that point.
GIBs and VIBs can be individually switched on or off via the settings, and optional icons can also be activated or not to show where the imbalance took place.
Please note that this is purely an indicator that should be used with other confluence before making trading decisions.
Release Notes
- Fixed bugs related to missed gaps- Corrected coding issue with bull / bear
Release Notes
Minor naming convention updates Release Notes
Bug fix related to issue when the wick = close price Release Notes
v1.4 just includes more cats.Release Notes
V1.5 - Corrected GIB indicator Release Notes
v1.6 : Correction in code going from Bull-> Bear candles Release Notes
v1.7 : Added the option to lighten or darken bordersOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.