OPEN-SOURCE SCRIPT

Customizable Gap Finder

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"
gapgapfillgapsTrend Analysis

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?

Disclaimer