5MA + TrendMagic + Disparity Scalping + Volume Spikes5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.
指標和策略
KDJ在 TradingView 发表脚本时,**描述(Description)** 非常重要。审核员要求描述必须详细说明脚本的**原理、独特性以及用法**,否则容易被驳回。
由于你的参数 (63, 21, 5) 非常特殊,属于“长周期/季度线”级别的设置,我在撰写描述时重点突出了它**“过滤噪音”**和**“捕捉中长期趋势”**的特点。
以下是为你准备的发布文案,包含**标题**和**正文(中英双语)**。你可以直接复制使用。
---
### 标题 (Title)
**KDJ Trend Filter (63, 21, 5) **
### 描述正文 (Description)
*(复制以下内容到 TradingView 的描述框中)*
** **
**Overview**
This is a custom KDJ indicator designed for **medium-to-long term trend analysis**. Unlike the default parameters (9, 3, 3) which are often too sensitive and prone to false signals in volatile markets, this script uses a specific set of parameters **(63, 21, 5)** to smooth out the noise.
**Why these parameters?**
* **N = 63 (Calculation Period):** Represents approximately one quarter (3 months) of trading days. This aligns the indicator with the quarterly trend rather than weekly fluctuations.
* **M1 = 21 (Smooth K):** A significantly higher smoothing factor for the K-line. This reduces the "jitter" and ensures that a crossover usually indicates a genuine shift in momentum.
* **M2 = 5 (Smooth D):** The smoothing period for the D-line.
**How to use**
1. **Trend Identification:** Due to the long period, this KDJ acts more like a trend-following tool than a typical oscillator.
2. **Crossovers:**
* **Golden Cross (K > D):** Suggests a potential start of a medium-term bullish trend.
* **Dead Cross (K < D):** Suggests a potential start of a medium-term bearish trend.
3. **Filtering:** This setup is excellent for filtering out market noise. It will react slower than standard KDJ but provides more reliable signals for swing traders.
**Settings**
* Calculation Period: 63
* MAC1 (K Smoothing): 21
* MAC2 (D Smoothing): 5
---
** **
**概述**
这是一个专为**中长期趋势分析**设计的 KDJ 指标。标准的 KDJ 参数(9, 3, 3)在震荡行情中过于敏感,容易产生虚假信号。本脚本采用了特定的长周期参数 **(63, 21, 5)**,旨在过滤短期市场噪音,捕捉更稳健的趋势方向。
**参数逻辑**
* **计算周期 (N) = 63:** 大约对应一个季度(3个月)的交易日。这意味着指标关注的是季度级别的价格位置,而非短期波动。
* **MAC1 (M1) = 21:** K值的平滑周期。相比默认值,21的平滑度极高,这使得 K 线非常平稳,只有在趋势发生实质性改变时才会转向。
* **MAC2 (M2) = 5:** D值的平滑周期。
**使用方法**
1. **趋势识别:** 由于周期较长,该指标具有“钝化”的特性,更适合作为趋势跟踪工具,而非短线超买超卖指标。
2. **交叉信号:**
* **金叉 (K上穿D):** 通常意味着中级行情的启动。
* **死叉 (K下穿D):** 通常意味着中级调整的开始。
3. **过滤噪音:** 在横盘震荡期间,该参数设置能有效减少频繁的交叉信号,帮助交易者拿住波段。
**默认设置**
* 计算周期:63
* MAC1:21
* MAC2:5
---
### 💡 发表前的检查清单 (Checklist)
1. **代码确认**:确保你的 Pine Script 代码中 `overlay=false`(因为 KDJ 是副图指标)。
2. **图表展示**:在点击发表前,最好在图表上画几条线或标记,展示一下金叉和死叉的位置,这样更容易通过审核,也能让用户一眼看懂。
3. **分类 (Category)**:建议选择 **"Trend Analysis" (趋势分析)** 和 **"Oscillators" (震荡指标)**。
如果你需要我帮你微调代码以符合上述描述(例如添加颜色填充或特定的信号标记),请告诉我!
Anchored PVI + NVIAnchored PVI + NVI is a single-pane indicator that allows the Positive Volume Index (PVI) and Negative Volume Index (NVI) to be plotted together using a period-anchored approach. Crucially, the EMAs for each series are included and remain analytically valid under the anchoring process.
PVI and NVI are cumulative, path dependent indicators. Over long histories, their absolute values become arbitrary and often incomparable when plotted side-by-side . This script addresses that limitation by anchoring each indicator to a user-defined period (daily, weekly, monthly, etc.) and plotting their relative change from that baseline rather than their raw values.
The result is a clean, comparable view that preserves each indicator’s internal structure (trends, inflections, divergences, and EMA relationships) while minimizing scale conflicts.
**What Are PVI and NVI? (Quick Explanation)**
PVI and NVI separate price behavior based on changes in participation, not raw volume flow.
- Positive Volume Index (PVI) updates only on bars where volume increases relative to the prior bar. It tracks price movement during expanding participation, often associated with broad market involvement.
- Negative Volume Index (NVI) updates only on bars where volume decreases relative to the prior bar. It tracks price movement during contracting participation, often associated with quieter or more selective activity.
Both indicators accumulate percentage price changes, but only under their respective volume conditions. Rather than asking “Is volume high or low?” , they ask:
"How does price behave when participation expands versus when it contracts?"
More detailed guidance and interpretation can be found further down the publication description for users unfamiliar with the practical uses of PVI and NVI.
**How The Script Works**
At the start of each selected anchor period, the script records the current PVI and NVI values as baselines. All subsequent values within that period are plotted as changes relative to those baselines:
- Percent mode plots the percentage change from the baseline.
- Absolute mode plots the absolute change from the baseline.
This is not normalization or rescaling. The time-based shape of each series is preserved within the anchor window.
The EMAs are calculated on the original, full-history PVI and NVI series, then transformed using the same anchored reference frame. This faithfully preserves relative positioning between each index and its EMA, EMA slope behavior, and EMA crossover timing.
Optional anchor markers and a zero line help visualize resets and behavior relative to the period’s starting point.
**Advantages vs Using PVI and NVI Separately**
- Faster visual assessment: Participation-conditioned price behavior can be evaluated at a glance without mentally reconciling separate scales or panes.
- Potential for Extended Interpretation: A shared baseline introduces a form of relative comparability that does not exist when the indicators are plotted independently.
- Cleaner workflow: One indicator, one pane, and less chart clutter.
**Conventional Interpretation and Guidance**
Anchored PVI and NVI should be interpreted relative to the zero line, their own EMAs, and each other, always within the context of the current anchor period - NOT across periods.
Values above zero indicate net positive price movement since the anchor began under the indicator’s respective volume condition. Values below zero indicate net negative movement. Because PVI and NVI update under different participation regimes, their behavior provides complementary context rather than redundant confirmation.
When PVI is rising, price progress within the period is occurring primarily during higher-participation sessions. This suggests that movement is being supported by expanding activity. Weakness or flattening in PVI indicates that price is losing traction during high-volume conditions.
When NVI is rising, price persistence is occurring during quieter sessions as participation contracts. This often reflects continuation or structural stability that does not rely on broad engagement. Weakness in NVI indicates that price struggles to hold together as activity declines.
Comparing the two provides insight into participation balance.
- Both rising: broad support across participation regimes
- PVI rising while NVI lags: movement concentrated in higher-participation sessions
- NVI rising while PVI lags: price persistence despite reduced participation
Each index is most commonly interpreted relative to its own 255-period EMA. Holding above the EMA suggests strengthening behavior within that participation regime, while sustained movement below the EMA indicates weakening momentum or transition. NVI in particular is often interpreted such that above-EMA behavior is supportive and below-EMA behavior is cautionary.
Divergence between price and PVI or NVI can highlight changes in participation dynamics that may not yet be reflected in price alone. Divergence between PVI and NVI themselves highlights shifts in how price behaves under expanding versus contracting participation.
These relationships are best used as contextual confirmation rather than as standalone trading signals.
**Extended Interpretation (Exploratory)**
This section is exploratory and should not be interpreted as conventional or widely-accepted guidance.
Anchoring PVI and NVI to a shared baseline introduces a form of relative comparability that does not exist when the indicators are plotted independently.
Within a single anchor period, both PVI and NVI are now expressed as relative change from a common reference point. This makes it possible to observe how the two series interact directly in time.
Index Crossovers (PVI vs. NVI)
Crossovers between anchored PVI and anchored NVI may be interpreted as shifts in dominance between participation regimes within the anchor period.
- PVI crossing above NVI suggests that price progress under expanding participation has overtaken progress under contracting participation since the anchor began.
- NVI crossing above PVI suggests that price persistence during quieter participation has become the dominant contributor within the period.
EMA-to-EMA Structure (PVI EMA vs. NVI EMA)
EMA-to-EMA relationships can further highlight smoother, regime-level tendencies in participation balance. When one EMA persistently leads the other after sufficient post-anchor price action has accumulated, it reflects a sustained bias toward that participation regime within the anchor window. Similarly, EMA crossovers that develop after sufficient post-anchor data may imply a transition in participation balance rather than a reset artifact.
Important Context and Limitations of Extended Interpretation
This form of interpretation is only valid within a single anchor period. Because each anchor resets the baseline, no continuity or meaning should be inferred across different periods.
These interactions should be treated as descriptive of participation balance, not as standalone trade signals. Their value lies in clarifying how price movement is being carried within a defined window, not in predicting future direction.
**Combined Practical Use**
Altogether, this indicator allows participation dynamics to be evaluated at three levels:
1) Instantaneous behavior via the anchored PVI and NVI themselves
2) Structural persistence via each index relative to its own EMA
3) Regime balance via the relative positioning of PVI, NVI, and their EMAs
**Warnings!**
- Percent mode can become visually unstable when baseline PVI or NVI values are near zero due to division effects inherent in percent-change calculations.
**Other Similar Indicators**
My Anchored OBV + A/D script applies the same anchored-period framework to other volume-based indicators.
**Credits**
This script is inspired by Multi-Ticker Anchored Candles (MTAC) by @SamRecio . MTAC's anchored-baseline concept and open-source nature provided an important conceptual foundation for adapting the same idea to PVI and NVI.
Institutional Engine SAFEThis indicator is designed for traders who want to visualize institutional-level market execution patterns across multiple timeframes. It combines high-timeframe trend analysis, liquidity sweeps, fair value gaps (FVG), intermarket divergence (SMT), inverse FVGs, and change-in-state-of-delivery (CSID) to identify high-probability long and short setups.
FranPL - Psychological LevelsIt automatically draws horizontal lines fixed to the right-hand price scale at every price level ending in 00, 20, 50, and 80. These levels are commonly watched by traders as areas where price often reacts, pauses, or reverses.
The lines remain anchored to price, updating dynamically as the market moves, and stay aligned with the price scale rather than drifting with time. The indicator works across all markets and timeframes.
FranPL is fully customizable through the settings, allowing the user to adjust the line color, thickness, and length, making it easy to match personal chart preferences while keeping the chart clean and uncluttered.
Overall, FranPL provides a clear, consistent visual framework for identifying important psychological levels to support entries, exits, and risk management.
Sweeps + FVG + IFVG The ICT stuff in an indicator
Shows liquidity sweeps
Shows HTF FVG
shows IFVG
shows entries and take profit
Institutional Engine SAFEThe Institutional HTF → LTF Execution Engine is a multi-timeframe trading indicator designed to identify high-probability institutional-level entries by analyzing higher timeframe (HTF) trends and projecting them onto lower timeframe (LTF) charts.
This tool integrates trend analysis, liquidity sweeps, fair value gaps, intermarket divergence, and risk management to provide traders with actionable BUY and SELL signals. It is ideal for day traders, scalpers, and swing traders seeking structured entries aligned with larger market flow.
Crypto Accumulation Candle FinderThis indicator give you long entry signal to dectect MM's entry time.
it's recommended to use it in 5min. time frame.
Multi-Filter Momentum Candle Strategy (Non-Repaint)Momentum Candle Precision Scanner is a price action–based indicator designed to detect high-quality momentum candles after consolidation phases.
It combines candle structure analysis, volume confirmation, ATR control, consolidation filtering, and higher timeframe EMA trend alignment to reduce false signals.
⚠️ This indicator is NOT standalone and MUST be used together with an external RSI indicator.
RSI is intentionally not included in the script to allow traders full flexibility in choosing their preferred RSI settings.
🎯 Purpose
This indicator helps traders:
Identify valid impulsive candles, not just large candles
Avoid entries during sideways or consolidation zones
Trade in alignment with the higher timeframe trend
Improve entry selectivity through a scoring-based validation system
⚙️ Core Logic Explained
1️⃣ Momentum Candle Structure
Candle body must fall within a predefined pip range
Minimum body-to-range ratio is required
Upper and lower wick percentages are strictly limited
This helps filter out candles caused by noise or fake breakouts.
2️⃣ Volume Confirmation
Current volume must be above its moving average
Ensures momentum is supported by market participation
3️⃣ ATR-Based Control
Candle body size is capped using ATR
Prevents signals during abnormal volatility spikes (e.g., news events)
4️⃣ Consolidation Filter (Box & Core Zone)
A dynamic price box is built from recent candles
Signals are ignored inside the core consolidation zone
Focuses entries on breakout or expansion phases
5️⃣ Scoring System
Each candle is evaluated using a weighted score:
Candle body quality
Wick structure
Volume strength
ATR validity
Position relative to consolidation
Signals are triggered only when the minimum score threshold is met.
📈 Trend Filtering (EMA HTF & Current TF)
Higher Timeframe EMA defines the main trend direction
Current Timeframe EMA reflects local momentum
Options available:
Trade with HTF trend only
Or allow counter-trend signals (user controlled)
🚨 Alert Feature
Alerts can trigger minutes before candle close
Designed for traders who wait for near-close confirmation
⚠️ IMPORTANT – RSI IS REQUIRED
This indicator does NOT include RSI internally.
📌 You must add an external RSI indicator and use it as:
Additional momentum confirmation
Overbought / oversold filter
Trend strength validation
👉 General RSI usage example:
Buy setups → RSI above 50 and strengthening
Sell setups → RSI below 50 and weakening
(Users are free to adapt RSI settings to their own strategy.)
🛠️ Recommended Usage
Best suited for M5
Optimized for XAUUSD
Can be adapted to other instruments by adjusting pip size
📌 Disclaimer
This indicator is a technical analysis tool, not a trading system.
No guarantees of profitability. Always apply proper risk management, RSI confirmation, and personal backtesting before live trading.
eBacktesting: MultieBacktesting: Multi is an all-in-one chart toolkit built for structured day-trading study: multi-timeframe levels, “clean” movement zones, session context, bias, candle normalization, gaps, and a powerful alert system — all from one indicator.
What it can show on your chart
1) Multi-timeframe Support/Resistance (S/R) markup
- Detects and plots S/R levels from up to 8 configurable timeframes (mix HTF + LTF).
- Optional labeling styles: Simple, Type (S/R), or Directional.
- Optional price labels next to levels.
- Levels cleanup (decongestion): hides clustered levels to keep the chart readable
- Grouping: can group timeframes that share the same level into a single line.
- Level invalidation: levels can disappear after X passthroughs (with a “getting weaker” dashed style when close to invalidation).
2) Psychological levels (round numbers)
- Automatically draws round-number lines at a practical interval (with optional manual interval control).
- Has smart defaults for common markets (e.g., indices, BTC, metals).
3) Levels heatmap
- Shows level density as shaded “pressure areas”: areas where an agglomeration of S/R levels are present
- Can be simple or persisted (so you can study where price repeatedly reacts)
4) Repeated levels highlight
- Highlights “same area again” levels using a tolerance setting.
- Can require same direction (support with support / resistance with resistance) or allow any direction.
5) LTAs (Low Traffic Areas)
- Marks “air pockets” between levels where price can travel fast.
- Can be built from:
- S/R spacing (between detected levels), or
- Candle sequences (clean directional runs).
- Optional filters:
- By how “untouched” the boundary levels are (passthrough filter)
- By number of candles
- By size (points)
6) Clean zones (candle-based)
- Detects strong same-direction runs and boxes them as “clean zones” for study and backtesting practice.
7) Session Bias
- Computes a bias score from selected timeframes and shows it as a %.
- Can be weighted, inverted weight, or not weighted across timeframes (e.g. HTF candles having more weight towards bias calculation).
- Optional color coded “bias candles” overlay + option to dim weak candles so the signal is clearer.
- Alert when bias flips bullish/bearish/neutral.
8) Candles tools
- Smooth candles: removes candle gaps by drawing candles with open = previous close (useful for price action analysis).
- Ghost current candle: de-emphasizes the still-forming candle until it’s near completion (useful for not going in FOMO).
- Highlight no-wick candles: helps spot strong displacement / clean opens/closes.
- Snap candles: rounds candles to a chosen interval (ATR % or fixed), for cleaner structure reading.
- Optional candle stats: ATR & Average candle size
- Candle score: rates the last candle’s strength (body/wicks/size + context), useful for quick quality checks.
- Gaps: highlights unfilled gaps and optionally removes them once filled.
9) Sessions
- Up to 4 customizable sessions, each with its own color and optional background highlight.
- Option to hide candles outside session hours (great for focused session study).
10) Notifications
- Before session start alerts (X minutes early).
- Before session end alerts (X minutes early).
- Closing beyond detected S/R levels
- Closing beyond custom prices: type your prices (one per line)
- Proximity allowance + “advance notice” option for getting notified 30s/1m/5m before the candle closes based on your preferences
- Timer alerts (“check chart every X minutes”) with a custom message template.
eBacktesting integration (the important part)
This indicator fully integrates with the eBacktesting extension to automatically detect “important moments” during backtesting, so it can auto-pause, tag, and allow you to practice them step-by-step.
- When bias changed
- When a candle closed beyond an automatically detected S/R level
- When a candle closed beyond your custom price
- When new LTAs & clean zones are detected or invalidated
These indicator is built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Custom Long ProjectionDo custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
Do custom Long Projection
10x Multi-Timeframe SMA Suite📊 Professional Multi-Timeframe Simple Moving Average Indicator
Track up to 10 independent Simple Moving Averages from different timeframes on a single chart with full customization control.
✨ KEY FEATURES:
- 10 independent SMA lines
- Individual timeframe selection for each SMA (Daily, Weekly, Monthly, 4H, 1H, etc.)
- Flexible source options (Close, Open, High, Low, HL2, HLC3, OHLC4)
- Fully customizable colors
- Adjustable line thickness (1-5)
- Toggle on/off for each SMA
- Clean and intuitive interface
- Optimized for performance
🎯 DEFAULT SETTINGS:
First 4 SMAs are enabled by default:
- SMA 1: 200-period Daily (Red)
- SMA 2: 50-period Weekly (Blue)
- SMA 3: 100-period Weekly (Green)
- SMA 4: 200-period Weekly (Orange)
Additional 6 SMAs are ready to activate and customize as needed!
💡 PERFECT FOR:
- Multi-timeframe trend analysis
- Support and resistance level identification
- Long-term and short-term momentum tracking
- Professional traders who need multiple MAs simultaneously
⚡ Simple to use, powerful in functionality - All your moving averages in one indicator!
Institutional Scanner FixHere is a professional Pine Script (Version 5) for TradingView. It is optimized to precisely identify the "Absorption" and "Reversal" signals.
What this script does for you:
Auto-Fibonacci: It automatically calculates the 0.618 Golden Ratio of the last 50 candles.
Volume Delta Check: It calculates the delta (buy volume minus sell volume) per candle.
Signal: It marks a "Buy Absorption" when the price touches the 0.618 level but the delta turns positive (green arrow).
The Volume Multiplier is your scanner's "sensitivity knob." It determines how much more volume compared to the average must flow for a signal to be classified as institutionally relevant. Here is the bank standard for calibration, based on your trading strategy and the asset's liquidity:
The rule-of-thumb values for the multiplier
Strategy Type | Recommended Value | Logic
Conservative (High Conviction) | 2.0 to 2.5 | Only extreme volume spikes are marked. Good for swing trades on a daily basis.
Standard (Day Trading) | 1.5 to 1.8 | The "sweet spot." Marks volume that is approximately 50-80% above average.
Aggressive (Scalping) | 1.2 to 1.3 | Reacts very quickly to small order flow changes but produces more "noise" (false signals).
FVG Finder | NRP | ProjectSyndicate🥇 ProjectSyndicate Fair Value Gap (FVG) Finder — Pine Script v6 • NRP Non-Repainting
📌 SMC Imbalance Zones Built for Clean Entries, Targets & Mitigation Tracking
The ProjectSyndicate FVG Finder is a professional TradingView indicator designed for traders who want clean, high-probability Fair Value Gaps price imbalances mapped instantly on-chart—without manual marking or clutter.
Fair Value Gaps form during aggressive displacement when price delivers inefficiently, leaving a void that price often returns to rebalance. This tool helps you spot those zones fast, track whether they’re still fresh, and plan entries with confidence. ✅
________________________________________
🚀 Why Traders Like It
✅ NRP Logic (Non-Repainting): Signals are built to remain stable once confirmed
✅ Real-Time FVG Detection: Automatically identifies bullish + bearish FVG zones as they form
📦 Clean Zone Visualization: Boxed imbalance areas that are easy to trade from
🧹 Auto-Cleanup (Mitigation): Zones update based on your chosen fill rule (Touch / 50% / Full)
🎛️ Anti-Noise Filtering: Minimum size + optional ATR filter to remove weak gaps
⚡ Pine Script v6: Built on the latest TradingView engine for stability and performance
🔔 Alerts + Markers: Get notified when new FVGs print + optional triangle signals
________________________________________
Gold H1 TF active FVGs
Eur Usd M30 TF active FVGs
NQ H1 TF active FVGs
🧠 Detection Logic — Simple, Effective, Battle-Tested
📈 Bullish Fair Value Gap (Demand Imbalance):
A 3-candle imbalance where the low of Candle 3 is above the high of Candle 1
➡️ Signals strong buy-side displacement / inefficient delivery
📉 Bearish Fair Value Gap (Supply Imbalance):
A 3-candle imbalance where the high of Candle 3 is below the low of Candle 1
➡️ Signals strong sell-side displacement / inefficient delivery
________________________________________
🧹 Mitigation Options — Choose How Filled Works
Your strategy decides what counts as used:
👆 Touch: Zone considered mitigated on first interaction
🎯 50% Fill: Mitigated once price fills half the gap
✅ Full Fill: Mitigated only when the entire zone is filled
Optional: Keep mitigated zones visible or hide them for ultra-clean charts.
________________________________________
🛠 Recommended Settings (ATR Multiplier Presets)
Use these as solid starting points on M30 / H1:
•🥇 XAUUSD (Gold) M30/H1: 0.5
•💻 NQ (Nasdaq) M30/H1: 0.25
•🛢️ USOIL M30/H1: 0.25
•₿ BTCUSD M30/H1: 0.25
•💶 EURUSD / GBPUSD M30/H1: 0.25 – 0.50
✅ Other markets are supported too just adjust the ATR Multiplier based on how many signals you want:
•More signals → lower multiplier
•Higher quality → higher multiplier
________________________________________
✅ Best Use-Cases
🎯 Mark imbalance zones instantly without manual drawing
🧲 Wait for price to return to FVG for cleaner entries
🛡️ Use zone boundaries for clear invalidation / stop placement
📊 Combine with trend bias + BOS/CHoCH + premium/discount for higher confirmation
🎯 Use FVGs as both entries and profit targets
________________________________________
⭐ How You Can Support ProjectSyndicate (3 Steps)
1. ✅ Click “Add to Favorites” to save this script to your TradingView Favorites
2. 🔎 Check out our other scripts to complete your SMC toolkit
3. 👤 Follow ProjectSyndicate for the latest updates, upgrades, and new releases
Order Block Finder | Gold | ProjectSyndicate
Breaker Blocks Finder | Gold | ProjectSyndicate
ICT Algo: Sweep + MSS + High Prob FVG/IFVGThis script is a comprehensive execution tool based on Inner Circle Trader (ICT) concepts, specifically designed to identify high-probability entries by combining Liquidity Sweeps, Market Structure Shifts (MSS), and Fair Value Gaps (FVG/IFVG).
Unlike standard FVG indicators that highlight every gap on the chart, this "Algo" version filters for gaps that occur specifically after a liquidity purge and a shift in structure, ensuring you are only looking at setups with institutional backing.
How It Works
The script follows a strict 3-step validation process before plotting a signal:
Liquidity Sweep (The Context): The script tracks Higher Timeframe (HTF) levels including Previous Day High/Low, Weekly High/Low, and Monthly High/Low. A setup is only considered valid if price has recently "swept" one of these levels, indicating a hunt for liquidity.
Market Structure Shift (The Confirmation): Once a sweep occurs, the script looks for a displacement in the opposite direction. It identifies a "Pivot High/Low" (customizable length) and waits for a candle body to close beyond it (MSS).
Filtered Entry (The Trigger): * FVG: Plots a standard Fair Value Gap if it forms within a "Deep Value" zone (Discount for longs, Premium for shorts).
IFVG (Inversion FVG): Highlights failed FVGs that have been reclaimed by price to act as support or resistance.
Key Features
Multi-Timeframe Liquidity Filters: Automatically plots PDH/L, PWH/L, PMH/L, and PYH/L. You can toggle which levels act as your sweep triggers.
Deep Value Logic: The script uses built-in logic to ensure Bullish FVGs are only highlighted when price is below a key liquidity level (Discount), and Bearish FVGs when price is above (Premium).
Dynamic Box Management: To keep your chart clean, boxes for FVGs and IFVGs are automatically shortened ("cut") once they are mitigated by price.
Inversion Logic: Includes a specialized toggle for Inversion Fair Value Gaps, allowing you to trade "failed" gaps that flip their polarity.
Settings & Customization
Entry Setup Bias: Choose to see only Bullish, only Bearish, or Both setups.
MSS Pivot Length: Adjust how "sensitive" the Market Structure Shift detection is. A higher number requires a more significant swing to be broken.
Sweep Lookback: Defines how many bars back the script looks for a liquidity sweep to remain "active" for a setup.
Include Opens: Optional toggle to include Previous Day/Week/Month Opens as liquidity points.
Usage Tips
The Golden Setup: Look for a sweep of a Previous Day High, followed by a Bearish MSS, and an entry at the Red FVG box.
Risk Management: This indicator is designed for entry identification. Always use stop losses (usually placed above/below the candle that created the FVG or the MSS swing point).
Timeframes: Best used on execution timeframes (1m, 5m, 15m) while the script handles the HTF levels automatically.
Disclaimer: This script is an educational tool and does not constitute financial advice. Trading involves significant risk. Past performance of a strategy does not guarantee future results.
Credits: Concepts based on the teachings of Michael J. Huddleston (ICT).
Smart Trader, Episode 02, by Ata Sabanci | Battle of Candles ⚠️ CRITICAL: READ BEFORE USING ⚠️
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations. Please understand the following limitations before using:
📊 DATA ACCURACY LEVELS:
• 1T (Tick) — Most accurate, real volume distribution per tick
• 1S (1 Second) — Reasonably accurate approximation
• 15S (15 Seconds) — Good approximation, longer historical data available
• 1M (1 Minute) — Rough approximation, maximum historical data range
⚠️ BACKTEST & REPLAY LIMITATIONS:
• Replay mode results may differ from live trading due to data availability
• For longer back test periods, use higher LTF settings (15S or 1M)
• Not all symbols/exchanges support tick-level data
• Crypto and Forex typically have better LTF data availability than stocks
💡 A NOTE ON TOOLS:
Successful trading requires proper tools. Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable signals. Consider this when evaluating your trading infrastructure.
📌 OVERVIEW
Smart Trader Episode 02: Battle of Candles is an advanced educational indicator that combines multiple analysis engines to help traders identify market scenarios and understand market dynamics. This is NOT financial advice or a trading signal service — it's a learning tool designed to help you understand how institutional traders might interpret price action.
The indicator integrates 7 major analysis engines into a unified dashboard, providing real-time insights into volume flow, trend structure, market phases, and potential trade setups.
⚡ KEY FEATURES
🎯 16-Pattern Scenario Engine
Automatically detects and classifies market conditions into 16 distinct scenarios, from strong continuation moves to potential reversals and traps.
💰 Trade Advisor Panel
Aggregates all signals into actionable suggestions with confidence levels, suggested entry/SL/TP levels, and risk/reward calculations.
📊 Volume Engine
Splits volume into buy/sell components using either Geometry (candle shape) or Intrabar (LTF data) methods for precise delta analysis.
📈 CVD (Cumulative Volume Delta)
Tracks the running total of buying vs selling pressure to identify accumulation, distribution, and divergences.
🎯 Stop-Hunt Detection
Identifies potential stop-hunt patterns where price sweeps liquidity levels before reversing.
📐 Pure Structure Trend Engine
Zero-lag trend detection based on swing highs/lows (HH/HL/LH/LL) without any lagging indicators.
⚡ Effort vs Result Analysis
Measures energy spent (volume) versus ground taken (price movement) to detect stalls, breakthroughs, and exhaustion.
🎯 SCENARIO ENGINE — 16 Market Patterns
The Scenario Engine analyzes multiple factors (candle anatomy, volume, forces, CVD, wick analysis) to classify each candle into one of 16 scenarios:
Continuation Scenarios (1-3)
1. ⚔️ STRONG MOVE — Big body candle (>60%) with volume confirming direction. Indicates strong momentum continuation.
2. 🛡️ ABSORPTION — One side attacks but the other absorbs the pressure. Price holds despite volume. Continuation expected in the absorbing side's favor.
3. 📉 PULLBACK — Small move against the trend with low volume. Indicates a healthy retracement before trend continuation.
Reversal Scenarios (4-6, 13-16)
4. 💥 REJECTION — Big wick (>40%) with small body and high volume. Price was rejected
at a level, potential reversal.
5. 🪤 TRAP — Pin direction disagrees with delta. Extreme wick size. Looks bullish/bearish but the opposite may happen.
6. 😫 EXHAUSTION — High energy spent (volume) but low ground taken (price movement). Both sides active but momentum fading.
13. 🔄 CVD BULL DIV — Price falling but CVD rising. Hidden buying detected (accumulation). Potential bullish reversal.
14. 🔄 CVD BEAR DIV — Price rising but CVD falling. Hidden selling detected (distribution). Potential bearish reversal.
15. 🎯 STOP HUNT BULL — Shorts were liquidated below support. Price swept liquidity and reversed. Expect bullish move.
16. 🎯 STOP HUNT BEAR — Longs were liquidated above resistance. Price swept liquidity and reversed. Expect bearish move.
Range/Stalemate Scenarios (7-9)
7. ⚖️ DEADLOCK — Market in balance. Force ratio between 0.4-0.6. Low volume. No side winning.
8. 🔥 BATTLE — High volume fight in a range. Both sides attacking. Wicks on both ends of candle.
9. 🎯 WAITING — Building phase with quiet volume. Market is preparing but no trigger yet. Wait for breakout.
Pre-Breakout Scenarios (10-12)
10. 🚀 BULL SETUP — Buyers accumulating in a building phase. Positive delta building. Bullish pressure growing.
11. 💣 BEAR SETUP — Sellers distributing in a building phase. Negative delta building. Bearish pressure growing.
12. ⚡ BREAKOUT — Price at boundary with strong candle and volume supporting. Imminent breakout expected.
💰 TRADE ADVISOR ENGINE
The Trade Advisor aggregates all signals from the different engines into a single actionable output. It uses a weighted scoring system:
Scoring Weights:
• Scenario Signal: 30%
• Trend Alignment: 20%
• CVD Momentum: 15% + Divergence Bonus
• Pin Forces: 15%
• Liquidity Sweep: 12%
• Stop-Hunt Detection: 10%
• Effort vs Result: 10%
Possible Actions:
• ⏳ WAIT — Edge not strong enough (stay patient)
• 🟢 LONG ENTRY — Buyers have strong advantage + signals align
• 🔴 SHORT ENTRY — Sellers have strong advantage + signals align
• ⚠️ CLOSE LONG/SHORT — Position at risk (reversal/trend flip)
• 🛑 STOP LOSS — Price hit risk threshold
• 💰 TAKE PROFIT — Target threshold reached
📊 EXTENDED INFO PANEL (Detailed Explanations)
The Extended Info panel is hidden by default (toggle: Show Extended Info in settings). It provides detailed metrics that feed into the main engines:
CVD ANALYSIS
What is CVD?
Cumulative Volume Delta (CVD) is the running total of Buy Volume minus Sell Volume. It reveals the underlying buying/selling pressure that may not be visible in price alone.
CVD Value & Slope:
• ↗ Rising: CVD increasing = net buying pressure (bullish)
• ↘ Falling: CVD decreasing = net selling pressure (bearish)
• → Flat: No clear pressure direction
Accumulation vs Distribution:
• Accumulation %: Shows buying pressure strength (0-100). High accumulation with CVD rising = strong bullish bias.
• Distribution %: Shows selling pressure strength (0-100). High distribution with CVD falling = strong bearish bias.
Divergence Alerts:
• ⚠️ BULLISH DIVERGENCE: Price falling but CVD rising. Hidden buying = potential reversal UP.
• ⚠️ BEARISH DIVERGENCE: Price rising but CVD falling. Hidden selling = potential reversal DOWN.
WICK ANALYSIS
Wick Torque:
Torque measures the "rotational force" from wicks. It's calculated from wick length, volume, and body efficiency.
• Positive Torque (Bullish): Bottom wick power dominates. Buyers defended lower prices.
• Negative Torque (Bearish): Top wick power dominates. Sellers defended higher prices.
• ⚡ High Torque (>30): Strong signal, significant wick rejection occurred.
Stop-Hunt Detection:
The engine detects when price has likely swept stop-losses clustered at key levels:
• Stop Hunt Risk %: Likelihood score (0-100). Above 55% = confirmed hunt.
• "Shorts hunted": Price swept below support, liquidating shorts, expect bounce UP.
• "Longs hunted": Price swept above resistance, liquidating longs, expect drop DOWN.
LIQUIDITY SWEEPS
This section appears only when a liquidity sweep is detected. The engine monitors for price sweeping recent highs/lows and then reversing:
• 🎯 LIQUIDITY SWEPT ABOVE: Price broke recent highs but closed back below. Longs trapped, expect DOWN.
• 🎯 LIQUIDITY SWEPT BELOW: Price broke recent lows but closed back above. Shorts trapped, expect UP.
POWER BALANCE
The Power Balance meter shows the real-time strength comparison between buyers and sellers.
Force Ratio:
• 0% = Complete seller dominance
• 50% = Perfect balance
• 100% = Complete buyer dominance
Visual Bar:
• Left side (▓): Bear territory
• Right side (▓): Bull territory
• The bar is smoothed over recent history to reduce noise.
EFFORT vs RESULT
This section measures the efficiency of price movement relative to volume expended.
Energy:
How much volume was spent relative to the average. Energy > 1.0x means above-average volume activity.
Ground:
How much price movement occurred relative to average range. Ground > 1.0x means above-average price movement.
STALL Warning:
A STALL is detected when high energy is spent but low ground is taken (high effort, low result). This often indicates institutional battle, exhaustion, or imminent reversal.
MARKET PHASE
The Phase Engine classifies the current market regime:
RANGE : No clear trend. Price confined to middle of channel. Low ADX. Balanced forces. Trade breakouts with caution.
BUILDING : Compression/preparation phase. Channel tightening or boundary penetration without follow-through. Watch for breakout direction.
TRENDING : Active directional move. Clear slope, good efficiency, price on trending side of channel. Favor pullback entries.
Strength:
0-100% score combining slope, volume validity, and force/efficiency filters.
Bars: How many candles the current phase has persisted.
TRACK RECORD (Validation Panel)
Enable with Show Validation Panel in settings. This section tracks the historical accuracy of scenario predictions:
Accuracy: Percentage of validated predictions that were correct.
Best/Worst Scenario: Shows which scenarios have the highest and lowest accuracy on the current symbol.
Recent Signals: Last 5 predictions with their outcomes. ✓ = correct, ✗ = wrong, ⏳ = pending validation.
⚙️ SETTINGS GUIDE
📊 Volume Analysis
Volume Calculation: Choose Geometry (estimates from candle shape) or Intrabar (precise LTF data).
Intrabar Resolution: LTF for precise mode. Try 1S, 15S, or 1T. Must be lower than chart timeframe.
History Depth: Candles stored in memory (5-50). Higher = more context, slower.
Memory Lookback: Bars for moving averages and Z-scores (10-100).
🏷️ Market Phase
Range Zone Width: How much of channel center is considered "range" (0.1-0.8).
Trend Sensitivity: Minimum slope to detect trending. Lower = more sensitive.
Min Episode Length: Minimum bars before phase can change. Prevents flickering.
🎯 Scenarios
Min Confidence to Show: Only display scenarios above this confidence level (30-90).
Bars to Validate: How many bars to wait before checking if prediction was correct.
Success Move %: Minimum price movement to consider prediction successful.
💰 Trade Advisor
Min Confidence for Entry: Minimum confidence to suggest a trade entry (50-90).
Default Risk %: Stop loss distance as % of price (0.5-5.0).
Min Risk/Reward: Minimum acceptable R:R ratio (1.0-5.0).
🔔 ALERT CONDITIONS
The indicator provides the following alert conditions you can configure:
• 🟢 LONG Entry Signal
• 🔴 SHORT Entry Signal
• ⚠️ Close LONG Signal
• ⚠️ Close SHORT Signal
• 🛑 STOP LOSS Alert
• 💰 Take Profit Alert
• 🚨 High Urgency Signal
⚠️ IMPORTANT DISCLAIMER
EDUCATIONAL TOOL ONLY
This indicator is designed for educational purposes to help users identify different market scenarios and understand how various signals might be interpreted.
The Trade Advisor is NOT a recommendation to buy, sell, or invest.
• Past performance does not guarantee future results
• All trading involves risk of loss
• The creator is not a licensed financial advisor
• Always do your own research (DYOR)
• Consult a qualified financial advisor before making any investment decisions
By using this indicator, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.
RSI Statistics [Honestcowboy]⯁ Overview
Research tool for analysing price behaviour based on RSI, find out how your favorite trading pair / timeframe combinations react to RSI. 5 Different projections based on 5 different value zones of RSI:
RSI between 100-80 (very overbought)
RSI between 80-60 (overbought)
RSI between 60-40 (normal)
RSI between 40-20 (oversold)
RSI between 20-00 (very oversold)
The script simply show price projections of different RSI environments so you can get an idea of what price could do when RSI reaches this RSI value zone. Ofcourse past price performance does not guarantee future returns and this is just projections based on the past.
The script also projects RSI just like it does with price so you can get an idea of how long RSI might stay in overbought or very overbought etc
Script is mainly a research tool to use to get ideas to explore further and build upon. Here are some examples:
⯁ Settings
RSI Lenght: this is just normal RSI settings you find in standard RSI (bars used to calculate RSI)
Projection Length: Amount of bars to save for projections. The projections will also project this many bars in futre. Higher values here increase loading time drastically.
Price Action Boundaries: turn the highs / lows of projection zone on or off. I usually turn this off to look more closely at the averages themselves.
Maximum Stats history: Not on by default, in case you only want to show the average projection of last X amount of occurences RSI was in a specific RSI value zone
Selection of the different zones: in case you want to look at a specific zone alone or turn of some zones. It will no longer project for that zone both in the price projection and RSI projections.
⯁ How are these calculated?
To calculate the average price reaction script uses a very simple approach. On each bar it will save price action array up to projection length back in time. It will then check what the RSI value was there and store the array inside the right matrix.
It will use this matrix to calculate the averages, highs and lows of all these arrays for that specific RSI zone. It uses a simple arithmatic averaging method to get average value.
The script uses a similar approach for projecting the RSI itself into the future.
I include a visual showing it a bit better. This is from a different indicator of me using same approach:
The script will force you into a specific background, bar color and color template. Script is not meant to be used with other scripts and should be used as a standalone tool.
Daily SMA (Historical Plotting with RTH/ETH, (5))Daily SMA (RTH/ETH Dynamic Session Handling) — Midnight + RTH Open Locks
This indicator plots projected daily Simple Moving Averages (SMAs) on intraday charts by anchoring calculations to a Regular Trading Hours (RTH) daily SMA reference, while visualizing how the daily SMA evolves intraday during Extended Trading Hours (ETH) and RTH sessions.
When daily SMAs are evaluated strictly at the daily timeframe, they do not form a continuous intraday history and may appear flat on historical intraday bars until realtime bars begin updating. This script visualizes the daily SMA’s intraday progression while keeping the underlying daily SMA reference unchanged.
Purpose
Standard daily SMAs plotted on intraday charts are evaluated at the daily timeframe and therefore do not form a continuous intraday history. When charts are refreshed or reloaded, these values may appear flat until realtime data resumes.
This script addresses that visualization limitation by projecting the daily SMA across historical and realtime intraday bars, while keeping the daily SMA reference intact.
How it works
• Daily SMA seed values are sourced exclusively from an RTH-only daily timeframe series.
• At ETH midnight, the SMA seed is locked using completed daily closes from the RTH daily series.
• At the RTH open, the seed is re-locked using the completed RTH daily window.
• After each seed event, the SMA is projected intraday using the active chart bar’s price.
Price semantics
• Historical bars use fully closed candle data only.
• The realtime bar uses the last traded price until the candle closes.
• Once a bar closes, its value is final and does not repaint.
Higher-timeframe data usage
• request.security() is used intentionally to access daily SMA data.
• lookahead=barmerge.lookahead_on is used only to reference the developing daily timeframe value during the active session for projection purposes.
• No future bars are accessed and no historical values are retroactively altered.
Data integrity
• SMA seed values are derived solely from the daily timeframe and do not depend on intraday bar history.
• SMA values are computed forward from the locked seed and do not revise prior bars.
• If insufficient daily history exists for a symbol, values safely return na.
Scope and limitations
• Intended for chart timeframes up to and including daily.
• Designed for instruments with defined RTH sessions (such as equities and equity-based products).
• This script does not replace or modify the underlying daily SMA reference; it visualizes an intraday projection anchored to the RTH daily SMA.
Other notes
• Pine Script version: v6
• No future data access
• No historical repainting; only the active realtime bar updates until close
Volume Pulse Dots Relative Volume at a Glance
Volume Pulse Dots is a lightweight, price-overlay indicator designed to highlight unusual volume activity directly on the chart, without adding clutter or a separate volume pane.
Instead of raw volume bars, this script uses relative volume (rVol) — current volume compared to a moving average of recent volume — to visually flag moments when participation meaningfully deviates from normal.
How It Works
Relative volume is calculated as:
Current volume ÷ Volume moving average (user-defined length)
Based on this ratio, small dots are plotted on the chart:
• High relative volume (green dot below bar)
Signals increased participation compared to recent activity. Often appears during momentum moves, breakouts, or strong continuation candles.
• Very high relative volume (larger cyan dot below bar)
Indicates extreme participation. Common near major breakouts, capitulation candles, or key inflection points.
• Low relative volume (gray dot above bar)
Highlights weak participation. These candles often represent fake moves, fading momentum, or price drifting without conviction.
Dots are intentionally subtle and plotted directly on price to keep context clear while staying out of the way.
How to Use It
This indicator is not a standalone signal generator. It works best when combined with:
• VWAP and EMA structure
• Key support and resistance levels
• Candlestick context (range, wicks, follow-through)
• Price location relative to the open, highs, or prior day levels
Examples:
• High rVol dots near VWAP can confirm real participation
• Very high rVol dots at extended levels may signal exhaustion
• Low rVol dots during breakouts often warn of weak follow-through
Customization
You can adjust:
• Volume moving average length
• Thresholds for high, very high, and low relative volume
• Optional display of the rVol value in the status line (no extra pane)
Design Philosophy
• No separate volume pane
• No alerts or signals
• No repainting
• Minimal visual footprint
This tool is meant to quietly surface information that experienced traders already look for, without distracting from price.
Spring & Upthrust Trap (Zeiierman)█ Overview
Spring & Upthrust Trap (Zeiierman) is a Wyckoff-style “range sweep” indicator that highlights liquidity traps using a simple ZigZag pivot structure. It’s designed to catch the moment price briefly breaks a range boundary to trigger stops, then quickly snaps back into the range (rejection).
⚪ What It Detects
A Spring (Bull) is a downside fakeout. Price sweeps below the range boundary (taking liquidity), then rejects and returns back above the opposite boundary. In other words, it looks bearish for a moment, then flips bullish as the sweep fails.
An Upthrust (Bear) is the upside version. Price sweeps above the range boundary, then rejects and falls back through the opposite boundary. It looks bullish briefly, then flips bearish when that breakout fails.
█ How It Works
⚪ 1) Pivot Extraction (ZigZag Structure)
The script first compresses price into a small set of swing pivots using a ZigZag-style method driven by ZigZag Length. A bar becomes a pivot when it is the highest/lowest point inside the lookback window.
⚪ 2) Pattern Framing (X → A → B → C)
When there are at least four pivots available, the script maps the most recent pivot sequence into four labeled points:
X and A define the range boundaries (the box height is based on |A − X|)
B is the sweep pivot (the “fakeout” that breaks a boundary)
C is the rejection/snapback pivot that confirms the sweep failed
This is the minimum structure needed to define a trap without overfitting.
⚪ 3) Sweep Sizing (Filtering Noise vs Real Sweeps)
Not all boundary breaks are meaningful. The script measures sweep magnitude relative to the range size:
Sweep Fraction: |B − X| / |A − X|
This does two things:
Filters tiny pokes through a boundary (often random noise)
Filters extremely large breaks that are more likely to be true trend continuation rather than a trap
This is controlled by:
Min Sweep (minimum required violation)
Max Sweep (maximum allowed violation)
⚪ 4) Spring vs Upthrust Logic (Directional Trap Detection)
The script then decides which trap is forming:
Spring (Bull)
A downside sweep that fails: price breaks below the boundary, then returns strongly back through the opposite side.
Upthrust (Bear)
An upside sweep that fails: price breaks above the boundary, then returns strongly back through the opposite side.
█ How to Use
⚪ Interpreting a Spring (Bull)
A Spring is best treated as a failed breakdown. The sweep suggests stops were taken under the range, but the snapback implies that the market rejected lower prices.
Common behaviors after a good Spring:
fast reclaim back into the range
retest of the boundary from above (acceptance test)
continuation away from the sweep area if buyers remain in control
⚪ Interpreting an Upthrust (Bear)
An Upthrust is a failed breakout. Stops get taken above the range, but the price cannot hold outside and collapses back into/through the structure.
Common behaviors after a good Upthrust:
rejection wick and rapid return
retest of the boundary from below
continuation downward if sellers remain in control
█ Settings
ZigZag Length – pivot sensitivity. Higher = smoother, fewer signals. Lower = more pivots, more traps.
Show Patterns – detect Springs only, Upthrusts only, or both.
Min Sweep – minimum sweep size relative to range height (filters micro sweeps).
Max Sweep – maximum sweep size relative to range height (filters “real breaks”).
Confirm Pad – extra snapback requirement beyond the boundary (adds confirmation).
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. 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.






















