OPEN-SOURCE SCRIPT
Updated Automatic Closest FVG with BPR

Fair Value Gaps are a hugely popular concept and because of that there are numerous indicators available. This one however, was designed to automate the process of actually using them in trading.
Designed with lower time frame entries in mind (though will work on HTF just as well), this indicator automatically draws the closest, non-mitigated FVG, to the current price, cutting out the work of looking for what FVG is relevant.
The indicator also has an option to show when the current nearest pair of FVGs form a BPR or 'balanced price range'.
There are various option for what counts as mitigation, including no mitigation at all, and when mitigated an FVG is no longer considered for proximity searching.
Designed with lower time frame entries in mind (though will work on HTF just as well), this indicator automatically draws the closest, non-mitigated FVG, to the current price, cutting out the work of looking for what FVG is relevant.
The indicator also has an option to show when the current nearest pair of FVGs form a BPR or 'balanced price range'.
There are various option for what counts as mitigation, including no mitigation at all, and when mitigated an FVG is no longer considered for proximity searching.
Release Notes
Fixed 'no mitigation' option, which was not using the lookback length.Release Notes
Added some new customisation options to define the line styles and widths, and also define the minimum gap you want the FVGs to have. Less than this the FVGs will be excluded.Release Notes
Added functionality for 1, 5, 10, 15 and 30 second timeframes.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.
Contact me directly on TradingView or Twitter for queries, for purchasing and indicator guides please check here texmoonbeam.notion.site/TradingView-Indicators-by-Texmoonbeam-9f09de3020864ff6a786004af3ba2488
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.
Contact me directly on TradingView or Twitter for queries, for purchasing and indicator guides please check here texmoonbeam.notion.site/TradingView-Indicators-by-Texmoonbeam-9f09de3020864ff6a786004af3ba2488
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.