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
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.
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.
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
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!
HTF Fair Value Gap [LuxAlgo]The HTF Fair Value Gap indicator aims to display the exact time/price locations of fair value gaps within a higher user-selected chart timeframe.
🔶 USAGE
The indicator can be used to detect higher time frame fair value gaps. Detected historical HTF FVG are displayed as changes in chart background colors, with a green color indicating a bullish FVG and red a bearish FVG.
The most recent HTF FVG is displayed as a candle to the right of the most recent price candle. Dashed lines indicate the exact location of the FVG upper and lower extremities.
The wicks of the FVG candle indicate the price deviation from the FVG extremities after its formation and can help determine where the FVG is located within a trend.
A "Status" dashboard is included to indicate if the FVG is mitigated or not. This is also indicated by the border of the FVG candle, with a solid border indicating an unmitigated FVG.
🔶 SETTINGS
Timeframe: Chart timeframe used to retrieve the fair value gaps
🔹 Style
Offset: Offset to the right (in bars) of the FVG candle from the most recent bar.
Width: Width (in bars) of the FVG candle.
🔹 Dashboard
Show Dashboard: Determine whether to display the dashboard or not.
Location: Location of the dashboard on the chart.
Size: Size of the dashboard on the chart.
Opening Range Gap + Std Dev [starclique]The ICT Opening Range Gap is a concept taught by Inner Circle Trader and is discussed in the videos: 'One Trading Setup For Life' and 2023 ICT Mentorship - Opening Range Gap Repricing Macro
ORGs, or Opening Range Gaps, are gaps that form only on the Regular Trading Hours chart.
The Regular Trading Hours gap occurs between 16:15 PM - 9:29 AM EST (UTC-4)
These times are considered overnight trading, so it is useful to filter the PA (price action) formed there.
The RTH option is only available for futures contracts and continuous futures from CME Group.
To change your chart to RTH, first things first, make sure you’re looking at a futures contract for an asset class, then on the bottom right of your chart, you’ll see ETH (by default) - Click on that, and change it to RTH.
Now your charts are filtering the price action that happened overnight.
To draw out your gap, use the Close of the 4:14 PM candle and the open of the 9:30 AM candle.
How is this concept useful?
Well, It can be used in many ways.
---
How To Use The ORG
One of the ways you can use the opening range gap is simply as support and resistance
If we extend out the ORG from the example above, we can see that there is a clean retest of the opening range gap high after breaking structure to the upside and showing acceptance outside of the gap after consolidating within it.
The ORG High (4:14 Candle Close in this case) was used as support.
We then see an expansion to the upside.
Another way to implement the ORG is by using it as a draw on liquidity (magnet for price)
In this example, if we looked to the left, there was a huge ORG to the downside, leaving a massive gap.
The market will want to rebalance that gap during the regular trading hours.
The market rallies higher, rejects, comes down to clear the current days ORG low, then closes.
That is one example of how you can combine liquidity & ICT market structure concepts with Opening Range Gaps to create a story in the charts.
Now let’s discuss standard deviations.
---
Standard Deviations
Standard Deviations are essentially projection levels for ranges / POIs (Point of Interests)
By this I mean, if you have a range, and you would like to see where it could potentially expand to, you’d place your fibonacci retracement tool on and high and low of the range, then use extension levels to find specific price points where price might reject from.
Since 0 and 1 are your Range High and Low respectively, your projection levels would be something like 1.5, 2, 2.5, and 3, for the extension from your 1 Fib Level, and -0.5, -1, -1.5, and -2 for your 0 Fib level.
The -1 and 2 level produce a 1:1 projection of your range low and high, meaning, if you expect price to expand as much as it did from the range low to range high, then you can project a -1 and 2 on your Fib, and it would show you what ICT calls “symmetrical price”
Now, how are standard deviations relevant here?
Well, if you’ve been paying attention to ICT’s recent videos, you would’ve caught that he’s recently started using Standard Deviation levels on breakers.
So my brain got going while watching his video on ORGs, and I decided to place the fib on the ORG high and low and see what it’d produce.
The results were very interesting.
Using this same example, if we place our fib on the ORG High and Low, and add some projection levels, we can see that we rejected right at the -2 Standard Deviation Level.
---
You can see that I also marked out the EQ (Equilibrium, 50%, 0.5 of Fib) of the ORG. This is because we can use this level as a take profit level if we’re using an old ORG as our draw.
In days like these, where the gap formed was within a consolidation, and it continued to consolidate within the ORG zone that we extended, we can use the EQ in the same way we’d use an EQ for a range.
If it’s showing acceptance above the EQ, we are bullish, and expect the high of the ORG to be tapped, and vice versa.
---
Using The Indicator
Here’s where our indicator comes in play.
To avoid having to do all this work of zooming in and marking out the close and open of the respective ORG candles, we created the Opening Range Gap + Standard Deviations Indicator, with the help of our dedicated Star Clique coder, a1tmaniac.
With the ORG + STD DEV indicator, you will be able to view ORG’s and their projections on the ETH (Electronic Trading Hours) chart.
---
Features
Range Box
- Change the color of your Opening Range Gap to your liking
- Enable or disable the box from appearing using the checkbox
Range Midline
- Change the color of your Opening Range Gap Equilibrium
- Enable or disable the midline from appearing using the checkbox
Std. Dev
- Add whichever standard deviation levels you’d like.
- By default, the indicator comes with 0.5, 1, 1.5, and 2 standard deviation levels.
- Ensure that you add a comma ( , ) in between each standard deviation level
- Enable or disable the standard deviations from appearing using the opacity of the color (change to 0%)
Labels / Offset
- Adjust the offset of the label for the Standard Deviations
- Enable or disable the Labels from appearing using the checkbox
Time
- Adjust the time used for the indicators range
- If you’d like to use this for a Session or ICT Killzone instead, adjust the time
- Adjust the timezone used for the time referenced
- Options are UTC, US (UTC-4, New York Local Time) or UK (UTC+1, London Time)
- By default, the indicator is set to US
Displacement (Two FVGs)A simple indicator that attempts to identify displacement in price by alerting you when two simultaneous Fair Value Gaps (FVGs) occur.
When two fair value gaps occur, the indicator will print a green bar (if bullish) or a red bar (if bearish). If you right click on the indicator you can turn on alerts that will pop up every time a dual FVG occurs.
Fair Value Gaps are most commonly used amongst price action traders and are defined as instances in which there are inefficiencies, or imbalances, in the market.
The concept for this indicator is very simple. Apply it to your chart and enable alerts on the instruments and timeframe you trade. When you get an alert, it could indicate larger players getting involved.
This is NOT a trading strategy. Its intention is to save time by alerting you to large imbalances in price on the instruments you trade.
Yesterday’s High Breakout - Trend Following StrategyYesterday’s High Breakout it is a trading system based on the analysis of yesterday's highs, it works in trend-following mode therefore it opens a long position at the breakout of yesterday's highs even if they occur several times in one day.
There are several methods for exiting a trade, each with its own unique strategy. The first method involves setting Take-Profit and Stop-Loss percentages, while the second utilizes a trailing-stop with a specified offset value. The third method calls for a conditional exit when the candle closes below a reference EMA.
Additionally, operational filters can be applied based on the volatility of the currency pair, such as calculating the percentage change from the opening or incorporating a gap to the previous day's high levels. These filters help to anticipate or delay entry into the market, mitigating the risk of false breakouts.
In the specific case of NULS, a 9% Take-Profit and a 3% Stop-Loss were set, with an activated trailing-stop percentage. To postpone entry and avoid false breakouts, a 1% gap was added to the price of yesterday's highs.
Name : Yesterday's High Breakout - Trend Follower Strategy
Author : @tumiza999
Category : Trend Follower, Breakout of Yesterday's High.
Operating mode : Spot or Futures (only long).
Trade duration : Intraday.
Timeframe : 30M, 1H, 2H, 4H
Market : Crypto
Suggested usage : Short-term trading, when the market is in trend and it is showing high volatility.
Entry : When there is a breakout of Yesterday's High.
Exit : Profit target or Trailing stop, Stop loss or Crossunder EMA.
Configuration :
- Gap to anticipate or postpone the entry before or after the identified level
- Rate of Change for Entry Condition
- Take Profit, Stop Loss and Trailing Stop
- EMA length
Backtesting :
⁃ Exchange: BINANCE
⁃ Pair: NULSUSDT
⁃ Timeframe: 2H
⁃ Fee: 0.075%
⁃ Slippage: 1
- Initial Capital: 10000 USDT
- Position sizing: 10% of Equity
- Start : 2018-07-26 (Out Of Sample from 2022-12-23)
- Bar magnifier: on
Credits : LucF for Pine Coders (f_security function to avoid repainting using security)
Disclaimer : Risk Management is crucial, so adjust stop loss to your comfort level. A tight stop loss can help minimise potential losses. Use at your own risk.
How you or we can improve? Source code is open so share your ideas!
Leave a comment and smash the boost button!
Thanks for your attention, happy to support the TradingView community.
TradeBee Percent Gap AlertA simple script to enable adding a trigger when a stock reaches 'X' percent, the 'X' can be configured.
The script also displays current tickers gap %, this is particularly helpful when you have 2 or more panels on a chart
NSDT Fair Value GapThis script is our version of the "Fair Value Gap".
A Fair Value Gap is nothing more than a series of 3 candles with a gap between a candle high/low and a candle high/low two candles prior.
For example:
A Gap Up - the Low of a candle is higher than the High of two candles back.
A Gap Down - the High of a candle is lower than the Low of two candles back.
Typically, on a Gap Up, the trader would wait for the price to re-enter the Gap, and take a Long position.
Typically, on a Gap Down, the trader would wait for the price to re-enter the Gap, and take a Short position.
We found that simply trading through the Gaps (fill the gap) produced a better result. So we reversed the procedure and the colors to show our suggested direction.
We have added inputs so the trader can determine the size of the Gaps to be plotted on the chart. A minimum and maximum can be set.
The number of Gaps to be displayed can be adjusted.
There is a option to remove Gaps that had been filled, to help keep a clean chart.