FVG's are a skip in liquidity, zones where prices move quickly away from, which causes orders to not be fully filled in there. Think of it as weekend gaps, but during trading hours.
This indicator plots a table which looks for when price enters a MTF Fair Value Gap.
Note : The indicator will work fine when finding fvgs that are on a higher timeframe than your chart but if it is trying to find them on a lower timeframe it might cause repainting. Eg. your chart is on the 1hr and its finding fvg's on the 5 min
Note: When you are on a timeframe much different from the indicator timeframe, the computation will be quite slow. Eg. your chart is on the 5 min and the indicator is trying to find fvg's on the daily or weekly timeframe.
To fix this issue, only input timeframes that are close to your chart timeframe. I split my chart into two, the left side indicator only has HTF (1hr, 4hr, D) and the right side indicator is LTF (5m, 15m, 30m)
The code is open source for anyone who can make this more effecient.