OPEN-SOURCE SCRIPT
Updated

VIB / GIB v1.0

4 000
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.
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 borders

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.