OPEN-SOURCE SCRIPT
Updated Indicator: Gap Finder [KL]

About gaps:
A gap is a “jump” in a security’s price between the Open and the Prior Close. Gaps are very common in stocks during opening hours, especially when accompanied by catalysts.
What this indicator does:
This script will identify gaps that remained unfilled for at least one candle.
It is very common for gaps to be filled on the first candle, these gaps are arguably less meaningful, so they are ignored by the indicator to reduce the number of lines drawn.
Applications:
Since most gaps eventually get filled, the question is a matter of when. If going with the trend, a trader will open a long/short position when seeing an up/down gap. When going against the trend, then short/long the stock on up/down gaps and consider taking profits when price returns to where the gap originally occurred.
Originally intended for 1D timeframes, but gaps can occur in all timeframes. Applications are limitless.
Release Notes
Set overlay=trueRelease Notes
UpdateS:- Added adjustable threshold (%) in settings. Gaps with distances below this benchmark will not be plotted.
Release Notes
Refactored, and added alerts.Release Notes
Removing lines associated with filled gaps, only showing unfilled gaps.Release Notes
Updated UI for settings.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.
For quick access on a chart, add this script to your favorites — learn more here.
Read Faster & Learn Anything with Coral AI! getcoralai.com//?ref=dojiemoji
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.
For quick access on a chart, add this script to your favorites — learn more here.
Read Faster & Learn Anything with Coral AI! getcoralai.com//?ref=dojiemoji
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.