Forex indicator By petran Elevate your market analysis with this powerful, all-in-one visual toolkit designed for discretionary traders across Forex, indices, and commodities (metals).
Core Features:
Trading Sessions Overlay: Clear visual bands highlighting the Asian, London, and New York trading sessions directly on your chart. Never miss a market open or a session overlap again.
Smart Daily Levels: Automatically plots the most essential reference points from the previous day:
PDH / PDL (Previous Day High/Low) – Key support and resistance.
PWH / PWL (Previous Week High/Low) – Higher timeframe context.
DO (Day Open) – A crucial intraday pivot level.
Motivational Watermark: A unique and customizable text overlay at the top of your screen. Display your favorite trading quote, rule, or reminder to maintain the right mindset during the trading day.
Clean & Customizable: Designed for clarity. Adjust colors, session times, and watermark text to fit your personal trading style and chart aesthetics.
Why Traders Choose This Indicator:
Saves Time: No more manually drawing sessions or calculating yesterday's levels.
Improves Discipline: The visual sessions and watermark help you trade only during your planned times and follow your rules.
Universal Application: Works seamlessly on any liquid market where session activity and daily ranges matter.
Perfect for traders who rely on price action, session-based strategies, and need a clean, informative chart environment.
Pesquisar nos scripts por "纳斯达克期货cfd"
Candlewick Detector Heinken AshiTrend reversal detector based on no-wick candle analysis at the opening side. Identifies momentum shifts by marking the first reversal candle after a bullish or bearish sequence. The indicator scans up to 5 candles after a color change to detect the first candle without wick on the opening side (red candle with no upper wick or green candle with no lower wick). Clear visual signals with colored triangles. Fully customizable parameters including minimum sequence length, body size percentage, wick tolerance, and lookback period to adapt to all trading styles.
DWM HLOC, Mid & WicksSimple, yet effective.
1. Automatically calculate and projects key price levels from a previous period (Yesterday, OR Last Week / Month) onto the current trading session. It acts as an immediate Support & Resistance map based on historical price action.
2. Multi-Timeframe Logic
Modes --
Daily Mode: Projects yesterday's data onto today.
Weekly Mode: Projects last week's data onto the current week.
3. Key Levels Visualized The script calculates seven distinct price levels:
OHLC: Previous Open, High, Low, and Close.
Equilibrium (Mid): The exact 50% mark between the previous High and Low.
Wick Midpoints (New):
Upper Wick 50%: The midpoint between the High and the top of the body.
Lower Wick 50%: The midpoint between the Low and the bottom of the body.
4. Smart "Gap" Visualization The script uses unique starting points to help traders visualize market gaps:
Standard Levels (High, Low, Open, Mids): These lines originate from the Previous Period's Open, showing the full context of the level relative to time.
Close Level: This line originates from the Current Period's Open. This visually highlights the "Gap" (the jump in price between where the market closed previously and where it opened today).
5. Full Customization
Aesthetics: Every line can be individually toggled on/off.
Styling: Users can independently change the color, line style (Solid, Dotted, Dashed), and thickness for every specific level.
MACD Momentum Structure & Volume Profile Sniper [MTF]**Description and Methodology**
This script offers a unique approach to Market Structure by moving away from traditional fractal-based highs and lows (which can be noisy). Instead, it utilizes **MACD Momentum Swings** to identify significant structural points, combined with an automated Fixed Range Volume Profile to pinpoint high-probability entry zones.
**1. Why MACD Structure? (The Core Concept)**
Traditional "ZigZag" or Fractal indicators rely solely on price action, often leading to fake-outs during low-volume consolidation.
* This script defines a "Swing High" only when the MACD Histogram crosses below zero (Momentum shifts Bearish).
* This script defines a "Swing Low" only when MACD crosses above zero (Momentum shifts Bullish).
By linking structure to momentum, we filter out weak price movements and focus on the true "heartbeat" of the trend.
**2. The "Mashup" Synergy: Structure + Volume + Logic**
This is not a random combination of indicators. Each component serves a specific step in the trading execution sequence:
* **Step 1 (Structure):** The script identifies a Change of Character (CHoCH) based on the MACD peaks described above.
* **Step 2 (Liquidity/Value):** When a CHoCH occurs, the script *automatically* draws a **Fixed Range Volume Profile (FRVP)** specifically covering the impulse leg that caused the break. This reveals the "Point of Control" (POC)—the hidden price level where the most volume occurred during the move.
* **Step 3 (The Sniper Entry):** The script creates a "Zone" around that POC. It then waits for Price to retrace into this zone.
* **Step 4 (Confirmation):** Once the zone is touched, the script monitors a lower timeframe (User selectable, default M1) for a fresh MACD crossover to trigger the final entry signal.
**Features**
* **Multi-Timeframe Dashboard:** Monitor the MACD Trend direction across 4 different timeframes simultaneously.
* **Dynamic Trendlines:** Automatically connects confirmed MACD peaks to visualize trend integrity.
* **Fibo Time Zones:** Projects potential future pivot points based on the duration of the previous swing.
* **Alert System:** Integrated alerts for Zone Touches and "Sniper" entries (Zone Touch + LTF Momentum Confirmation).
**How to Use**
1. **Identify Trend:** Look for the CHoCH labels. Green indicates a shift to Bullish, Red to Bearish.
2. **Wait for Pullback:** Do not chase the break. Wait for price to return to the Yellow POC Zone generated by the Volume Profile.
3. **Entry Trigger:** Watch for the "BUY" or "SELL" marks. These appear only when price hits the zone AND the lower-timeframe momentum aligns with the trade direction.
**Settings & Inputs**
* **Global MACD:** Adjust the sensitivity of the swing detection (Default 12, 26, 9).
* **Sniper Entry:** Select the timeframe used for the final confirmation (e.g., use M1 confirmation for an H1 chart structure).
* **VP Settings:** Customize how the Volume Profile looks on the chart.
*Disclaimer: This script is intended for educational purposes and market analysis. It does not provide financial advice.*
Candle Points (Based on High/Low)Places a dot on the candle at the 25% 50% and 75% mark.
Candle body opacity needs to reduced to see the dots when then are within the candle body.
複合ガチイカ🦑🦑🦑 日本語説明は英文の後ーーーーーーーーーーーーーーー
🦑 Composite Gachi Squid Indicator – A fun and intuitive trading overlay combining SuperTrend, ATR, and RSI.
Body color shows trend direction and strength.
Tentacles visualize volatility.
Eyes indicate overbought/oversold conditions.
🦑↑ / 🦑↓ marks provide clear entry signals.
Perfect for visual traders who want both style and actionable insights.
日本語説明-------------------------------------------------------------
🦑 複合ガチイカ・インジケーター – SuperTrend、ATR、RSI を組み合わせた遊び心と実用性を両立したチャートオーバーレイ。
イカの体の色でトレンドの方向と強さを表示
触手でボラティリティを可視化
目で買われすぎ・売られすぎを表示
🦑↑ / 🦑↓ が分かりやすいエントリーシグナル
見た目も楽しく、トレード判断にも使えるインジケーターです。
Dynamic `request` demoPublish a new script-This should help people to make better analysis of the market
XAU Macro Regime + Mispricing OscillatorThis indicator is designed to measure the true macro environment behind gold (XAUUSD) and identify when price is aligned with macro flows or mispriced relative to them.
It combines a macro composite index, a mispricing spread oscillator, and automatic divergence detection into one tool.
1. Macro Composite Index (Regime Filter)
The top layer of the indicator constructs a macro regime score derived from:
A basket of gold FX pairs (XAUJPY, XAUAUD, XAUCHF, XAUNZD, XAUSGD)
The inverted DXY (to represent USD pressure on gold)
US30 (to capture global risk appetite and macro sentiment)
Each component is normalized and weighted, then combined into a composite macro index.
A smoothed baseline (SMA) is subtracted from this composite to form the Regime Line.
Interpretation
Regime > 0 (Green background):
Macro environment is supportive for gold.
XAUUSD is more likely to rise, consolidate, or mean revert upward.
Regime < 0 (Red background):
Macro environment is hostile for gold.
XAUUSD is more likely to fall, struggle, or mean revert downward.
This creates a macro trend filter that tells you when it is safer to prefer longs, shorts, or stay out.
2. Mispricing Spread Oscillator (Spread MACD)
The second layer measures the difference between XAUUSD and the macro composite index:
Spread = (Macro Composite) – (Normalized XAUUSD)
This spread is then smoothed into a signal line, and a histogram is plotted from their difference (MACD-style).
Interpretation
Spread > 0:
Gold is undervalued relative to macro conditions.
Macro strength > price strength.
Spread < 0:
Gold is overvalued relative to macro conditions.
Price strength > macro strength.
Spread crossing above signal:
Macro momentum turning bullish relative to price.
Spread crossing below signal:
Macro momentum turning bearish relative to price.
Green histogram: acceleration upward
Red histogram: acceleration downward
This oscillator captures mispricing, momentum shifts, and macro-pressure reversals.
3. Automatic Divergence Detection
The indicator automatically detects:
-Bullish Divergence-
XAUUSD makes a lower low
Spread makes a higher low
→ Price is weaker than macro reality → potential bullish reversal or mispricing reversion.
-Bearish Divergence-
XAUUSD makes a higher high
Spread makes a lower high
→ Price is stronger than macro reality → potential bearish reversal or exhaustion.
Labels (“Bull div” / “Bear div”) appear directly on the oscillator for clarity.
4. What The Indicator Seeks To Do
This indicator aims to answer the question:
“Is gold moving with the true macro pressure behind it, or diverging from it?”
Most gold indicators only watch XAUUSD price.
This one watches:
-gold cross-currency flows
-USD strength
-global risk sentiment
-gold’s relative position vs macro
-mispricing momentum
-divergence between price and macro reality
This creates a unique tool that:
-Detects when gold is overextended
-Detects when gold is undervalued
-Reveals hidden macro strength or weakness
-Highlights turning points and exhaustion
-Shows when a pullback is likely to end
-Shows when a rally is likely to fail
-Gives regime-aware trade direction (long vs short bias)
-Adds divergence labels for precision entries
HL/LH Confirmation Strategy (Clean Market Structure)🚦 HL/LH Confirmation Strategy (Clean Market Structure)
This indicator is specifically designed to help traders identify a clean market structure by tracking the formation of Higher Lows (HL) and Lower Highs (LH). Rather than chasing new price extremes (new Highs or new Lows), the focus is on waiting for trend strength confirmation before considering an entry.
Key Strategy: Waiting for Trend Confirmation 💡
The core advantage of this indicator lies in its confirmation strategy:
For Uptrends (Bullish): The indicator doesn't signal just any low, but only when it detects a Higher Low (HL)—a low that is higher than the previous low. This is a crucial sign that the market has defended a level and is ready to continue moving up. This approach helps avoid chasing new lows and encourages entering trades after confirmation.
For Downtrends (Bearish): Similarly, the indicator looks for the formation of a Lower High (LH)—a high that is lower than the previous high. This suggests that buyers failed to breach the last resistance, signaling a potential continuation of the downside movement.
The indicator alternates between looking for an HL, then an LH, then an HL, visually mapping the Pivot swings and highlighting the moment of trend confirmation for potential trade entries.
Indicator Features ✨
Clear Structure Display: By drawing connecting lines between valid HL and LH points, the indicator visually maps the current market structure.
Pivot Detection: It uses an effective method for Pivot detection, with the sensitivity adjustable via the "Pivot Left" and "Pivot Right" parameters.
Custom Label Placement (Crucial Detail):
HL Label: Placed below the candle for better visual clarity of the bullish support area.
LH Label: Placed above the candle for better visual clarity of the bearish resistance area.
Customizable Colors: Full control over the background and text colors for HL and LH signals, as well as the thickness and color of the connecting lines between Pivot points.
⚙️ Input Parameters
Pivot Settings
Pivot Left / Pivot Right: Determine the number of bars to the left and right that must have lower/higher prices for a point to be declared a valid Pivot (Pivot High or Pivot Low). Increase these values to detect more significant, longer-term swings.
Signal Colors
HL Background/Text Color: Colors for the background and text of the Higher Low (HL) labels.
LH Background/Text Color: Colors for the background and text of the Lower High (LH) labels.
Line Settings
Line Color / Line Width: Allows customization of the appearance of the line connecting the detected HL and LH points.
Recommended Use
This indicator is ideal for traders practicing Price Action and strategies based on Market Structure. Use the HL signals as potential zones for long entries (buying) in an uptrend, and LH signals as zones for short entries (selling) in a downtrend, always after the point formation is confirmed.
SPY Overlay on ES/SPXEnhanced version of @ptgambler's for drawing SPY levels over ES/SPX.
lines/labels are configurable. The levels updates only when ES/SPX price moves by two dollars. That reduces jitter, and makes the code efficient.
bebekoh oscillator this oscillator is only to be used for confluences. do not use this oscillator alone as it is not reliable for some time.
Sugarol Strategythis strategy is only use for friends indicator purposes. it is not recommended to use for trading as it has a small winning percentage
GENESIS DHANUS A clean, non-repainting trend-following signal indicator.
Buy signals appear when:
• Fast EMA (9) crosses above Slow EMA (21)
• RSI > 50 (bullish momentum)
• Previous bar volume > 1.5× 20-period average
• Price is above the current Heikin-Ashi "trend level"
Sell signals use the exact opposite conditions.
All conditions use confirmed data only (no future leak, no repainting).
Perfect for swing trading and alert setups on any timeframe.
Features:
- Large clear arrows with text
- Optional light background coloring
- Precise alert conditions
- EMA lines can be toggled
100% Pine Script v5 – open source and free.
sugarol sa goldthis indicator is only for those who have itchy hands who cannot wait for the zone. so, if you see the buy or sell indicator just press the buy and sell button and wait for your luck.
FRAN CRASH PLAY RULESPurpose
It creates a fixed information panel in the top right corner of your chart that shows the "FRAN CRASH PLAY RULES" - a checklist of criteria for identifying potential crash play setups.
Key Features
Display Panel:
Shows 5 trading rules as bullet points
Permanently visible in the top right corner
Stays fixed while you scroll or zoom the chart
Current Rules Displayed:
DYNAMIC 3 TO 5 LEG RUN
NEAR VERTICAL ACCELERATION
FINAL BAR OF THE RUN UP MUST BE THE BIGGEST
3 FINGER SPREAD / DUAL SPACE
ATLEAST 2 OF 5 CRITERIA NEEDS TO HIT
Customization Options:
Editable Text - Change any of the 5 rules through the settings
Text Color - Adjust the color of the text
Text Size - Choose from tiny, small, normal, large, or huge
Background Color - Customize the panel background and transparency
Frame Color - Change the border color
Show/Hide Frame - Toggle the border on or off
Use Case
This indicator serves as a constant visual reminder of your trading strategy criteria, helping you stay disciplined and only take trades that meet your specific crash play requirements. It's essentially a "cheat sheet" that lives on your chart so you don't have to memorize or look elsewhere for your trading rules.
FRAN CRASH PLAY RULESA script with purely descriptive nature is one that:
• Only describes actions, settings, characters, and events.
• Contains no dialogue, commands, or instructions for execution.
• Does not specify plot decisions, logic, or interactive elements.
• Reads like a detailed narrative blueprint, focusing on what exists or happens rather than what anyone should do.
Smart Money Setup 08 [TradingFinder] Binary Options Gold Scalper🔵 Introduction
In the Smart Money methodology, the market is understood as a structure driven by liquidity flow. This structure forms through the movement of large orders, the accumulation of liquidity, and the reactions that occur around key price zones. The logic of Smart Money is based on the idea that price movement is not random and usually evolves with the intention of collecting liquidity and creating price inefficiencies known as imbalances.
Within this framework, several important stages including the liquidity sweep, the formation of a point of interest, the appearance of an imbalance and the transition of market structure play major roles and collectively define the broader direction of price.
In many bullish scenarios, the market begins by sweeping sell side liquidity and targeting important lows in order to collect the liquidity resting below them. This liquidity collection often becomes the starting point for creating a point of interest which usually marks the area where Smart Money begins to enter the market.
After price moves away from this point, it breaks a structural high and forms a change of character. This shift marks a transition in the balance of power between buyers and sellers and is considered the first clear signal that the market structure is changing.
After the change of character, new institutional order flow often creates a strong and rapid movement that leaves behind an imbalance. This imbalance is one of the most important elements in Smart Money analysis because price tends to return to this area in order to complete structure and restore balance.
The return into the imbalance becomes meaningful when it occurs together with the liquidity sweep, the presence of a validated point of interest and a confirmed structural transition. These conditions frequently mark the beginning of powerful movements within the Smart Money cycle.
Understanding the sequence of liquidity, point of interest, imbalance, change of character and market structure builds the foundation of Smart Money analysis and provides a clear view of the true direction of institutional strength.
Bullish Setup :
Bearish Setup :
🔵 How to Use
To use this framework effectively, the trader must analyze the market through the principles of Smart Money and observe how liquidity drives price. A trade becomes valid only when several essential components appear together in a clear and consistent order.
These components include the liquidity sweep, the formation of a point of interest, the confirmation of a change of character, the transition of market structure and the return of price into an imbalance. The method is built on the understanding that the market first collects liquidity, then shifts order flow and finally provides an entry opportunity inside an inefficient area or inside a point of interest.
For this reason, the trader must follow the path of liquidity from the moment the sweep occurs, through the point of interest and the change of character and finally into the return of price toward the imbalance. When applied correctly, this approach creates entries that are more precise, more structural and more aligned with the real behavior of the market rather than with superficial signals.
🟣 Long Position
A bullish setup in Smart Money structure begins with a liquidity sweep on the sell side. The market first targets the areas where sell side liquidity is located and collects the stops and resting liquidity under previous lows. This collection is the condition that Smart Money requires to begin creating a new order flow. After this liquidity has been taken, a point of interest forms which is usually the last bearish candle or the effective demand zone that initiated the upward movement.
Price then moves away from the point of interest and breaks a structural high which creates a change of character. This event confirms that the market structure has moved from a bearish state to a bullish one and that buying pressure has taken control of the order flow. Following this shift, a strong upward movement often occurs and creates an imbalance between candles. This imbalance reflects the entrance of strong Smart Money orders and is seen as an important confirmation of bullish strength.
When price returns to this imbalance after the displacement, the market enters a phase where Smart Money aims to complete the corrective movement and continue the upward direction. The reaction inside the imbalance when combined with the liquidity sweep, the confirmed point of interest and the change of character completes the bullish setup and forms a structure that often leads to a continuation of the bullish trend.
🟣 Short Position
A bearish setup follows the same Smart Money logic but in the opposite direction. The market begins by collecting buy side liquidity and targets the highs where buy side liquidity and resting stops are located. This liquidity sweep on the buy side becomes the starting phase for Smart Money to initiate a downward order flow. After the liquidity is collected, a bearish point of interest forms which is usually the last bullish candle or the supply zone that created the initial drop.
Price then moves away from this point and breaks the first structural low. This creates a change of character to the downside which confirms that the market structure has transitioned from bullish to bearish and that selling pressure has gained control. After this shift, a strong downward displacement appears and leaves behind a bearish imbalance that clearly shows the dominance of sellers.
As price returns to this imbalance and corrects the inefficient movement, the bearish setup becomes complete as long as the market structure remains bearish. The combination of the buy side liquidity sweep, the bearish point of interest, the change of character, the imbalance and the corrective return creates the ideal structure that Smart Money uses to continue the downward movement and develop a reliable selling opportunity.
🔵 Settings
🟣 Logic Settings
Pivot Period : Defines how many bars are analyzed to identify swing highs and lows. Higher values detect larger, slower structures, while lower values respond to faster patterns. The default value of 5 offers a balanced sensitivity.
🟣 Alert Settings
Alert : Enables alerts for SMS08.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Smart Money approach demonstrates that price movement is not random or based on surface level patterns. Instead, it develops through a clear cycle of liquidity collection, structural transition and corrective movement toward key price zones. By recognizing events such as the liquidity sweep, the formation of the point of interest, the change of character and the return into the imbalance, the trader gains the ability to understand order flow more accurately and identify the true direction of market structure.
Both bullish and bearish setups show that the alignment of these elements creates a transparent view of institutional behavior and reveals the source of strong movements in the market. When the trader correctly identifies this sequence, entry points become more reliable and more aligned with liquidity flow. The combination of liquidity, structure and imbalance provides a consistent framework that removes guesswork and guides decisions through the real logic of the market.
Smart Money Concepts [Modern Neon V2]This is a visually overhauled version of the popular Smart Money Concepts (SMC) indicator, designed specifically for traders who prefer Dark Mode, High Contrast, and Maximum Visibility.
While the underlying logic preserves the robust structure detection of the original LuxAlgo script, the visual presentation has been completely modernized. The default "dull" colors have been replaced with a vibrant Cyberpunk Neon palette, and text labels have been significantly upscaled to ensure market structure is readable at a glance, even on high-resolution monitors.
🎨 Visual & Style Enhancements:
Neon Palette:
Bullish: Electric Cyan (#00F5FF)
Bearish: Neon Hot Pink (#FF007F)
Neutral/Levels: Bright Gold (#FFD700)
High Visibility Text: Market Structure labels (BOS, CHoCH, HH/LL) have been upgraded from "Tiny" to Normal size. Key Swing Points (Strong High/Low) are set to Large.
Modern "Solid" Blocks: Order Blocks and FVGs feature reduced transparency (60%) for a bolder, solid look that doesn't get washed out on dark backgrounds.
Decluttered: Removed unnecessary "Small" elements and dotted lines to focus on price action.
🛠 Key Features:
Real-Time Structure: Automatic detection of Internal and Swing structure (BOS & CHoCH) with trend coloring.
Order Blocks: Highlights Bullish and Bearish Order Blocks with new mitigation logic.
Fair Value Gaps (FVG): Auto-threshold detection for high-probability gaps.
Premium & Discount Zones: Automatically plots equilibrium zones for better entry targeting.
Multi-Timeframe Levels: Display Daily, Weekly, and Monthly highs/lows.
Trend Dashboard: (If you added the dashboard code) A clean panel displaying the current Internal and Swing trend bias.
CREDITS & LICENSE: This script is a modification of the "Smart Money Concepts " indicator.
Original Author: © LuxAlgo
License: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org
Traders edge indicator1Trend Confirmation: The primary trend is determined by the alignment of the long-term EMAs (e.g., 100 and 200). The trade direction should align with this overall trend.
Entry/Exit Signals: Shorter EMAs (e.g., 9 or 20) are used for high-probability entry points. Pullbacks to these faster EMAs within the context of a strong trend are common entry signals.
Dynamic Support and Resistance: The various EMAs and the VWAP line often act as magnetic levels where price tends to pause, reverse, or consolidate.
VWAP as Mean Reversion Target: In a volatile market, if the price moves significantly away from the VWAP, it may be considered "overextended," and a mean-reversion move back towards the VWAP is often anticipated.
Manual Pivot Plotter//================================================================================
//📌 Manual Pivot Plotter (P, R1–R3, S1–S3)
//📈 Pine Script v6
//
//This script allows the user to manually input Pivot levels (P), Resistance levels
//(R1, R2, R3), and Support levels (S1, S2, S3). Each line starts at the beginning
//of the new trading day (detected at 00:00 UTC+8) and extends only a limited
//distance into the future (default: 3 bars).
//
//Features:
//✔ Manual pivot, support, and resistance level inputs
//✔ Lines refresh automatically at each new day (00:00 UTC+8)
//✔ Lines extend only a few bars ahead (not full chart)
//✔ Clean label placement slightly below line and near line end
//✔ No repainting, memory-safe line handling
//✔ Smooth intraday updates when values are edited
//
//This tool is ideal for traders who manually calculate or import pivot levels and
//prefer clean, minimal, non-intrusive visual levels on the chart.
//================================================================================
我的脚本study(title="EMA 6/13/24/52/104", overlay=true)
shortest = ema(close, 6)
short = ema(close, 13)
longer = ema(close, 24)
longest = ema(close, 52)
hoog = ema(close, 104)
plot(shortest, color = red)
plot(short, color = orange)
plot(longer, color = aqua)
plot(longest, color = blue)
plot(hoog, color = black
Pure FVG [Textbook]1. The Core Concept
This is not a standard "show all gaps" indicator. It is a specific entry signal generator based on Smart Money Concepts (SMC).
It focuses on Consequent Encroachment (The 50% Level). The underlying principle is that a Fair Value Gap (FVG) represents a market inefficiency where opposing traders are trapped. When price retraces at least 50% back into this gap, it creates pressure as these trapped positions look to exit—either through stop-losses or position reversal. This makes the gap most likely to act as a reversal zone.
2. How It Works (The Lifecycle)
The indicator logic follows a strict sequence of events. A signal is generated only if all conditions are met in order:
-- Phase 1: Identification (The Fresh Gap)
The script scans for the classic 3-candle FVG pattern (where the 1st and 3rd candles do not overlap).
Visual: It draws a box (Green for Bullish, Red for Bearish) extending to the right.
The 50% Line: A dashed line is drawn through the center of the gap.
-- Phase 2: Mitigation (The Gray Zone)
This is the critical filter. The indicator waits for a candle to CLOSE past the 50% dashed line.
Once this happens, the gap is considered "Deeply Mitigated."
Visual: The box changes color to Gray. This tells the trader: "Price is deep in the zone, watch for a reaction."
-- Phase 3: The Signal (Rejection)
Once the box is Gray, the script watches for a "Rejection Candle."
Bullish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close higher than it opened (a green candle).
Bearish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close lower than it opened (a red candle).
Visual: A Triangle Label (▲ or ▼) appears, signaling an entry.
-- Phase 4: Invalidation
If the price closes completely past the far edge of the box (the Stop Loss level), the box is deleted immediately.
3. Key Options
These are the most important settings for the user:
-- Min Gap Size (%):
Filters out "noise." It ensures the script ignores tiny, insignificant gaps that are less than X% in height.
-- Max Visible Gaps:
Keeps your chart clean. It limits how many open boxes can be on the screen at once (e.g., only show the last 3 unclosed gaps).
-- Show Signal History Only:
Feature Highlight: When enabled, this hides all the "noise" of open or failed gaps. It only draws the boxes that successfully produced a Rejection Signal in the past.






















