OPEN-SOURCE SCRIPT

Price Gaps

This indicator highlights bullish and bearish gaps in price movement. You can customize the colors, transparency, border width, and label size. The script detects gaps where the current low is higher than the previous high (bullish) or the current high is lower than the previous low (bearish). It then draws boxes around these gaps and labels them with their size. The indicator updates the boxes as long as the gaps remain open and removes them once they close. You can also choose the timeframe for the gaps detection.
Candlestick analysismultitimeframe

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