OPEN-SOURCE SCRIPT
Updated Price Gap Indicator

Jump Candle Indicator (Price Gap Only)
๐ Version: Pine Script v6
๐ Purpose: Detects significant price gaps between consecutive candles to identify potential trading opportunities.
๐ Overview
The Jump Candle Indicator highlights moments when the market experiences a sudden price jump, either up or down, due to overnight moves, news releases, or increased volatility.
It works by detecting candles where the opening price differs significantly from the previous closing price by a set threshold.
Unlike traditional momentum indicators, this script focuses purely on price gaps, making it ideal for traders who want to identify potential breakout zones or market inefficiencies.
โ๏ธ How It Works
User-Defined Threshold โ Set a minimum price gap (default: $0.50).
Gap Up Condition โ A candle is considered bullish if:
The current open is higher than the previous close by the defined threshold.
The candle closes higher than it opens (bullish candle).
Gap Down Condition โ A candle is considered bearish if:
The current open is lower than the previous close by the defined threshold.
The candle closes lower than it opens (bearish candle).
Large Arrow Alerts โ
Green Upward Triangle (๐) appears below bullish jump candles.
Red Downward Triangle (๐) appears above bearish jump candles.
๐ ๏ธ Customization
Price Gap Threshold ($): Adjust the gap size to detect smaller or larger jumps.
Visual Signals: Large green and red triangles for clear trade signals.
๐ฏ How to Use
โ Breakout Traders โ Spot potential trend continuations after a gap.
โ Mean Reversion Traders โ Identify overextended price movements that may revert.
โ News/Event Traders โ Track market reactions after earnings, reports, or major news.
๐จ Note: This indicator is best used with additional confirmation signals (volume, support/resistance levels, or trend analysis).
๐ Version: Pine Script v6
๐ Purpose: Detects significant price gaps between consecutive candles to identify potential trading opportunities.
๐ Overview
The Jump Candle Indicator highlights moments when the market experiences a sudden price jump, either up or down, due to overnight moves, news releases, or increased volatility.
It works by detecting candles where the opening price differs significantly from the previous closing price by a set threshold.
Unlike traditional momentum indicators, this script focuses purely on price gaps, making it ideal for traders who want to identify potential breakout zones or market inefficiencies.
โ๏ธ How It Works
User-Defined Threshold โ Set a minimum price gap (default: $0.50).
Gap Up Condition โ A candle is considered bullish if:
The current open is higher than the previous close by the defined threshold.
The candle closes higher than it opens (bullish candle).
Gap Down Condition โ A candle is considered bearish if:
The current open is lower than the previous close by the defined threshold.
The candle closes lower than it opens (bearish candle).
Large Arrow Alerts โ
Green Upward Triangle (๐) appears below bullish jump candles.
Red Downward Triangle (๐) appears above bearish jump candles.
๐ ๏ธ Customization
Price Gap Threshold ($): Adjust the gap size to detect smaller or larger jumps.
Visual Signals: Large green and red triangles for clear trade signals.
๐ฏ How to Use
โ Breakout Traders โ Spot potential trend continuations after a gap.
โ Mean Reversion Traders โ Identify overextended price movements that may revert.
โ News/Event Traders โ Track market reactions after earnings, reports, or major news.
๐จ Note: This indicator is best used with additional confirmation signals (volume, support/resistance levels, or trend analysis).
Release Notes
Price Gap Indicator๐ Version: Pine Script v6
๐ Purpose: Detects significant price gaps between consecutive candles to identify potential trading opportunities.
๐ Overview
The Jump Candle Indicator highlights moments when the market experiences a sudden price jump, either up or down, due to overnight moves, news releases, or increased volatility.
It works by detecting candles where the opening price differs significantly from the previous closing price by a set threshold.
Unlike traditional momentum indicators, this script focuses purely on price gaps, making it ideal for traders who want to identify potential breakout zones or market inefficiencies.
โ๏ธ How It Works
User-Defined Threshold โ Set a minimum price gap (default: $0.50).
Gap Up Condition โ A candle is considered bullish if:
The current open is higher than the previous close by the defined threshold.
The candle closes higher than it opens (bullish candle).
Gap Down Condition โ A candle is considered bearish if:
The current open is lower than the previous close by the defined threshold.
The candle closes lower than it opens (bearish candle).
Large Arrow Alerts โ
Green Upward Triangle (๐) appears below bullish jump candles.
Red Downward Triangle (๐) appears above bearish jump candles.
๐ ๏ธ Customization
Price Gap Threshold ($): Adjust the gap size to detect smaller or larger jumps.
Visual Signals: Large green and red triangles for clear trade signals.
๐ฏ How to Use
โ Breakout Traders โ Spot potential trend continuations after a gap.
โ Mean Reversion Traders โ Identify overextended price movements that may revert.
โ News/Event Traders โ Track market reactions after earnings, reports, or major news.
๐จ Note: This indicator is best used with additional confirmation signals (volume, support/resistance levels, or trend analysis).
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.
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.
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.