FIMS Fair Value GapThe FIMS Fair Value Gap (FVG) is an advanced technical analysis indicator designed to identify and visualize Fair Value Gaps (FVGs) in financial markets. These gaps represent areas of price inefficiency that traders use to anticipate potential reversals, continuations, or liquidity zones. This indicator provides clear visuals, customizable settings, and multiple invalidation methods, making it highly versatile for diverse trading strategies.
Key Features
1. Gap Detection
Bullish Fair Value Gap: A gap forms when the current low is higher than the high two bars prior.
Bearish Fair Value Gap: A gap forms when the current high is lower than the low two bars prior.
Automatically creates visual markers for detected gaps.
2. Customizable Invalidation Settings
Invalidation Outcome Options:
Stop Updating Gap: Keeps the gap displayed but does not update it further.
Delete Gap: Removes the gap entirely once invalidation criteria are met.
Invalidation Methods:
Gap Fill: Invalidation occurs when the gap is completely filled by price action.
Number of Breakouts: Tracks a specific number of price flips above or below the gap before invalidating it.
Age of Gap: Removes gaps that exceed a user-defined number of bars.
3. Customizable Visualizations
Color Settings:
Bullish gaps use green tones for borders and background.
Bearish gaps use red tones for borders and background.
Midline: A dashed line divides the gap at the midpoint for additional precision.
Line Widths: Adjustable for both border and midline to suit individual chart preferences.
4. Dynamic Updates
Gaps extend horizontally with each new bar.
Updates occur based on the chosen invalidation method, ensuring gaps remain relevant to current market conditions.
5. Alerts
Configurable alert conditions for various events:
New Gap Formation: Alerts for newly detected bullish or bearish gaps.
Gap Filling: Alerts when gaps are partially or completely filled.
Breakouts: Alerts for upside or downside breakouts beyond the gap.
Invalidation Events: Alerts for gap invalidation based on user-defined methods.
Price Inside Gap: Alerts when the price enters the gap zone.
6. Interactive Components
Midline and bounding lines adjust dynamically when gaps are partially filled.
Provides real-time feedback on price interactions with gaps, enhancing decision-making.
Applications
Liquidity Zones:
Identify potential areas of market interest where price may return to fill gaps.
Trend Continuation and Reversals:
Use gap zones as key levels for price retracements or trend reversals.
Risk Management:
Leverage gaps for setting stop-loss and take-profit levels.
Scalping and Intraday Trading:
Benefit from short-term opportunities around gap areas.
Customization Options
Cosmetic Adjustments: Tailor the appearance of the indicator to blend seamlessly with your chart.
Alert Configurations: Flexible alerts to stay informed of critical market events without constant monitoring.
Invalidation Methods: Adapt the behavior of the indicator to align with your trading approach.
Gap
GapDetectGap Severity Analysis Library
This library, GapDetect , simplifies the identification and evaluation of overnight gaps by leveraging statistical metrics such as standard deviation and percentage moves. It is ideal for detecting large abnormal gaps which may be used to modify how strategies may decide to enter or exit.
Key Features:
Overnight Gap Detection
Provides two core functions:
today : Computes the value of today's overnight gap.
todayPercent : Computes the percentage change for today's overnight gap.
Volatility Analysis
Includes functions for statistical gap analysis:
normal : Calculates the normal daily standard deviation of the overnight gap, filtering outliers using customizable thresholds.
normalPercent : Similar to normal , but for percentage-based gap moves.
Gap Severity Metric
severity : a positive or negative value that represents the ratio of the current overnight move compared to the standard deviation of previous ones.
Customizable Parameters
Supports custom session specifications, resolutions, and outlier thresholds.
Gap Finder with Box FillSetup and Inputs
The indicator checks the current and previous candles to find gaps, using a color input for filling the gap area on the chart.
Gap Detection:
If the current candle opens higher than the previous close and doesn’t overlap with the previous candle’s range, it marks this as a gap-up.
If the current candle opens lower than the previous close without overlap, it’s marked as a gap-down.
Drawing the Gap:
When a gap-up or gap-down is found, the script draws a box from the previous close to the current candle’s low or high, filling it with the chosen color.
Benefits
Visual Aid: The filled box highlights gaps, making them easy to spot on the chart.
Trade Signals: Gaps can show strong market moves, helping traders spot potential entries or watch for reversals.
Customizable: You can adjust the color to fit your chart style, making the gaps stand out clearly.
This simple tool gives traders a quick view of gaps, which are often key points of interest in technical analysis.
Gap Detector [MS]This indicator helps traders identify and visualize price gaps in market data. When price movements create gaps between trading sessions or periods, the script highlights these areas with colored clouds and markers.
Key Features:
Automatically detects price gaps based on a customizable gap percentage threshold
Visualizes gaps using color-coded clouds (green when price moves upward, red for downward price action)
Places small triangle markers at gap locations for easy identification of gaps, and if many happen close together
Shows gray clouds when price is within the last gap
Use it For:
Watching for gap-fills
Gap support/resistance levels
Trading gap breakouts
...and more
How it Works:
The script compares each bar's opening price with the previous bar's closing price. A gap is identified when the opening price is significantly different from the previous close (beyond the user-defined gap percentage). The gap area is then marked with a colored cloud:
Green clouds: Show gaps where price jumped higher
Red clouds: Show gaps where price dropped lower
Gray clouds: Indicate price action within the gap
Settings:
Gap %: Controls the minimum price difference required to identify a gap (default 0.01 or 1%)
This indicator can help traders:
Identify potential support/resistance levels at gap areas
Monitor gap-filling scenarios
Spot significant price movements between trading sessions
The script is designed to work across all timeframes and markets.
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.
Fair Value Gap & Gap Profile [BigBeluga]This indicator is designed to help traders identify and utilize fair value gaps on price charts and analyze volume at these points. These gaps, formed by significant price movements, can act as key support and resistance levels. The indicator enhances trading strategies by visually representing these gaps, making it easier for traders to spot potential entry and exit points.
⦿ What Is A Fair Value Gap?
Before diving into the practical use of the Fair Value Gap in trading, it's crucial to have a clear understanding of what it is and how to identify it on your charts. The Fair Value Gap, or FVG , is a widely utilized tool among price action traders to detect market inefficiencies or imbalances. Sometimes you will even see them labeled as inefficiencies by other traders. These imbalances arise when buying or selling pressure is significant, resulting in a large upward or downward move, leaving behind an imbalance in the market.
The idea behind FVGs is that the market will eventually come back to these inefficiencies in the market before continuing in the same direction as the initial impulsive move. FVGs are important since traders can achieve an edge in the market. Price action traders can also use these imbalances as entry or exit points in the market.
By visually representing gaps and their profile, the Fair Value Gap (FVG) & Gap Profile indicator provides a historical overview of gaps within a specified lookback period, showing the distribution and density of gaps across different price levels. This insight helps traders identify zones where the price tends to move more fluidly, often encountering less resistance. High points on the Gap Profile indicate areas where gaps have occurred frequently in the past, which could serve as potential breakout or breakdown zones.
⦿ Key Features:
● Gap Detection and Visualization:
- Identifies Bullish and Bearish Gaps: Highlights gaps where the price moved significantly up or down along with a volume. Intensivity of color show strength of FVG by volume
- Filter for Significant Gaps: Allows users to filter out insignificant gaps, ensuring only relevant gaps are displayed.
● Customizable Display Options:
- Shows Filled Gaps: Option to display gaps that have been filled, aiding in the analysis of historical price movements.
- Displays Filled Gap Levels: Highlights the levels of filled gaps.
● Gap Profile:
Gap Profile Insight: The Gap Profile feature shows the distribution of gaps over a specified lookback period. High points on the FVG Profile indicate areas with a significant number of gaps in the past. These high points are signs of low resistance for price movement. Consequently, at these points, the price tends to move more easily without encountering strong resistance. Traders can use this information to identify potential breakout or breakdown zones where price action is likely to be more fluid.
● Grab Liquidity Detection:
- Collect liquidity Signals: Plots markers on the chart where price interacts with gap levels, providing potential trade signals based on liquidity.
⦿ How Traders Can Use This Indicator:
- Plan Trades: Use gaps as potential entry and exit points, based on whether the price is approaching, filling, or moving away from a gap.
- Analyze Market Trends: Understand historical price movements by analyzing filled gaps and their impact on current price action.
- Analyze Gap Profile: Identify zones where the price tends to move more fluidly, often encountering less resistance. High points on the Gap Profile indicate areas where gaps have occurred frequently in the past, which could serve as potential breakout or breakdown zones.
- Price imbalance: market will eventually come back to these inefficiencies and fill them. inefficiencies or imbalances in the market usually act as a magnet for price.
By incorporating the Fair Value Gap & Gap Profile indicator into their trading strategy, traders can gain a clearer understanding of market dynamics and make more informed trading decisions.
Rising & Falling Window Signals [LuxAlgo]The Rising & Falling Window Signals indicator identifies Rising & Falling Window formations on the chart and manages them for use as support and resistance zones. The Rising and Falling Window methods used in this indicator are based on Steve Nison's techniques, emphasizing the importance of these areas to better identify continuation momentum and likely reversal points.
Various filtering settings are included to identify zones of a specific width, as well as hide shorter zones from displaying on their chart, helping the users focus on the most significant zones.
🔶 USAGE
A Window (Rising or Falling) forms when the candle wicks from 2 consecutive candlesticks do not overlap, causing a gap. This gap is considered as a strong market sentiment of upward or downward movement, allowing traders to anticipate the likely direction of future prices.
The formation of a Rising Window is a typical indication that a bullish trend is likely to follow.
The formation of a Falling Window is a typical indication that a bearish trend is likely to follow.
After forming a window, we can interpret the zone as a likely area of support and resistance for the price to return to and react from.
Generally, the extremities of the window are used as support and resistance levels, with opposite extremities being regarded as the strongest point of support/resistance. However, when the window is exceptionally wide, the mid-point is looked upon as the strongest point of support/resistance. Once the price closes beyond the window, the window is no longer seen as supportive.
🔶 DETAILS
The script uses a fairly simple concept and implements it with familiar size and mitigation checks. From the settings of this script, the zones can be controlled based on user preferences.
🔹 Horizontal Zone Control
Horizontal Control Settings manipulate the extension and zone display for each zone; however, these settings do not affect the identification of each zone.
Maximum Live Zone Length: This determines the maximum duration of a zone. Zones will stop extending once the zone is mitigated, or if it has reached the maximum zone length determined by this setting.
Minimum Inactive Zone Length: This will hide mitigated (inactive) zones that are shorter than this setting value, this is used to free up the chart from irrelevant zones.
Extend Historical Zones on Touch: If a zone is unmitigated, but has stopped extending, it is considered a "historical" zone. If the price returns to a historical zone, this setting will cause it to extend to the current bar.
🔹 Vertical Zone Control
Vertical Control Settings filter out windows that are wider or thinner than the desired width range. Each of these settings is specified as "ATR Multipliers".
Minimum Width: Filters out any zones whose width is lower than ATR * Minimum Width.
Maximum Width: Filters out any zones whose width is higher than ATR * Maximum Width.
🔹 Signal Types
Signals are used to identify interactions with the Rising & Falling Window zones. The script has 3 different identification types to choose from:
Note: These are all bullish (rising window) examples of each signal.
Regular: The "regular" signal will fire when the price crosses above the upper extremity of an unmitigated zone.
Engulfing: The "engulfing" signal will fire when a bullish engulfing candlestick pattern occurs while one or more of the candle's wicks are touching the zone.
Wick: The "wick" signal will fire when the low of the candle is below the top of a zone, but the candle then closes above the top of the zone.
🔶 SETTINGS
🔹 Horizontal Zone Control
Maximum Live Zone Length: Maximum duration of newly formed zones.
Minimum Inactive Zone Length: Hides Zones whose length is lower than this setting.
Extend Historical Zones on Touch: Extend historical unmitigated zones when the price reaches the zone to the current bar.
🔹 Vertical Zone Control
Minimum Width: ATR multiplier used to filter out any zones whose width is lower than ATR * Minimum Width.
Maximum Width: ATR multiplier used to filter out any zones whose width is higher than ATR * Maximum Width.
Show Midlines: Determine if the zone midlines are displayed.
🔹 Signals
Show Zone Tests: Determine if signals appearing on zone tests are displayed.
Test Type: Sets the signal method for zone tests.
Signal Size: Sets label size for displayed signals.
ICT NWOG/NDOG Gaps [TradingFinder] New Opening Gaps🔵 Introduction
🟣 Understanding ICT Opening Gaps
In the realm of technical analysis, mastering the art of recognizing market behavior and pinpointing key price levels is vital for making sound trading decisions. Among the array of tools available, the concept of opening gaps stands out for its ability to provide crucial insights.
The ICT (Inner Circle Trader) methodology offers a distinctive approach to understanding the importance of New Day Opening Gaps (NDOG), New Week Opening Gaps (NWOG), and New Monthly Opening Gaps (NMOG).
These gaps, representing the price differences between the close of a previous period and the open of the next, serve as key reference points that can greatly impact price movements.
The ICT trading approach highlights these gaps as potential zones of support and resistance. Prices often respond to these areas, either bouncing off or passing through and then retesting them. Within these gaps, significant levels such as the high and low are particularly important.
Additionally, the Event Horizon PD Array (EHPDA) concept, which is an intermediate level calculated from the average of neighboring NWOGs or NDOGs, adds another layer to this analysis.
This guide delves into ICT's New Daily, Weekly, and Monthly Opening Ranges, showing how these gaps can be effectively utilized in trading. By grasping the nuances of these gaps, traders can better forecast market behavior, identify key support and resistance levels, and refine their trading strategies.
🟣 The Gaps
1. New Week Opening Gap (NWOG) : The NWOG is the price gap between Friday's closing price and Sunday's opening price. This gap is particularly crucial for traders who monitor weekly trends. Depending on the direction of the gap, the NWOG often serves as a pivotal support or resistance level.
2. New Day Opening Gap (NDOG) : The NDOG signifies the price difference between the closing price of the previous day and the opening price of the current day. Much like the NWOG, the NDOG is a key reference point for intraday traders.
Prices typically react to these levels, either reversing or continuing through the gap after a retest. NDOGs are instrumental in identifying short-term support and resistance levels, aiding traders in making decisions based on daily price movements.
3. New Monthly Opening Gap (NMOG) : The NMOG represents the gap between the closing price of the previous month and the opening price of the current month.
This gap is especially valuable for traders focusing on long-term trends and macroeconomic factors. As with NWOGs and NDOGs, the NMOG can act as a significant support or resistance level.
🔵 How to Use
Identifying Support and Resistance : Opening gaps often indicate potential zones where prices might reverse or find support/resistance. For example, if a new day opens below the previous day’s close (creating a NDOG), this gap could act as resistance, prompting traders to consider short positions if the price retests this level without breaking through.
Conversely, if the price opens above the previous day’s close, the gap might serve as support, offering a potential entry point for long trades.
Gap Fill Strategy : A popular strategy associated with opening gaps is the "gap fill" approach, where traders anticipate that the price will eventually return to fill the gap.
For instance, if there’s a significant NDOG at market open, a trader might expect the price to retrace back to the previous day’s close, effectively "filling" the gap. This strategy is particularly effective in markets that exhibit mean-reverting behavior.
Combining Gaps with Other Indicators : Traders often enhance their analysis of NDOG, NWOG, and NMOG by integrating other technical indicators. Aligning gap levels with tools such as Fibonacci retracements, moving averages, or existing support and resistance zones can provide additional confirmation for trade entries and exits.
🔵 Setting
Show and Color : You can control the display or non-display of the range as well as the color of the range.
Max Opening Range Update Method : You can control the number of ranges that are updated. If it is "All", all ranges that are not mitigated will be displayed. If "Custom", the ranges will be updated based on the number you specify.
Max Opening Range Update : The number of ranges to update.
🔵 Conclusion
The ICT New Daily, Weekly, and Monthly Opening Ranges provide traders with a systematic approach to understanding market dynamics and identifying critical support and resistance levels.
By analyzing these gaps, traders can gain deeper insights into potential price movements, spot high-probability trade setups, and strengthen their overall trading strategy. Whether you are focused on short-term day trading or long-term market trends, incorporating NDOG, NWOG, and NMOG analysis into your trading plan can be a powerful addition to your toolkit.
Gap Percentage Highlighter (1Day)b]🇬🇧 ENGLISH
The "Gap Percentage Highlighter" script is a useful tool for traders who want to visually highlight and analyze price gaps on their charts.
Features:
Identification of Price Gaps (Gaps):
The script automatically highlights candles where the opening price significantly differs from the previous day's closing price.
Percentage Display of the Gap:
The percentage change between the closing price and the opening price is displayed directly on the chart.
Customizable Gap Size:
Users can set the minimum size of the price gap in percentage terms through a simple input field, determining when the script marks a gap as significant.
Visual Highlighting:
Gap-ups (positive gaps) are highlighted in green, and gap-downs (negative gaps) are highlighted in red, making them easy to identify.
Use Case:
This script is ideal for traders who utilize gaps in their analyses to identify potential market movements. It allows for quick and visual identification of significant price gaps directly on the chart and offers the flexibility to adjust the definition of "significant" to match individual needs.
Disclaimer:
This script is for educational purposes only. Trading involves risks and is not suitable for every investor.
(c) BS IMPACT SCALE GmbH
🇩🇪 GERMAN
Das "Gap Percentage Highlighter" Skript ist ein nützliches Tool für Trader, die Kurslücken (Gaps) auf ihren Charts visuell hervorheben und analysieren möchten.
Funktionen:
Identifizierung von Kurslücken (Gaps):
Das Skript hebt automatisch Kerzen hervor, bei denen der Eröffnungskurs vom Schlusskurs der vorherigen Kerze auf Tagesbasis signifikant abweicht.
Prozentuale Anzeige der Kurslücke:
Die prozentuale Veränderung zwischen Schlusskurs und Eröffnungskurs wird direkt auf dem Chart angezeigt.
Anpassbare Gap-Größe:
Nutzer können über ein einfaches Eingabefeld die minimale Größe der Kurslücke in Prozent festlegen, ab der das Skript die Lücke als relevant markiert.
Visuelle Hervorhebung:
Gap-Ups (positive Lücken) werden in Grün und Gap-Downs (negative Lücken) in Rot hinterlegt, sodass sie leicht identifiziert werden können.
Anwendungsbereich:
Dieses Skript ist ideal für Trader, die Gaps in ihren Analysen nutzen, um potenzielle Marktbewegungen zu identifizieren. Es ermöglicht eine schnelle und visuelle Erkennung von signifikanten Kurslücken direkt auf dem Chart und bietet die Flexibilität, die Definition von "signifikant" an die eigenen Bedürfnisse anzupassen.
Haftungsausschluss:
Dieses Skript dient ausschließlich zu Bildungszwecken. Trading beinhaltet Risiken und ist nicht für jeden Anleger geeignet.
(c) BS IMPACT SCALE GmbH
GAP Finder with Dollar Difference by RadionovCrypto**GAP UP Detection:**
- The current candle’s low must be higher than the previous candle’s high (high ).
**GAP DOWN Detection:**
- The current candle’s high must be lower than the previous candle’s low (low ).
**Visualization:**
- If a GAP UP is detected, a symbol appears below the candle with the text "GAP UP," and a label displays the dollar difference between the candles.
- If a GAP DOWN is detected, a symbol appears above the candle with the text "GAP DOWN," and a label displays the dollar difference between the candles.
**Explanation:**
- GAP UP is identified when the entire candle (body and wicks) is above the previous candle’s high.
- GAP DOWN is identified when the entire candle (body and wicks) is below the previous candle’s low.
This ensures that only situations where the new candle is completely outside the previous candle are considered as a GAP.
When a GAP is found, a label with the dollar difference between the candles appears on the chart, making it easy to track the gap’s value.
The indicator is particularly useful at the opening of trading sessions in stock markets. It’s optimal to search for GAPs at session transitions on a 5-minute timeframe.
I hope it adds clarity and precision to your trading strategy.
Enjoy trading.
Best regards,
**Radionov Crypto**
---
GAP UP Detection:
Мінімум (low) поточної свічки повинен бути вище за максимум (high ) попередньої свічки.
GAP DOWN Detection:
Максимум (high) поточної свічки повинен бути нижче за мінімум (low ) попередньої свічки.
Візуалізація:
Якщо було знайдено GAP UP, на графіку з'являється символ нижче свічки з текстом "GAP UP" та етикетка з різницею у доларах між цінами свічок.
Якщо було знайдено GAP DOWN, на графіку з'являється символ вище свічки з текстом "GAP DOWN" та етикетка з різницею у доларах між цінами свічок.
Пояснення:
GAP UP визначається, коли ціла свічка (тіло і тінь) знаходиться вище за максимум попередньої свічки.
GAP DOWN визначається, коли ціла свічка (тіло і тінь) знаходиться нижче за мінімум попередньої свічки.
Це забезпечує, що тільки ті випадки, де нова свічка повністю знаходиться поза попередньою свічкою, будуть враховані як GAP.
Якщо було знайдено GAP, на графіку з’являється етикетка з різницею у доларах між свічками, що дозволяє легко відстежувати значення розриву.
Індикатор зручно використовувати на стиках торгівельних сессій на фондових ринках. Оптимально шукати GAP саме на стиках сессій на таймфреймі 5 хвилин.
Сподіваюся, що він додасть до вашої торгівельної стратегії соковитості й точності.
Приємного користування.
Із повагою,
Radionov Crypto
Fair Value Gap (FVG) Oscillator [UAlgo]The "Fair Value Gap (FVG) Oscillator " is designed to identify and visualize Fair Value Gaps (FVG) within a given lookback period on a trading chart. This indicator helps traders by highlighting areas where price gaps may signify potential trading opportunities, specifically bullish and bearish patterns. By leveraging volume and Average True Range (ATR) data, the FVG Oscillator aims to enhance the accuracy of pattern recognition and provide more reliable signals for trading decisions.
🔶 Identification of Fair Value Gap (FVG)
Fair Value Gaps (FVG) are specific price areas where gaps occur, and they are often considered significant in technical analysis. These gaps can indicate potential future price movements as the market may return to fill these gaps. This indicator identifies two types of FVGs:
Bullish FVG: Occurs when the current low price is higher than the high price two periods ago. This condition suggests a potential upward price movement.
Obtains with:
low > high
Bearish FVG: Occurs when the current high price is lower than the low price two periods ago. This condition suggests a potential downward price movement.
Obtains with:
high < low
The FVG Oscillator not only identifies these gaps but also verifies them using volume and ATR conditions to ensure more reliable trading signals.
🔶 Key Features
Lookback Period: Users can set the lookback period to determine how far back the indicator should search for FVG patterns.
ATR Multiplier: The ATR Multiplier is used to adjust the sensitivity of the ATR-based conditions for verifying FVG patterns.
Volume SMA Period: This setting determines the period for the Simple Moving Average (SMA) of the volume, which helps in identifying high volume conditions.
Why ATR and Volume are Used?
ATR (Average True Range) and volume are integrated into the Fair Value Gap (FVG) Oscillator to enhance the accuracy and reliability of the identified patterns. ATR measures market volatility, helping to filter out insignificant price gaps and focus on impactful ones, ensuring that the signals are relevant and strong. Volume, on the other hand, confirms the strength of price movements. High volume often indicates the sustainability of these movements, reducing the likelihood of false signals. Together, ATR and volume ensure that the detected FVGs are both significant and supported by market activity, providing more trustworthy trading signals.
Normalized Values: The FVG counts are normalized to enhance the visual representation and interpretation of the patterns on the chart.
Visual Customization and Plotting: Users can customize the colors for positive (bullish) and negative (bearish) areas, and choose whether to display these areas on the chart, also plots the bullish and bearish FVG counts, a zero line, and the net value of FVG counts. Additionally, it uses histograms to display the width of verified bullish and bearish patterns.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
ICT Opening Range GapOpening Range Gap
The Opening Range Gap, also known as the Regular Trading Hours (RTH) Gap, is the distance between the first opening tick of a session and the previous session's close, when looking at a chart's Regular Trading Hours (not to be confused with Electronic Trading Hours). This gap is an important element for Futures Market traders that follow the works of The Inner Circle Trader (ICT). To be more specific, the Opening Range Gap occurs between 4:15pm and 9:30am of the next day.
The Opening Range Gap can be viewed easily when switching the session type to "Regular trading hours".
The image above shows an example of an RTH Gap for Wednesday, June 12, 2024 in CME_MINI:ES1!
How To Use Opening Range Gap
The Opening Range Gap can be used like any other form of a gap by extending it into future price action and looking for it to be filled on the same day or the upcoming days.
Looking for 50% of the gap to be filled as an initial target is one of the methodologies taught by ICT. Additionally, the high and low of the gap (as well as the midpoint) can be used as points of dynamic support & resistance, even if the gap is already filled. Therefore, these gaps do not "expire", and they can be used as key price levels extended through to the end of the week.
Disclaimer
This indicator is mainly intended to work for Futures markets, and specifically the following Index Futures markets: E-mini S&P 500 Futures, E-mini NASDAQ-100 Futures, E-mini DOW Futures.
Given that, the indicator still supports various other markets/assets out-of-the-box, such as other types of Futures Markets, Stocks, Options, and more. The main difference will be that other markets may have RTH Gaps forming at different times, rather than the 4:15pm-9:30am gap that occurs in the Index Futures (Regular trading hours).
Indicator Purpose
While RTH Gaps can be labeled by hand, this indicator allows you to quickly plot multiple RTH Gaps and get a quick glimpse at potential gaps that you may have missed, which could end up being useful in your analysis.
This indicator is 100% custom-built, not using code from any other existing indicators that may plot Opening Range Gaps. The main purpose of this indicator was to overcome many shortcomings from other existing indicators, most notably the problem of displaying RTH Gaps while using ETH as the chart session.
Therefore, this indicator has many UNIQUE features, such as:
Ability to maintain accuracy of the closing/opening prices even when changing chart settings (e.g., toggling ETH/RTH sessions, toggling BACK-ADJUSTMENT on futures contracts, toggling SETTLEMENT prices, etc.).
Draw up to 25 previous Opening Range Gaps, even on ultra-low timeframes like the 1-minute or 1-second chart.
Automatically or manually choose which Opening Range Gaps to hide/show on the chart.
Highly customizable, including a different color scheme to easily distinguish between the Current and Previous RTH Gaps.
Modified price values to correctly display prices that use a format like 109'32 (e.g., Bond Futures or Wheat Futures).
Helpful tooltips to provide more detailed information about the RTH Gaps or about the current Input Settings.
Error Messages
There are some conditions which can cause the script to fail and display an error message (by clicking the red exclamation mark next to the indicator.)
Error messages:
Use a Standard Chart Type : this will occur when using a non-standard chart such as Heikin Ashi, Renko, Point & Figure, etc.
Use a Daily or Lower Timeframe : this error will appear when using a higher timeframe chart like weekly or monthly, because it can clutter the chart since RTH Gaps can form every day.
RTH Gap was not detected : this means that no RTH gap was found, which will occur on markets that don't have the option to toggle between ETH and RTH sessions (e.g., Forex or Crypto).
Exceeded the maximum lookback for Bar Replay mode : when using bar replay mode; this can depend on the amount of historical bars available in different account subscription types.
Unable to Activate Bar Replay mode : if the indicator could not be used in Bar Replay mode.
Restart Bar Replay : if the indicator works in Bar Replay but it detected an error that would cause RTH Gaps to be plotted incorrectly.
This is an example of what a script error would look like.
Indicator Settings
Most settings are self-explanatory or have a tooltip with information on what the setting does, but this section will only briefly cover the available settings.
Extend to End of Day : This setting is enabled by default. It will extend each RTH Gap only up to the end of its day (specifically, to the RTH close of the day). The option can be toggled OFF to automatically extend all RTH Gaps to the right-most candle on the chart.
Previous RTH Gaps : Between 1 and 25 previous RTH Gaps can be displayed. The checkbox can be toggled to quickly hide all previous RTH Gaps (but the same effect would be reached by setting the value to 0).
Hide Current RTH Gap : The Current RTH Gap (most recent one), can be optionally hidden from being plotted.
Beginning Anchor Point : Choose the beginning anchor point for all RTH Gaps. The default is "RTH Close", which means that each gap will be drawn on the chart starting from their previous session's RTH close @ 4:15pm. But it will be a more transparent version of the actual gap; this ghost-like image will extend from 4:15pm all the way up to 9:30am where the gap will then be drawn normally from 9:30am onwards. The other option for this setting is "RTH Open" which means that the gap will be drawn starting from the actual 9:30am opening.
Current RTH Gap Style
These settings are used to customize the visual style of the most recent RTH Gap (also known as the "Current" RTH Gap). Note: the exact same set of settings are available for the Previous RTH Gaps. The text label next to each gap can be optionally hidden to clean the chart a little.
Price Table
These are settings to customize the appearance of the Price Table on the right, including the ability to hide it completely. Note: to actually use the color configurations, you must select "Custom Style" in one of the dropdowns, otherwise it will use "Default Style" which means that the Price Table is automatically styled based on the colors chosen in the Current RTH Gap Style and Previous RTH Gap Style settings.
Overlap Handling
One of 7 available overlap handling options can be used to filter which RTH Gaps are plotted on the chart. By default, the "None" option will be selected, meaning that all valid RTH Gaps are plotted on the chart.
Formatting
Date Format : select the format of the date that is shown next to each RTH Gaps.
Timezone : choose the timezone for the RTH Gap closing/opening date-times that are displayed (only in tooltips when you hover over an RTH Gap label).
RTH Gap Label : choose the details to display next to each gap (e.g., date, or gap number, or both).
Price Format : only two options: Auto/Decimal. "Auto" uses custom processing to allow displaying values such as 109'32 for Bond futures.
Tooltips
The indicator provides additional details about an RTH Gap when you hover over a row in the Price Table.
Note: the same information can be found by hovering over the Text Label that is to the right of each RTH Gap (even when the Text Label is disabled via the Settings).
Overlap Handling
The tooltip next to "Select a Strategy" in the options will provide details on each overlap handling strategy. Additionally, when a strategy is selected, a new row in the Price Table will appear; hovering over that will show details about the currently selected strategy, as well as any suggestions in case the inputs were invalid. When a strategy hides an RTH Gap, the number in the Price Table will be replaced with an "Eye" icon, indicating that it is not currently plotted on the chart.
Available strategies are:
Option 1 (Gradients) : select the percentage opacity to shade RTH Gaps in. The more recent RTH Gaps will be closer to the maximum opacity defined, while the older RTH Gaps will appear more transparent, closer to the minimum opacity defined. Note: only affects previous RTH Gaps, not the current RTH Gap.
Option 2 (Day Extension) : select the number of days to extend each RTH Gap up to. Note: this will override the "Extend to End of Day" setting, regardless whether it is toggled ON or OFF.
Option 3 (Nested Gaps) : hides nested gaps, i.e., RTH Gaps that are enclosed within another RTH Gap. Note: this option is only available when the "Extend to End of Day" setting is disabled .
Option 4 (Intersecting Gaps) : hides intersecting/overlapping gaps, i.e., RTH Gaps that overlap one another (this may also include, but is not limited to, nested gaps). The drop-down next to this option allows choosing the priority of which RTH Gaps to hide first. Note: this option is only available when the "Extend to End of Day" setting is disabled .
Option 5 (Gap Width) : the chart will only show RTH Gaps that have a width/size between the defined parameters.
Option 6 (Close Proximity) : the chart will only show the RTH Gaps that are within a certain range from the market price. This can be useful when plotting multiple RTH Gaps while using auto-scaling on the chart. By only showing nearby RTH Gaps, it will prevent the auto-scaling from having to compress the candles to fit the far-away RTH Gaps onto the screen.
Option 7 (CSV) : this option is used if none of the others suit you well; it allows specifically choosing which RTH Gaps to hide or show on the chart.
This is an example that chooses the Overlap Handling Strategy Option 6. Note that in this example, the tooltip in the price table shows a warning that the Input Number should be increased to plot some RTH Gaps on the chart.
Tips
Chart settings can be toggled to "Scale price chart only" to prevent the auto-scaling of TradingView from compressing the chart if there are RTH Gaps that are far away from the current market action.
If you change a lot of indicator settings such as RTH Gap color schemes, you can save the settings as the Default to prevent your settings from resetting the next time you use the indicator.
ICT New Day Opening GapNew Day Opening Gap
The New Day Opening Gap (NDOG) is defined by The Inner Circle Trader (ICT) as the separation in time/price that is caused by the 1-hour break that occurs each day in the futures market. The opening price of the gap is the very first tick that occurs at the 6:00pm restart; then we look at the 5:00pm closing price of the previous session. This New Day Opening Gap forms every day from Monday to Friday, but it does not include the gap between Friday's close and Sunday's open (because that is instead referred to as a New Week Opening Gap).
This is an example of a New Day Opening Gap (NDOG) for Wednesday, May 22, 2024 in CME_MINI:ES1!
How To Use NDOG
When an NDOG forms, it can be extended into future price action. One way to use these gaps is to look for it to be filled in by price action. Another usage for these gaps is to look for support & resistance to come in at the high and low of these NDOGs (as well as the midpoint).
Disclaimer
This indicator is mainly intended to work for Futures markets, and specifically the following Index Futures markets: E-mini S&P 500 Futures, E-mini NASDAQ-100 Futures, E-mini DOW Futures.
Given that, the indicator still supports various other markets/assets out-of-the-box, such as other types of Futures Markets, Forex markets, Stocks, Options, and more. The main difference will be that other markets may have NDOGs forming at different times, rather than the 5pm-6pm gap that occurs in the Index Futures.
Indicator Features
This indicator is 100% custom-built, not using code from any other existing NDOG plotting indicators. The purpose of this indicator was to overcome many shortcomings from other existing indicators. Therefore, this indicator has many UNIQUE features, such as:
Ability to maintain accuracy of the closing/opening prices even when changing chart settings (e.g., toggling ETH/RTH sessions, toggling BACK-ADJUSTMENT on futures contracts, toggling SETTLEMENT prices, etc.).
Draw up to 25 previous NDOGs, even on ultra-low timeframes like the 1-minute or 1-second chart.
Automatically or manually choose which NDOGs to hide/show on the chart.
Highly customizable, including a different color scheme to easily distinguish between the Current and Previous NDOGs.
Modified price values to correctly display prices that use a format like 109'32 (e.g., Bond Futures or Wheat Futures).
Helpful tooltips to provide more detailed information about the NDOGs or about the current Input Settings.
Error Messages
There are some conditions which can cause the script to fail and display an error message (by clicking the red exclamation mark next to the indicator.)
Error messages:
Use a Standard Chart Type : this will occur when using a non-standard chart such as Heikin Ashi, Renko, Point & Figure, etc.
Use a Daily or Lower Timeframe : this error will appear when using a higher timeframe chart like weekly or monthly, because it can clutter the chart since NDOGs can form every day.
NDOG was not detected : this means that no NDOG was found, for example if the chart did not have enough bars/candles (e.g., some Options markets).
Exceeded the maximum lookback for Bar Replay mode : when using bar replay mode; this can depend on the amount of historical bars available in different account subscription types.
Unable to Activate Bar Replay mode : if the indicator could not be used in Bar Replay mode.
Restart Bar Replay : if the indicator works in Bar Replay but it detected an error that would cause NDOGs to be plotted incorrectly.
NDOG was not detected. Toggle "Error Handling" Option at your own discretion : this is more of a warning message that will appear when the indicator does not detect any actual gap between the days (e.g., Forex markets where it is continuously traded through each day, without any gap forming in between). But the warning can be dismissed by toggling the checkbox at the bottom of the Indicator's Input Settings.
This is an example of what a script error would look like.
Indicator Settings
Most settings are self-explanatory or have a tooltip with information on what the setting does, so this section will only briefly cover the available settings.
The "Extend to End of Week" option is enabled by default, which will extend each NDOG only up to the end of the week that it belongs to. This option can be toggled OFF to automatically extend all NDOGs to the right-most candle on the chart.
Previous NDOGs: Between 1 and 25 previous NDOGs can be displayed. The checkbox can be toggled to quickly hide all previous NDOGs (but the same effect would be reached by setting the value to 0).
Hide Current NDOG: the current NDOG (colored in Green in the example above), can be optionally hidden from being plotted.
These settings are used to customize the visual style of the most recent NDOG (also known as the "Current" NDOG). Note: the exact same set of settings are available for the Previous NDOGs. The text next to each NDOG can be optionally hidden to clean the chart a little.
These are settings to customize the appearance of the Price Table on the right, including the ability to hide it completely.
One of 7 available overlap handling options can be used to filter which NDOGs are plotted on the chart. By default, the "None" option will be selected, meaning that all valid NDOGs are plotted on the chart.
Date Format : select the format of the date that is shown next to each NDOG.
Timezone : choose the timezone for the NDOG closing/opening date-times that are displayed (only in tooltips when you hover over an NDOG label).
NDOG Label : choose the details to display next to each NDOG (e.g., date, or NDOG number, or both).
Price Format : only two options: Auto/Decimal. "Auto" uses custom processing to allow displaying values such as 109'32 for Bond futures.
This option can be toggled to allow displaying NDOGs for markets that may not have an actual gap between days, such as Forex markets, or BTC/USD (which is traded 24/7). Note: this option must be used at your own discretion because the opening/closing times for the NDOGs are not guaranteed to be accurate.
Tooltips
The indicator provides additional details about an NDOG when you hover over a row in the Price Table.
Note: the same information can be found by hovering over the Text Label that is to the right of each NDOG.
Overlap Handling
The tooltip next to "Select a Strategy" in the options will provide details on each overlap handling strategy. Additionally, when a strategy is selected, a new row in the Price Table will appear; hovering over that will show details about the currently selected strategy, as well as any suggestions in case the inputs were invalid. When a strategy hides an NDOG, the number in the Price Table will be replaced with an "Eye" icon, indicating that it is not currently plotted on the chart.
Available strategies are:
Option 1 (Gradients) : select the percentage opacity to shade NDOGs in. The more recent NDOGs will be closer to the maximum opacity defined, while the older NDOGs will appear more transparent, closer to the minimum opacity defined. Note: only affects previous NDOGs, not the current NDOG.
Option 2 (Week Extension) : select the number of weeks to extend each NDOG up to. Note: this will override the "Extend to End of Week" setting, regardless whether it is toggled ON or OFF.
Option 3 (Nested Gaps) : hides nested gaps, i.e., NDOGs that are enclosed within another NDOG. Note: this option is only available when the "Extend to End of Week" setting is disabled .
Option 4 (Intersecting Gaps) : hides intersecting/overlapping gaps, i.e., NDOGs that overlap one another (this may also include, but is not limited to, nested gaps). The drop-down next to this option allows choosing the priority of which NDOGs to hide first. Note: this option is only available when the "Extend to End of Week" setting is disabled .
Option 5 (Gap Width) : the chart will only show NDOGs that have a width between the defined parameters. This can be useful to filter out NDOGs that are deemed "insignificant". For example, the Inner Circle Trader will generally filter out of his analysis any NDOGs that are less than a point (4 ticks) for Index futures.
Option 6 (Close Proximity) : the chart will only show the NDOGs that are within a certain range from the market price. This can be useful when plotting multiple NDOGs while using auto-scaling on the chart. By only showing nearby NDOGs, it will prevent the auto-scaling from having to compress the candles to fit the far-away NDOGs onto the screen.
Option 7 (CSV) : this option is used if none of the others suit you well; it allows specifically choosing which NDOGs to hide or show on the chart.
This is an example that chooses the Overlap Handling Strategy Option 6. Note that in this example, the tooltip in the price table shows a warning that the Input Number should be increased to plot some NDOGs on the chart.
Tips
Chart settings can be toggled to "Scale price chart only" to prevent the auto-scaling of TradingView from compressing the chart if there are NDOGs that are far away from the current market action.
If you change a lot of indicator settings such as NDOG color schemes, you can save the settings as the Default to prevent your settings from resetting the next time you use the indicator.
lib_session_gapsLibrary "lib_session_gaps"
simple lib to calculate the gaps between sessions
time_gap()
calculates the time gap between this and previous session (in case of irregular end of previous session, considering extended sessions)
Returns: the time gap between this and previous session in ms (time - time_close )
bar_gap()
calculates the bars missing between this and previous session (in case of irregular end of previous session, considering extended sessions)
Returns: the bars virtually missing between this and previous session (time gap / bar size in ms)
Gap Finder by DarkoexeThis indicator plots labels that indicate gaps whenever the open price and the previous bar close price have a significant gap.
To determine the size the gap has to be before it is labeled at a specific point in time on the chart. The gap needs to be larger or equal to a factor of an ATR value. For example, if the ATR gap factor is 0.25, the gap between the open and the previous close price must be greater than 0.25*ATR of the ATR length specified for the gap to be plotted on the chart.
Note: If you don't know what the ATR or average true range is, search for "ATR" in indicators. It is one of Trading View's most fundamental indicators.
Precise Gap FinderPrecise Gap Finder
This indicator identifies Fair Value Gaps (FVGs) in price action and it is perfect for traders looking to exploit price imbalances and capitalize on trading opportunities.
How It Works:
The Precise Gap Finder detects Fair Value Gaps by analyzing three consecutive candles. A gap is identified when the middle candle’s price range (open to close) is not overlapped by the high and low prices of the surrounding candles. This indicates a price imbalance, which can be a strong signal for potential market moves.
How to Use for Trading:
Identify Entry Points: Use the highlighted Fair Value Gaps to spot potential entry points. An upward FVG can indicate a potential buying opportunity, while a downward FVG can signal a potential selling opportunity.
Confirm Trends: Combine the FVG signals with other technical indicators to confirm trends and enhance the accuracy of your trades.
Risk Management: Use FVGs to identify potential stop-loss and take-profit levels. Gaps can serve as natural support and resistance levels.
Backtesting: Analyze historical data to understand how FVGs have impacted price movements in the past, helping you refine your trading strategy
ICT New Week Opening GapDisplay the Current New Week Opening Gap (NWOG) on your Futures Market charts.
Disclaimer: this indicator is completely built from scratch, which is why not many features are added yet.
This indicator is 100% UNIQUE in the way that the NWOG remains accurately drawn on the chart, regardless of which chart settings are modified (for example, Settlement-as-Close, RTH/ETH, Back-Adjustment, etc.), unlike other NWOG plotting indicators.
Additionally, the NWOG can be plotted on a large variety of timeframes, from the Weekly chart, all the way down to the 1-second chart.
The NWOG is defined as Friday's closing price (e.g., at 4:59pm New York Time for ES1!) and Sunday's opening price (e.g., at 6:00pm New York Time for ES1!) on a new week.
This indicator draws a Box at these levels and extends it out in time to the most recent bar so that it can be visualized how price reacts to and gyrates around these levels.
Basically, the Box that is drawn on the chart by this indicator can be used as dynamic support & resistance levels. The actual price levels are shown at the top-right of the chart in a small table, for anyone wanting to remove the indicator and draw the levels themselves.
Only the current week's opening price and the previous week's closing price will be drawn on the chart.
The indicator settings are only used to change the visuals such as box colors and text colors/size. The actual calculations are performed as mentioned above and cannot be changed by the Style/Settings Input.
Note: it is recommended to toggle ON the " Scale Price Chart Only " chart option if using auto-scaling on charts because TradingView by default will force indicator drawings to display on the chart area even if an NWOG is far away from the current price action.
This is a bare bones indicator (1st version) that will only draw the current NWOG. Future updates will add support for displaying historical NWOGs.
For support of additional markets or indicator settings/features, please leave a comment on this script.
CME Gap Oscillator [CryptoSea]Introducing the CME Gap Oscillator , a pioneering tool designed to illuminate the significance of market gaps through the lens of the Chicago Mercantile Exchange (CME). By leveraging gap sizes in relation to the Average True Range (ATR), this indicator offers a unique perspective on market dynamics, particularly around the critical weekly close periods.
Key Features
Gap Measurement : At its core, the CME Oscillator quantifies the size of weekend gaps in the context of the market's volatility, using the ATR to standardize this measurement.
Dynamic Levels : Incorporating a dynamic extreme level calculation, the tool adapts to current market conditions, providing real-time insights into significant gap sizes and their implications.
Band Analysis : Through the introduction of upper and lower bands, based on standard deviations, traders can visually assess the oscillator's position relative to typical market ranges.
Enhanced Insights : A built-in table tracks the frequency of the oscillator's breaches beyond these bands within the latest CME week, offering a snapshot of recent market extremities.
Settings & Customisation
ATR-Based Measurement : Choose to measure gap sizes directly or in terms of ATR for a volatility-adjusted view.
Band Period Adjustability : Tailor the oscillator's sensitivity by modifying the band calculation period.
Dynamic Level Multipliers : Adjust the multiplier for dynamic levels to suit your analysis needs.
Visual Preferences : Customise the oscillator, bands, and table visuals, including color schemes and line styles.
In the example below, it demonstrates that the CME will want to return to the 0 value, this would be considered a reset or gap fill.
Application & Strategy
Deploy the CME Oscillator to enhance your market analysis
Market Sentiment : Gauge weekend market sentiment shifts through gap analysis, refining your strategy for the week ahead.
Volatility Insights : Use the oscillator's ATR-based measurements to understand the volatility context of gaps, aiding in risk management.
Trend Identification : Identify potential trend continuations or reversals based on the frequency and magnitude of gaps exceeding dynamic levels.
The CME Oscillator stands out as a strategic tool for traders focusing on gap analysis and volatility assessment. By offering a detailed breakdown of market gaps in relation to volatility, it empowers users with actionable insights, enabling more informed trading decisions across a range of markets and timeframes.
CME Gap Detector [CryptoSea]The CME Gap Indicator , is a tool designed to identify and visualize potential price gaps in the cryptocurrency market, particularly focusing on gaps that occur during the weekend trading sessions. By highlighting these gaps, traders can gain insights into potential market movements and anticipate price behavior.
Key Features
Gap Identification: The indicator identifies gaps in price between the Friday close and the subsequent opening price on Monday. It plots these gaps on the chart, allowing traders to easily visualize and analyze their significance.
Weekend Price Comparison: It compares the closing price on Friday with the opening price on Monday to determine whether a gap exists and its magnitude.
Customizable Visualization: Traders have the option to customize the visualization of the gaps, including the color scheme for better clarity and visibility on the chart.
Neutral Candle Color Option: Users can choose to display neutral candle colors, enhancing the readability of the chart and reducing visual clutter.
How it Works
Data Fetching and Calculation: The indicator fetches the daily close price and calculates whether a gap exists between the Friday close and the subsequent Monday opening price.
Plotting: It plots the current price and the previous Friday's close on the chart, making it easy for traders to compare and analyze.
Gradient Fill: The indicator incorporates a gradient fill feature to visually represent the magnitude of the gap, providing additional insights into market sentiment.
Weekend Line Logic: It includes logic to identify Sunday bars and mark them on the chart, aiding traders in distinguishing weekend trading sessions.
Application
Gap Trading Strategy: Traders can use the identified gaps as potential entry or exit points in their trading strategies, considering the tendency of price to fill gaps over time.
Market Sentiment Analysis: Analyzing the presence and size of weekend gaps can provide valuable insights into market sentiment and participant behavior.
Risk Management: Understanding the existence and significance of gaps can help traders manage their risk exposure and make informed decisions.
The CME Gap indicator offers traders a valuable tool for analyzing weekend price gaps in the cryptocurrency market, empowering them to make informed trading decisions and capitalize on market opportunities.
FVG Breakaway/3rd Candle (Arjo) [MK]Simple script to identify FVGs (Fair Value Gaps) on the current chart timeframe. The script differs from other FVG indicators on the Tradingview platform by using Arjos 3rd candle rule to identify which gaps are 'Breakway Gaps' and which Gaps are likely to be returned to.
NOTE: As with all 'trading rules' this theory is not 100% accurate.
default settings:
Breakaway Gaps = YELLOW
Gaps that price may return to = GREEN
Mitigated Gaps = 100% TRANSPARENT
What is a FVG:
A FVG is a price area defined by a 3 candle pattern. For a bullish FVG, the low of the 3rd candle must be higher than the high of the 1st candle. This then leaves an area that is drawn as in the example below:
A bearish FVG is defined by the high of the 3rd candle being lower than the low of the 1st candle, as shown in the example below:
FVGs can act like magnets where price will either retrace to or reach for, therefore they can be used as entry points and also for take profit target levels.
If for example, a trader would like to use an FVG for an entry, it would be useful to know which FVGs are more likely for price to re-enter and which FVG will be left un-touched. FVGs that are likely to be left un-touched by price are called 'Breakaway Gaps'.
How do we define a 'Breakaway Gap':
First we identify FVGs using the rules stated above, then we look to see where the 3rd candle closed in relation to the 2nd candle. For a bullish 'Breakaway Gap' we want to see the 3rd candle close above the high of the 2nd candle. An example of a bullish Breakaway Gap is shown in the example below:
A bearish 'Breakaway Gap' is defined by the close of the 3rd candle being lower than the low of the 2nd candle. An example is shown below:
How do we define an FVG that price may return to:
Any gap that does not meet the above rules for a 'Breakway Gap' is therefore considered an FVG that price may return to. So for a bullish FVG that price may return to we would look to see if the close of the 3rd candle is above the high of the 2nd candle. If it is not above the high of the 2nd candle then it more likely that price will retrace into the FVG before continuing higher. An example is shown below:
A bearish gap that price may return to is defined by the close of the 3rd candle not being lower than the low of the 2nd candle. An example is shown below:
The indicator is based on the teachings of 'Arjo'. Note: breakaway gaps will only remain 'breakaway' until a liquidity level is reached. Breakaways therefore do not remain 'breakaway' forever. Users of the indicators must fully comprehend this theory before using the indicator with live markets.
Users of the script should be fully aware of this concept and also have conducted thorough backtesting using a large data set before using this indicator with live accounts.
Gap Removal IndicatorThis gap indicator shows the price of your chosen instrument as if no gaps had occurred overnight. It can be especially useful on highly-volatile exchange-listed instruments that track other 24/7 assets, because the normal candlestick chart of these instruments will create a large amount of noise that may decrease the accuracy of your indicators or make the trend harder to see.
Gaps are determined with the following code:
daychange = ta.change(dayofmonth)
gapup = daychange and open > math.max(open,close)
gapdown = daychange and open < math.min(open,close)
Whereas the gap value is determined by taking the overnight difference in prices:
downgap_change = math.min(open,close) - open
upgap_change = open - math.max(open,close)
The gap changes are cumulatively added and subtracted from the initial closing price to create the gap-adjusted price. The price will depend on how many bars your subscription allows, so pay more attention to the relative differences and/or trend than the cumulative gap-adjusted price itself.
The gap indicator comes pre-built with normal candlestick and Heikin-Ashi candle types, and four indicators (two EMAs, Bollinger bands, and a supertrend). All elements are configurable.
Opening Range Gaps [TFO]This indicator displays Opening Range Gaps with an adjustable time window. Its intention is to capture the discrepancy between the close price of previous and new Real Trading Hours (RTH) sessions, i.e. yesterday's close compared to today's open. A gap will be drawn from this area with a solid line denoting its midpoint, and dashed lines denoting the upper and lower quartiles of its range. Its color is determined by whether the new session open price is above or below the previous session close.
The Gap Session parameter allows users to define the specific time window for which to capture the "gap" in price. Using U.S. index futures as an example, we can use 16:00 - 09:30 (EST) to capture the discrepancy between the previous day's close price and the current day's open price. However, this parameter is left as adjustable for users that may want to observe different markets or simply experiment with different time windows.
Show Session Delineations will draw vertical timestamps denoting the start and end times of the provided Gap Session. Track Start Price serves as a visual aid to track the initial price of the Gap Session until its end price is validated, for easy visual verification of a gap's upper and lower bounds. With both options turned off, the indicator will only display the gap boxes and lines, as shown here:
Extend Boxes will draw all gaps with an indefinite extension to the right. This can get messy with a large number of boxes, which is why we have a Keep Last parameter to limit how many sessions' drawings should be stored. Any drawings that were made beyond this number of sessions in the past will automatically be deleted.
The Timeframe Limit will dictate that the indicator as a whole will only draw objects on timeframes less than or equal to this timeframe, determined by the user. In some cases this may help users avoid resolution errors which may arise from using timeframes that are too large for a given session. For example, if a user wanted to track a Gap Session of 16:15-09:30, the Timeframe Limit should be set to 15 minutes because the close price at 16:15 cannot be observed on a 30 minute chart (or greater).
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!