OPEN-SOURCE SCRIPT

Mark FVGs

Updated
Mark FVGs is marking FVG (stands for Fair Value Gap, other name is Imbalance or IMB) on your chart so that you can instantly detect them
It supports:
- marking bullish and bearish partly filled or unfilled FVGs of the current timeframe
- marking bullish and bearish already filled FVGs of the current timeframe
- marking bullish and bearish FVGs of the any 4 timeframes on your current timeframe
technically it re-builds them on the last bar or as soon as new realtime bar is updated. it looks with 1k bars back to find the nearest specific number of FGVs
Adjustments:
- changing the maximum number of FVGs to display.
- changing the color of FVG area
- displaying already filled FVG of the current time frame
- changing the mode of displaying area it can either extended or fixed width
- displaying labels of other time frame FVGs
Release Notes
- fixed candles with gaps not showing issue
- added extend area to last bar
Release Notes
- cosmetic changes
- made aligning labels better looking
- added custom test for lower and higher FVGs
Release Notes
I have to rename all my scripts because first 2 laters started associating with geopolitical affairs. Im really sorry for inconvenience
Release Notes
New release and new useful features:
- Added start bar of displaying FVG area
- Added separate colors for bearish and bullish FVGs
- Added shared colors for everything, for those who use the same colors among all TFs. Shared colors are used by default. You can set custom colors by checking 'Cust Colors' option in desired timeframe category
- Added different behaviours for showing filled areas of the current timeframe

you can always refer to tooltips next to each option or group of inline options
Release Notes
added possibility to hide lower and higher TFs
added option to hide m letter in minute scale
Release Notes
minor fixes with void gaps
Release Notes
added filling FVGs for every TF
Release Notes
minor fix
Release Notes
republishing in order to fix odd bug
Release Notes
fixing the bug with not updating htf fvgs
Release Notes
Added alerts for the first FVG test. In order to activate it go to Indicator settings -> Current TimeFrame -> Alert First Trace. Then add regular alert via Treading View on Mark Fvgs indicator.

Check my profile for information on how to get more powerful alerts.
Candlestick AnalysisCandlestick analysisfairvaluegapfvggapsIMBimbalanceresistencesupportSupport and Resistance

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Trade Smart Money? Check out our website link where we do all the heavy lifting for you, automate your analysis and keep you updated on every trading setup you’ve created.
Also on:

Disclaimer