Gap Finder Pro (incl. Island Gaps)Hello Traders!
Unlock the power of gap trading with Gap Finder Pro , a comprehensive tool designed to identify, analyze, and visualize price gaps in any market. This advanced indicator goes beyond simple gap detection, offering you a wealth of features to enhance your gap trading strategies.
Key Features
Precise gap detection for both up and down gaps
Island gap identification and analysis
Detailed statistics for data-driven decision making
Customizable visual elements for clear chart analysis
Flexible settings to adapt to various trading styles and timeframes (works on daily and intraday charts)
Understanding and Trading Gaps
Price gaps occur when an asset opens at a different price than its previous close, creating a blank space on the chart. Gaps can signal significant market sentiment shifts and often present lucrative trading opportunities. Gap Finder Pro helps you capitalize on these opportunities
Island Gaps: A Powerful Trading Signal
Island gaps, a rare but potent chart pattern, occur when a gap is followed by a period of price consolidation and then another gap in the opposite direction. The indicator automatically detects and highlights these formations, allowing you to spot potential trend reversals or continuation patterns quickly.
Comprehensive Statistics
Make data-driven decisions with the built-in statistics panel. Analyze:
Total number of gaps (up and down)
Average and median gap sizes
Gap fill rates and average time to fill
Percentage of gaps filled within specific timeframes
Breakdown of gap types (standard vs. island)
These statistics empower you to understand market behavior better and refine your gap trading strategies over time.
Trading Strategies
Island Gap Reversals: Capitalize on the powerful reversal signals provided by island gaps.
Breakout Trading: Look for gaps in a V-formation as potential signs of strong trend continuation.
Gap Fill Trading: Use the indicator to identify unfilled gaps and set targets for potential mean reversion trades.
(For example, enter short for a up gap fill if a down candle closes below the previous candle's low.)
Statistical Edge: Leverage the comprehensive statistics to develop gap-based trading systems.
Whether you're a seasoned gap trader or looking to incorporate gap analysis into your trading strategy, Gap Finder Pro provides the tools and insights you need to make informed decisions in any market condition. Elevate your trading with this powerful, all-encompassing gap analysis indicator.
Gaptrading
Gap Statistics (Zeiierman)█ Overview
The Gap Statistics (Zeiierman) indicator is crafted to monitor, analyze, and visually present price gaps on a trading chart. Price gaps are areas on a chart where the price jumps up or down from the previous close to the next open, creating a "gap" in the normal price pattern. This script delivers an extensive range of statistics related to these gaps, encompassing their size, direction (whether bullish or bearish), frequency of getting filled, as well as the average number of bars it takes for a gap to be filled. The indicator also visually represents the gaps, making it easier for traders to spot and analyze them.
█ How It Works
Gap Identification: The script identifies gaps by comparing the open price of a bar to the close price of the previous bar. If there is a discrepancy between the two, it is recognized as a gap.
Gap Classification: Once a gap is identified, it is classified based on its size (as a percentage of the previous close price) and direction (bullish or bearish). The gap is then added to a specific category based on its size.
Gap Tracking: The script keeps track of all identified gaps using arrays and user-defined types, storing details like their size, direction, and whether they have been filled.
Gap Filling: The script continuously monitors the price to check if any previously identified gaps get filled. A gap is considered filled if the price moves back into the gap area.
Statistics and Alerts: The script calculates various statistics like the total number of gaps, the number of filled gaps, the average number of bars it takes for a gap to fill, and the percentage of gaps that get filled. It also generates alerts when a new gap is identified or an existing gap gets filled.
█ How to Use
Gaps are often classified into four main types:
Common Gaps: These are not associated with any major news and are likely to get filled quickly.
Breakaway Gaps: These occur at the end of a price pattern and signal the beginning of a new trend.
Runaway Gaps: Also known as continuation gaps, these occur in the middle of a trend and signal a surge in interest in the stock.
Exhaustion Gaps: These occur near the end of a price pattern and signal a final attempt to hit new highs or lows.
The Gap Statistics (Zeiierman) indicator enhances a trader's ability to use gaps in their trading strategy in several ways:
Statistical Analysis: Traders get comprehensive statistics on gaps, such as their size, direction, and how often they get filled.
Performance Tracking: The indicator tracks how many bars it typically takes for a gap to fill, providing traders with an average timeframe for gap closure.
█ Settings
Display Gaps: Choose to display "All Gaps," "Active Gaps," or "None."
Show Gap Size: Toggle on/off the display of the gap size.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Gap FinderThe Gap Finder Indicator will allow you to quickly identify gaps on the chart. Gaps in this indicator are defined as the "black space" between candles with the space being as small as $0.01. A gap up is one where the previous candle's high is lower than the current candle's low. A gap down is one where the previous candle's low is higher than the current candle's high.
Features:
Highlight Gap Area will show the price levels for the last found gap.
Show Last Only - will show only the last gap to help declutter the chart.
Basic guidelines for Gap trading:
Wait 3-5 Periods to allow the momentum to settle
Take trade on reversal candle with stop above recent high
Exit for profit when the gap fills.
This indicator will work for all timeframes using the definitions above so good for day traders, swing traders and any other style of trader using gaps in their strategy.
Gap Finder - Aitch-TGap finder finds the following types of gaps:
- Full Gap Up (open price is higher than the previous day's high)
- Partial Gap Up (open price is higher than the previous day's close)
- Full Gap Down (open price is lower than the previous day's low)
- Partial Gap Down (open price is lower that the previous day's close)
The script is fully customizable and can be applied to Forex, futures, stocks and crypto.
How to use it:
Once you have added the script to your chart, go to the script's settings and type in the size of the gap, then move to the style tab and check the types of gaps that you want the script to find. If you wish, you can also edit the rest of the settings to your liking.
Hit the Ok button when your done.
Green and red squares will appear on top and bottom of the indicator pointing out the location of the sharp move.
By default, full gap signals appear on top of the indicator while partial gap signals appear on the bottom of the indicator.
Defaul gap size is 1%.
GAP DETECTORGAP DETECTOR is an indicator displaying price gaps that have never been completely filled (only gaps >= 5 pips are considered).
Each gap is defined by two lines (the lower and upper bound of the gap), and a label giving information on its price range
#Parameters:
length: the number of candles being considered in the indicator (max is 3000).
width: the width of the gap lines.
CME Bitcoin Gap Finder Orderblock Support ResistanceCME Bitcoin Gap Finder Orderblock Support Resistance
Intro
I had a backlog of scripts to release, and so everyone is getting some Christmas gifts early!
I have been watching CME gaps and how they relate to BTC for over a year now. I find they make good orderblock support/resistance areas.
Description
There is a limitation to how many lines I can draw with the new pine script functions. So for instance if you want to see the gaps from 2018 I have included a date range selector (similar to how a backtest works). This way you can only display the gaps from the dates ranges you want to see.
There's also the ability to check for gaps on the daily, 12h, 4h, and 1h charts. I recommend using 12H. But know that depending on what period you choose it will effect the size of the gaps, so experiment and see what works for you.
Lastly I included the ability to have background highlights whenever CME is closed on the weekend, just for visual reference.
You can use this indicator on any BTC ticker, and it will show you where the CME gaps are (without having to switch/reference the CME chart).
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 74th script on Tradingview!
💬Check my Signature for other information
Find GapsShow a symbol or/and create an alert if there is a gap between candles. Percentage of gaps can be adjusted.
Gap Trader
Plot the most recent 20 gaps based on custom session info.
The session can be customized with a start time and an end time.
The previous open, high, low, close are only from the price during the session specified.
A gap line will stop printing the moment the gap is filled.
For CME futures, the session must be offset by one hour for Central time. I use the official cash close of 16:15 EST (yes, not 16:00) as this is the TRUE close when options go offline. Every day CME futures take a break between 16:15 - 16:30 EST for settlement, and then again from 17:00 - 18:00 EST.
To offset CME futures you must subtract an hour, the official NYSE hours for futures: 0830-1515, this translates to 9:30 AM EST - 4:15 PM EST.
For information about the probability of a previous day's gap being filled by the NYSE close: www.investiquant.com
Gap-O-MaticGap-O-Matic checks whether there is a gap in a user-defined security or symbol and gives you alerts, targets for the gap and tracks the gap until it has been filled. In addition, you can disable or show plots, and change the gap threshhold to pick how big of gaps you want Gap-O-Matic to alert you to and which it should ignore.
A good use case, for example, is to use Gap-O-Matic to monitor a CME/CBOE such as "BTC1!" while trading a bitmex chart. You wont need to check or chart out gap areas. Gap-O-Matic will automatically draw in the gaps on your chart for you.
Katana Gaps Bounty Hunter Pro (Show Gaps of All Types) by RRBKatana Gaps Bounty Hunter Pro (KGB Hunter Pro, Gap Exterminator) by RagingRocketBull 2018
Version 1.0
This indicator shows/counts/filters gaps on a chart.
There are several versions: Simple, Pro, Advanced and Zones. This is the Pro version. The Differences are listed below.
- Simple: shows/counts gaps, changes color based on gap dir (2 colors), filters out price gaps within session, large gaps, and high volume gaps
- Pro: +shows all types of gaps, multi color, pro filters (full/partial/overlapping time, price, large, candle, volume, doji, weekend gaps within delta ranges)
- Advanced: +session times mask, show/count gaps only for last N bars, +min/max/filled gaps stats, dark mode
- Zones: +shows gaps as dynamic horiz zones
KGB Hunter Pro Gap Exterminator focuses on showing you all possible types of gaps in multiple colors. Gap theory states that price tends to return and fill the gaps,
so you can use it to collect the bounty. You can apply any combination of complex filters to narrow down search results i.e., find only all:
- type 3 gaps up with allowed wick-candle overlapping of up to 10% and
- gap size larger than 200 and
- with at least one of the candles larger than 100 and
- volume change at least 40 and
- spanning less than 2 bar periods and
- excluding weekend gaps
Features:
- highlights gaps using barcolor and plotchar chars (8 colors x 2 dirs)
- supports all 3 types of gap overlapping: full gap (no overlapping), wick-wick and wick-body overlapping up to a specified % of candle body
- finds all types of gaps with pro filters for price, time, large, volume, timerange, candle size, doji gaps
- individual show/hide flags for each gap/char based on gap type
- can show/hide gaps/chars based on gap dir
- changes color of gaps/chars based on gap dir/type, multi color gap type combos
- displays chars above/below bar based on gap dir
- can show/hide weekend gaps
- counts all filtered gaps
Colors:
Basically There are 2 gap types (Price, Time) x 2 directions (Up, Down) x 2 modifiers (Large, Volume), Volume Gap is a separate class with its own modifiers, so more accurately:
- (Price, Time) x 2 directions (Up, Down) x Large modifier
- (Price Volume, Time Volume) x 2 directions (Up, Down) x Large modifier
using a total of 16+1 colors or 8+1 base colors + transparency modifier
depending on settings you can highlight gaps using any multi color combo from just 1 to all 16 colors (+1 gray color for weekends).
basic gap = 1 base color with normal transparency
price,time = 2 base colors (including basic gap) with normal transparency (+1 color)
* up,down dir = +2 new base colors with normal transparency (including 2 base colors), with a total of 2*2 = 4 price/time base colors (+2 colors)
* large = same 4 base colors with vivid transparency modifier (+4 colors)
* volume = +2 new base colors with normal transparency, a separate class (+2 colors)
* volume * up,down dir = +another 2 new base colors with normal transparency (including 2 volume base colors), with a total of 2*2 = 4 volume base colors (+2 colors)
* volume * large = 4 volume base colors with vivid transparency modifier (+4 colors)
weekend_gap = gray (+1 color)
doji gap, candle gap, timerange gap = no special color, inherits color from parent gap type
for more details, please see the Gap Color Hierarchy comments in code
_________________________________________________________________________
You can find the following gap related terminology in literature: full, partial, extreme, breakaway, runaway/continuation, common, exhaustion gaps.
There are no exact rules to distinguish between them, so this can't be implemented.
When defining a gap it all boils down to how do you plot a gap, which points between adjacent candles do you consider a gap. Different sources apply different methodology
but in practice only 3 types of gap overlapping can exist:
- full gap (no overlapping),
- partial (wick-wick overlapping) and
- extreme partial (wick-body overlapping up to a specified % of a candle body)
All these types are supported in this script. The only possible remaining option is candle-candle overlapping which is not a gap by definition.
Many other script specific subtypes are also supported. Please see description of each gap type below and comments in code.
General display modes
- gap has 3 possible overlapping modes: full gap (no overlapping), wick-wick overlapping, wick-candle overlapping up to a specified % of candle body size (for mode 3 only)
the remaining candle-candle overlapping implies not a gap by definition
full gap mode will find the least amount of gaps, wick-candle - the most
- gap can be either price or time, up or down, and shown above or below the candles (gap chars)
- by definition, a price gap is a smaller subset of a time gap, a gap within current session with a price gap and zero time lag between bars.
Therefore timerange filter is useless for price gaps, but can still be applied.
On the other hand, all price gap filters can be applied to time gaps without any distinction.
- gap can have multiple modifier subtypes: (price|time) * (up|down) * (large? + volume? + doji? + timerange? + weekend?)
i.e. price + large + volume + doji or time + large + volume + timerange + doji + weekend
- the gap is always counted only once no matter how many subtype modifiers it has
- if the gap does not satisfy any of the applied flags/filters it is not shown/counted (no gap bars/chars are shown)
- gap color can depend on a combo of gap type/dir and modifier subtypes or can be shown in a single base color
- char color can only depend on gap dir (not type/modifiers) or can be shown in a single base color
- char position can also depend on gap dir (above/below) the gap candle. Alternatively you can pin chars to the top/bottom of the screen in UI Styles.
- change_by_type = true - uses gap type base colors (2 colors + optional modifiers, up to 8 colors if volume and/or large filters are enabled)
- change_by_dir = true - uses gap dir base colors (2 colors + optional modifiers, up to 8 colors if volume and/or large filters are enabled)
- both change_by_type and change_by_dir = true - uses both gap type and dir base colors (4 colors + optional modifiers, up to 16 colors if volume and/or large filters are enabled)
- both change_by_type and change_by_dir = false - uses a single base gap color (1 color)
- don't need that much colors - disable filters
- highlight bars has priority over individual gap flags, when it is false all gaps are hidden regardless of their corresponding flag settings (does not affect dim weekend gaps)
- show chars has priority over individual gap char flags, when it is false all char flags are hidden regardless of their corresponding flag settings
- price gaps are only shown/counted when show_price_gaps flag is true. The large or volume filters can be used to narrow down results further.
- time gaps are only shown/counted when show_time_gaps flag is true. The large, volume, and timerange filters can be used to narrow down results further.
- doji gaps are only shown/counted when show_doji_gaps flag is true. The doji candle size and other filters can be used to narrow down results further.
- show weekend gaps = true and dim weekend gaps = false - shows/counts weekend gaps
- show weekend gaps = true and dim weekend gaps = true - dims weekend gaps, doesn't show/count weekwend gaps
- show/dim weekend gaps do just that - show the gap if it happens on a weekend, not all weekends
- large gaps are only shown/counted when the large filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- volume gaps are only shown/counted when the volume filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- timerange gaps are only shown/counted when the timerange filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- candle size gaps are only shown/counted when the candle size filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- candle size filter is the only filter with 2 arguments, use_and_for_delta to enable AND condition for the args (OR is the default)
Good Luck! Feel free to explore and learn from the code
Katana Gaps Bounty Hunter (Show Gaps Counter) by RRBKatana Gaps Bounty Hunter (KGB_Hunter) by RagingRocketBull 2018
Version 1.0
This indicator shows/counts/filters gaps on a chart
There are several versions: Simple, Pro and Zones. This is the Simple version. The Differences are listed below.
- Simple: shows/counts gaps, changes color based on gap dir (2 colors), filters out price gaps within session, large gaps, and high volume gaps
- Pro: +shows all types of gaps, multi color, more filters (time gaps, doji, etc)
- Zones: +shows gaps as dynamic horiz zones
Features:
- highlights gaps using barcolor and plotchar chars (2 colors x 2 dirs)
- can show/hide gaps/chars based on gap dir
- changes color of gaps/chars based on gap dir
- displays chars above/below bar based on gap dir
- can filter out price gaps, large gaps, and high volume gaps
- counts all filtered gaps
Good Luck! Feel free to reuse the code and make it your own
Khaos-Hidden-Gaps
This is an indicator that shows Hidden Gaps. It will assist when looking for support and resistance levels, as well as help in understanding trend, thereby improving trading performance.
LEGAL STUFF:
Risk Disclosure
Futures , forex, stock, crypto and derivative trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results
Hypothetical Performance Disclosure
Hypothetical performance results have many inherent limitations, some of which are described below. no representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results
DAX GAPSIf you are interested in trading gaps in DAX, then DOW plotted in DAX's trading hours, will help you know whether the smoothed candle was a gap or not. Use a different script to plot yesterday's closing price. This will help you see the target for the gap close. Let me know if you find it helpful or not!