Customizable Gap Finder

ProfessorZoom Updated   
This is a fully customizable gap finder. You can change the color of just about anything, on top of hiding filled/old gaps. This is so you can spot those tiny gaps on something such as futures. Be sure to play around with the settings.
Release Notes:
Changed max bars back to be higher, and changed default settings.
By default it will no longer show filled gaps or labels. Edit the settings if you want to see that.
Release Notes:
Fixed an issue where it would throw an error if there were no gaps, also extended the amount of bars it can search
Release Notes:
Current gap is now shown
P.S. Make sure you set your chart to "scale to price only"
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 a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?