Seykota Trend SystemHere's a breakdown of everything the script does:
EMA Engine
Three EMAs: fast (default 15), slow (default 150), and a signal EMA (default 9) used as a confirmation layer. The 150/15 pairing mirrors Seykota's published S&P model on his TSP website. The cloud fill between fast and slow gives an instant read on trend health — teal when bullish, red when bearish.
Trailing Stop — Two Modes
ATR mode ratchets the stop upward in a long (or downward in a short) so it can never move against you. Swing mode uses the highest/lowest bar over a lookback period instead — closer to how Seykota described using support/resistance corridors in his Gold model. Switch between them in settings.
Position Sizing Output
The core Seykota formula: Units = (Account × Risk%) ÷ Stop Distance. Every entry label shows the calculated position size live on the chart. As volatility expands (wider ATR → wider stop → fewer units), the system automatically sizes down. As volatility contracts, it sizes up. This is the mechanism behind "keep bets small" — it's dynamic, not a fixed number.
ADX Filter
Seykota only wanted to be in trending markets. The ADX filter blocks signals when ADX is below your threshold (default 20), keeping the system out of choppy sideways conditions where trend-following underperforms.
Volume Filter
Optional confirmation that the move has institutional participation behind it — volume must be above its MA multiplied by a factor you control.
HUD Table
Bottom-right panel shows live: trend state, both EMAs, ATR, trailing stop level, ADX reading, risk dollars per trade, and current position size.
Alerts
Four alert conditions are wired up — long signal, short signal, trend flip to bull, trend flip to bear — ready to connect to PulseWire webhooks or notifications.
Suggested starting parameters by market:
Futures/commodities: 150/15 EMA, ATR ×3.0, ADX 20
Equities (daily): 200/50 EMA, ATR ×2.5, ADX 20
Crypto (daily): 100/25 EMA, ATR ×2.0, ADX 25 (crypto is noisier) Indicator

Indicator

Structural Momentum Gauge [JOAT]Structural Momentum Gauge
Introduction
Structural Momentum Gauge is an open-source overlay indicator that fuses an adaptive Kalman filter with a Supertrend ratchet trail and a WMA-based volatility envelope to produce three clearly defined regime states: Bull Trend, Bear Trend, and Range-Bound. Rather than relying on a fixed moving average, the Kalman filter continuously self-calibrates its noise estimate each bar, delivering a smoothed price proxy that adapts to changing market conditions without introducing unnecessary lag. The Supertrend ratchet applied directly to the Kalman value — rather than to a raw price midpoint — generates directional bias changes that are markedly more stable than those produced by conventional price-based systems.
The core problem this indicator addresses is that most trend-following tools either repaint (flipping signals on the same bar as price reverses) or commit to a direction far too slowly. The Kalman filter's gain calculation absorbs noise on low-momentum bars while remaining sensitive during genuine impulses. Layering an envelope breach condition on top means both the Kalman direction and price location relative to the volatility band must agree before a trend regime is confirmed — a dual-gate that substantially reduces false readings on choppy, sideways charts.
Core Concepts
1. Adaptive Kalman Filter
The Kalman filter maintains two persistent state variables: the current estimate (k_est) and the error variance (k_err). Each bar the Kalman gain is computed as k_err / (k_err + noise), where noise equals kAlpha * kPeriod. The gain controls how much the estimate shifts toward the current close. After updating the estimate, the error variance is revised: (1 - gain) * k_err + kBeta / kPeriod. This means a large prediction error pushes the variance higher, increasing the gain on the next bar and making the filter more responsive. When price action settles, the gain contracts and the filter smooths out. The result is a price proxy that is neither the fixed-lag of a simple moving average nor the noise sensitivity of a raw close.
2. Supertrend Ratchet on Kalman
ATR-scaled upper and lower bands are applied around the Kalman value rather than the raw hl2. The ratchet rule then applies: the upper band can only move down (or reset when the Kalman value crosses above it), and the lower band can only move up (or reset when the Kalman value crosses below it). Direction flips when the Kalman value closes through the active band. Applying the ratchet to a pre-filtered price removes the micro-fluctuations that cause excessive direction changes when using hl2 directly.
3. WMA Volatility Envelope
A WMA of the high-low range, multiplied by the deviation parameter, defines half the envelope width. The envelope upper and lower levels are placed symmetrically around the Kalman value. An extended outer cloud — 1.35x the inner envelope — is plotted for spatial context. A price close above the upper envelope sets the range state to 1; a close below the lower sets it to -1. Regime confirmation requires both the Kalman Supertrend direction and the envelope range state to agree in sign:
4. Regime Classification
combined = kBias * rState, where kBias is +1 when the Kalman Supertrend is bullish and rState is +1 when close is above the upper envelope. combined == 1 with kBias == 1 is a confirmed bull trend. combined == 1 with kBias == -1 is a confirmed bear trend. All other states are range or opposing. A rolling 50-bar history computes what percentage of recent bars were in a trending state, producing a Trend Strength percentage.
5. K-Velocity
The rate of change of the Kalman value over three bars, normalized by the current ATR, yields a K-Velocity score from 0 to 1. Velocity dots appear on the Kalman line when the score exceeds 0.5, with their transparency inversely proportional to the velocity — faster moves produce more saturated dots. This creates a visual intensity signal on the trail itself, communicating acceleration and deceleration without a separate panel.
Features
Adaptive Kalman Filter: Self-calibrating price proxy with alpha and beta gain controls — responds faster during impulses, smooths more during consolidation
Supertrend Ratchet on Kalman: Direction-persistent trail applied to the Kalman value, eliminating noise-driven flips on raw price crossovers
Outer Envelope Cloud: Wide ATR envelope filled directionally, providing spatial context at a glance
Inner Envelope Fill: Standard WMA envelope bands with conditional fills that activate in range regime
Triple-Layer Kalman Glow: Three stacked plots at widths 9, 5, and 2 with decreasing transparency create a neon glow shadow effect on the Kalman line
Gradient Core Fills: 6-argument fill() between Kalman and candle mid-body, transparent at the Kalman line and saturated at the body — colored by confirmed regime
K-Velocity Dots: Pulsing circles on the trail during high-velocity trend bars, intensity scales with normalized velocity score
Regime Transition Circles: Circle marker fires at every confirmed regime change — immediate visual alert to state transitions
Bull/Bear Trend Start Arrows: Triangle up/down plotshape fires at the exact bar where both Kalman direction and envelope breach first agree
Trend End Marker: X marker fires when the trending regime ends, helping traders tighten stops or close positions
Kalman Flip Labels: K▲ / K▼ labels placed below/above the Supertrend level when the Kalman bias flips direction
Envelope Squeeze Marker: Golden diamond when envelope width drops below 80% of its recent SMA — flags compression before potential breakout
Gradient Bar Coloring: Bars saturate based on distance from Kalman within envelope range, fading to neutral in range-bound conditions
10-Row Dashboard: Regime state, K-Trend direction, Kalman price, upper/lower band levels, trend bar count, T-Strength %, K-Velocity %, volatility state
Input Parameters
Kalman Filter:
Alpha (Smoothing): Controls base noise level — lower values produce a smoother, higher-lag filter (default 0.01)
Beta (Adapt Rate): Controls how quickly error variance recovers after a large miss — higher values make the filter adapt faster (default 0.10)
Period: Normalises the gain magnitude — acts as a scaling factor on both noise and beta (default 77)
Supertrend:
ST Factor: ATR multiplier for the ratchet bands around the Kalman value (default 0.7)
ST ATR Length: ATR lookback for the Supertrend band calculation (default 7)
Volatility Envelope:
Envelope WMA Length: Lookback for the WMA of high-low range (default 200)
Envelope Deviation: Multiplier on the WMA to set envelope half-width (default 1.2)
Visuals:
Toggles for Supertrend line, envelope bands, gradient fills, Kalman glow, envelope cloud, and dashboard
Bull Color (default cyan #22d3ee), Bear Color (default rose #f43f5e), Range Color (default slate #94a3b8)
How to Use This Indicator
Primary Setup — Trend Confirmation Entry:
Wait for a trend start arrow (triangle up or down) to fire. This marks the bar where the Kalman Supertrend direction and the envelope breach state first agree. Enter in the arrow direction. Trail your stop below the Kalman line for longs or above it for shorts. Exit on a Trend End X marker or when the K▲/K▼ flip label fires against your position.
Using K-Velocity for Sizing:
When velocity dots are dense and bright, momentum is expanding — the trending move is accelerating. When dots thin out or disappear, momentum is fading even if the regime has not changed yet. Reduce size on fade or tighten stops before the trend end marker appears.
Squeeze Setup:
When the golden diamond squeeze marker fires, the envelope is compressing. Wait for price to break the envelope band in either direction. If a trend start arrow follows within the next few bars, this is a high-probability breakout entry aligned with both volatility expansion and regime confirmation.
Reading the Dashboard:
T-Strength above 60% indicates a mature, sustained trend. Values below 30% indicate the regime state is new or unstable — the trend is young and position sizing should reflect that uncertainty.
Indicator Limitations
The Kalman filter's gain is bounded by the alpha and beta parameters. Very low alpha values may make the filter too sluggish to capture short, sharp reversal moves before the ratchet trail catches them
The envelope breach condition for regime confirmation means the indicator will not register a trend until price has already moved far enough from the Kalman center to exit the band — entries will not be at the very start of a move
On instruments with consistently narrow true range (low-liquidity futures, off-hours sessions), the WMA envelope may be so tight that price is rarely inside the band, causing permanent range state classification
The Kalman filter uses close-to-close data and has no concept of intrabar price action; on daily charts, a spike high that closes near the open may produce a different Kalman trajectory than on a lower timeframe
Trend Strength is a rolling 50-bar measure. On very fast timeframes, 50 bars may represent only minutes, making the percentage less meaningful as a maturity gauge
Originality Statement
This indicator is original in its application of a Kalman filter as the supertrend base, the dual-gate regime confirmation system, and the K-velocity visual intensity layer. The publication is justified because:
Applying the Supertrend ratchet to a Kalman-filtered price rather than raw hl2 produces direction changes that are measurably more stable — the Kalman pre-filters noise that would otherwise cause excessive band crossings
The dual-gate regime system (Kalman direction AND envelope breach must agree) produces a stricter trending classification than any single-condition approach, reducing false trend readings in sideways conditions
The K-velocity normalization layer embeds a momentum acceleration measure directly into the trail visualization without requiring a separate panel, communicating both direction and rate-of-change simultaneously
The envelope squeeze detection integrated with trend start arrows identifies the specific condition where compressed volatility resolves into a confirmed regime shift — a novel combination for a Kalman-based system
The Trend Strength rolling percentage provides a trend maturity measure that distinguishes freshly flipped regimes from mature, sustained trends, enabling differentiated position sizing without a separate indicator
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument. Past performance of any pattern or signal does not guarantee future results. All trading involves substantial risk. Always use proper risk management and conduct your own independent analysis.
— Made with passion by officialjackofalltrades
Indicator

Trend Trader Pro - Dynamic Volume & Trend v1.0Overview
Pro Trend Trader is a sophisticated trend-following system designed for professional-grade execution across Equities, Forex, and Crypto. Unlike standard crossover indicators, this engine integrates Volatility-Adjusted Spacing, Momentum Exhaustion Exits, and a Dynamic Persistence Engine to provide the cleanest possible visual experience without sacrificing data depth.
The Logic: How It Works
The script uses a "Tri-Layer" validation process to ensure you only enter when the market has genuine participation:
Dynamic Trend Core: Utilizes a specialized 9/21 EMA crossover logic. It includes a "Fast Reversal Mode" that prioritizes immediate price action, allowing for quicker pivots during sharp V-reversals.
Volatility-Adjusted Spacing (ATR): All signals and labels utilize an ATR-based offset. This ensures that labels never clutter the price action; they move further away during high volatility and tuck closer during consolidation.
Momentum & Volume Confirmation: Signals are cross-verified against the MACD Histogram and Relative Volume (RVOL) to ensure institutional support behind every move.
Advanced New Features
Visual Precision Connectors: Every signal (BUY/SELL/EXIT) is linked to its specific trigger candle via a vertical dotted connector. This removes ambiguity, showing you exactly which wick triggered the execution.
Smart Persistence Engine: To assist with post-trade analysis, the script features a 15-bar visibility timer. After a trade closes, the entry labels, TP hits, and exit markers remain on your chart for 15 bars, allowing you to review the trade before the "Auto-Cleanup" scrubs the chart for the next setup.
Zero-Delay Session Warm-Up: A background calculation engine ensures that all indicators are "warm" and mathematically accurate the moment the market opens, preventing the standard "indicator lag" seen in most session-restricted scripts.
Sequential TP Scaling: Visual targets (TP1–TP6) unlock dynamically. The script tracks multiple Take Profit hits simultaneously using an internal array system for flawless management.
How To Use It
The Entry: Look for the BUY/SELL labels. The dotted line will point to the exact candle.
The Management: Watch for TP HIT messages. The script will automatically draw the next target once the current one is secured.
The Exit: The script triggers an EXIT signal when MACD momentum shifts, allowing you to lock in gains before the lagging EMA crossover occurs.
The Review: Once the trade is over, you have 15 bars (customizable) to see your performance before the chart resets.
Settings Guide
Label Visibility (Bars): Adjust how long the trade history stays on your screen after an exit.
Signal Spacing: Increase this value if you use many other indicators (like VWAP or multiple EMAs) to move the labels further out of the way.
RVOL Multiplier: Set to 1.2x for standard stocks; increase for more volatile assets like Crypto or 0DTE Options.
Moderator & Open-Source Note
This script is written in Pine Script v6. It features advanced state management using Arrays to handle multiple TP labels and uses a Global Persistence Flag to manage the delayed-deletion logic. It is a complete, original work designed for clean, institutional-style chart aesthetics. Indicator

Indicator

Vantage Protocol [JOAT]Vantage Protocol
Introduction
Vantage Protocol is an advanced open-source execution strategy that integrates regime classification, adaptive momentum filtering, volume confirmation, session timing, and ATR-based risk management into a unified NNFX-aligned trading engine. Rather than relying on a single entry signal, the strategy requires alignment across five independent subsystems — regime state, momentum direction, cumulative volume delta, volume presence, and session timing — before entering a trade. This multi-gate architecture is designed to filter out low-probability setups and only execute when multiple independent factors converge.
This strategy exists because most retail strategies fail for a predictable reason: they use one or two conditions for entry and ignore the broader market context. A moving average crossover in a choppy market produces losses. A momentum signal during a low-volume session lacks follow-through. An entry outside the active institutional window misses the liquidity needed for clean execution. Vantage Protocol addresses each of these failure modes with a dedicated subsystem, and only enters when all subsystems agree.
Important Note on Strategy Results
Backtesting results shown with this strategy are historical simulations and do not guarantee future performance. Markets change, and strategies that performed well historically may not perform well in the future. The default settings use realistic parameters: 2% of equity per trade, $100,000 initial capital, no pyramiding, and zero margin. Users should add commission and slippage appropriate for their broker and instrument in the strategy Properties dialog before evaluating results. The strategy is published with these defaults to provide a transparent starting point — users are expected to adjust parameters for their specific trading conditions.
Strategy Architecture
The strategy follows an NNFX (No Nonsense Forex) inspired architecture where each subsystem acts as an independent gate. A trade is only entered when all gates are open simultaneously.
Gate 1: Regime Engine
The regime engine determines whether the market is trending or ranging. It combines three independent measures:
H-Infinity Filter: An adaptive filter from control theory that tracks price under worst-case noise assumptions. The filter's slope determines directional bias — positive slope = bullish, negative slope = bearish
R-Squared Efficiency Gate: Measures how well price fits a linear regression. When R-squared exceeds an auto-calibrating threshold (rolling mean plus k standard deviations), the efficiency gate opens, indicating a trending market. A hysteresis band prevents flickering
Chop Score: Measures path efficiency — the ratio of net movement to total path length. High chop scores indicate choppy, non-directional markets where trend-following strategies fail
The regime is classified as trending (bullish or bearish) only when R-squared confirms efficiency AND chop score confirms directional movement. If either condition fails, the regime is classified as ranging and no entries are allowed.
bool regimeTrend = effOK and not isChoppy
int regimeBias = regimeTrend ? (hinfSlope >= 0 ? 1 : -1) : 0
Gate 2: Momentum Core
The momentum subsystem uses a Laguerre RSI processed through JMA adaptive smoothing. The Laguerre filter provides a smoother, less laggy momentum reading than standard RSI, and the JMA smoothing further reduces noise while preserving responsiveness to genuine momentum shifts.
Momentum must confirm the regime direction:
For long entries: JMA-smoothed Laguerre RSI must be above the bull threshold (default: 62)
For short entries: JMA-smoothed Laguerre RSI must be below the bear threshold (default: 38)
This prevents entries when momentum is neutral or contradicts the regime bias.
Gate 3: Volume Filter (CVD)
Cumulative Volume Delta tracks net buying versus selling pressure. The strategy requires the CVD slope (smoothed with an EMA) to confirm the trade direction:
For long entries: CVD slope must be positive (net buying pressure increasing)
For short entries: CVD slope must be negative (net selling pressure increasing)
Additionally, the current bar's volume must exceed a minimum ratio relative to the 50-bar average (default: 0.7x). This filters out entries during thin-liquidity periods where price moves lack conviction and slippage risk is elevated.
Gate 4: Session Filter
An optional session window filter restricts entries to a configurable time window (default: 0200-1200 New York time). This aligns trading with the London and New York sessions where institutional liquidity is deepest. Entries outside this window are blocked because low-liquidity sessions produce unreliable price action and wider spreads.
Gate 5: Cooldown
After any exit (whether by stop loss, take profit, or regime exit), a configurable cooldown period (default: 5 bars) must pass before a new entry is allowed. This prevents revenge trading and allows the market to establish a new setup after a position closes.
Entry and Exit Logic
Entry Conditions:
All five gates must be open simultaneously, and the strategy must be flat (no existing position):
bool longSetup = regimeBias == 1 and momBull and cvdBull and volOK and sessOK and cooldownOK
bool shortSetup = regimeBias == -1 and momBear and cvdBear and volOK and sessOK and cooldownOK
Stop Loss and Take Profit:
SL and TP levels are calculated using ZEMA-smoothed ATR multiplied by configurable factors:
Stop Loss: Entry price minus (ZEMA-ATR x SL Multiplier) for longs, plus for shorts (default SL multiplier: 1.8)
Take Profit: Entry price plus (ZEMA-ATR x TP Multiplier) for longs, minus for shorts (default TP multiplier: 2.8)
The default risk-reward ratio is approximately 1:1.56 (1.8 SL to 2.8 TP). ZEMA smoothing on the ATR removes noise from the volatility measure, producing more stable SL/TP levels than raw ATR.
Regime Exit:
If the regime flips to ranging or the opposite direction while a position is open, the strategy closes the position immediately with a "Regime Exit" comment. Additionally, if momentum deteriorates significantly (Laguerre RSI crossing back toward neutral), the position is closed. This prevents holding positions through regime changes where the original thesis is no longer valid.
Band Structure Visualization
The strategy plots a JMA baseline with regime-colored glow, and SL/TP bands around it:
SL bands (inner) shown in muted scarlet with fill zones
TP bands (outer) shown in muted jade with cross-style plotting
The baseline color shifts based on regime: green for bullish trend, red for bearish trend, purple for ranging
Bar coloring reflects the current position state: green when long, red when short, purple when ranging (no position allowed), and grey when flat in a trending regime.
Default Strategy Properties
These are the default values used in the strategy's Properties dialog:
Initial Capital: $100,000
Order Size: 2% of equity per trade
Pyramiding: 0 (no adding to positions)
Margin: Long 0%, Short 0% (cash account simulation)
Commission: Not set by default — users should configure this for their broker (typical values: 0.01-0.1% for crypto, $1-5 per contract for futures, 1-3 pips for forex)
Slippage: Not set by default — users should configure this for their instrument (typical values: 1-3 ticks for liquid instruments, more for illiquid ones)
Users are strongly encouraged to set realistic commission and slippage values before evaluating backtesting results. Results without commission and slippage will overstate performance.
Input Parameters
Regime Engine:
R-Squared Length (default: 30), R-Squared Threshold k (default: 0.8), Chop Length (default: 20), Chop Threshold (default: 0.55)
H-Infinity Order (default: 3), Noise (default: 0.5), Disturbance (default: 1.0)
Momentum Core:
Laguerre Alpha (default: 0.07), JMA Smooth Period (default: 8), Bull Threshold (default: 62), Bear Threshold (default: 38)
Volume Filter:
CVD Smoothing (default: 14), Min Volume Ratio (default: 0.7)
Band Structure:
JMA Period (default: 21), ATR Length (default: 14), SL Multiplier (default: 1.8), TP Multiplier (default: 2.8)
Session Filter:
Session Filter toggle (default: on), Active Window (default: 0200-1200), Timezone (default: America/New_York)
Risk Management:
Risk % (default: 1.5), Re-entry Cooldown (default: 5 bars)
How to Use This Strategy
Step 1: Configure for Your Instrument
Open the strategy Properties dialog and set commission and slippage values appropriate for your broker and instrument. Adjust the session window if you trade instruments with different liquidity patterns than the default London/NY window.
Step 2: Evaluate on Sufficient Data
Run the strategy on a dataset that produces at least 100 trades for statistical significance. Short datasets with few trades produce unreliable performance metrics. Use the strategy tester's detailed trade list to review individual trades.
Step 3: Monitor the Dashboard
The 9-row dashboard shows the state of every subsystem in real-time: regime classification, momentum reading, CVD direction, volume ratio, session status, current position, ATR value, and cooldown status. This transparency lets you understand exactly why the strategy is or is not entering trades.
Step 4: Understand the Regime Exit
The strategy will close positions when the regime changes, even if the SL/TP has not been hit. This is by design — holding a trend-following position through a regime change to ranging is a common source of losses. Regime exits may result in small wins or small losses, but they prevent the larger losses that come from ignoring changing conditions.
Step 5: Adjust Parameters Thoughtfully
If the strategy produces too few trades, consider lowering the momentum thresholds (bull from 62 to 58, bear from 38 to 42) or reducing the minimum volume ratio. If it produces too many losing trades, consider increasing the R-squared threshold k or the chop threshold. Each parameter change affects the trade-off between signal frequency and signal quality.
Strategy Limitations and Compromises
Trade Frequency: The five-gate architecture is deliberately selective. On many instruments and timeframes, the strategy may only produce a handful of trades per month. This is by design — fewer, higher-quality trades — but it means the strategy is not suitable for traders who need frequent activity
Regime Detection Lag: The regime engine uses lookback-based measures (R-squared, chop score) and persistence requirements. Regime changes are identified with a delay, which means the strategy may miss the first portion of a new trend or hold slightly into a regime change
CVD Approximation: The volume delta calculation (close > open = buying) is an approximation. True order flow requires Level 2 data not available in Pine Script. On instruments with unreliable volume data (forex with tick volume), the CVD gate may be less effective
Fixed SL/TP: Stop loss and take profit are set at entry and do not trail. In strong trends, the strategy may exit at the TP while the trend continues. A trailing stop modification could capture more of extended moves but would also increase the risk of giving back profits during pullbacks
Session Dependency: The default session filter is optimized for forex and futures with distinct London/NY sessions. Crypto and other 24/7 markets may benefit from disabling the session filter or adjusting the window
No Pyramiding: The strategy does not add to winning positions. This limits profit potential in strong trends but also limits risk exposure
Backtesting vs Live: Backtesting assumes fills at the close of the signal bar. In live trading, slippage, requotes, and execution delays may produce different results. Always paper trade before committing real capital
Originality Statement
This strategy is original in its multi-gate architecture that synthesizes five independent subsystems into a unified execution engine. While individual components (regime detection, Laguerre RSI, CVD, session filtering, ATR-based risk management) are established concepts, this strategy is justified because:
The five-gate entry architecture (regime + momentum + CVD + volume + session) provides a systematic approach to filtering low-probability setups that is not available in single-indicator strategies
The H-Infinity filter for regime detection applies control theory to market classification, providing a theoretically grounded alternative to simple moving average crossover regime detection
The triple-measure regime engine (R-squared + chop + H-Infinity slope) provides more robust regime classification than any single measure
The regime exit mechanism actively manages positions based on changing market conditions rather than relying solely on fixed SL/TP levels
The NNFX-inspired architecture with clearly separated subsystems (baseline, confirmation, volume, exit, session) provides a modular framework that traders can understand, evaluate, and modify
The cooldown mechanism prevents revenge trading after exits, addressing a common behavioral trading error
All subsystem states are displayed transparently in the dashboard, allowing traders to understand exactly why trades are or are not being taken
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Backtesting results are historical simulations based on past data. Past performance does not guarantee future results. The strategy's historical performance was generated under specific market conditions that may not repeat. Markets are dynamic, and strategies that worked historically may fail in the future.
The default strategy properties do not include commission or slippage. Users must configure these values for their specific broker and instrument to obtain realistic performance estimates. Results without commission and slippage will overstate actual trading performance.
Always use proper risk management, including position sizing appropriate for your account and risk tolerance. Never risk more than you can afford to lose. Consider paper trading this strategy extensively before using real capital. The author is not responsible for any losses incurred from using this strategy.
-Made with passion by officialjackofalltrades
Strategy

Momentum Fusion Index: Dual-MTF RSI & MACD Momentum Fusion Index: Dual-MTF RSI & MACD
The Momentum Fusion Index (MFI) is a high-performance hybrid engine that merges the precision of RSI with the trend-following power of MACD into a unified, noise-filtered oscillator. This version introduces Dual-MTF (Multi-Timeframe) Logic, allowing traders to bridge the gap between short-term execution and long-term trend direction within a single indicator panel.
🚀 Key Features
* Dual-MTF Engine: Analyze two timeframes simultaneously. Stay on your execution chart (e.g., 5m or 15m) while monitoring the high-level momentum (e.g., 1H or 4H) on a secondary, non-intrusive line.
* Symmetrical Fusion Logic: Standard RSI (0–100) and MACD (unbounded) are mathematically transformed into a balanced -100 to +100 scale, providing a standardized environment for momentum analysis.
* Dynamic Normalization: The script utilizes a 200-bar Normalization Range to anchor the MACD within fixed boundaries, making it easy to identify historical extremes and exhaustion points.
* Directional Adaptive Coloring: The primary signal line changes color based on its trajectory. Bright Green signals accelerating bullish momentum, while Vibrant Red signals a momentum slowdown or bearish shift.
🧠 Mathematical Logic
The MFI operates by calculating the relative position of the MACD within its recent range and merging it with a centered RSI. This ensures that the oscillator doesn't just show if a trend is "up," but how much "power" is behind that move relative to both price history and oscillator strength. By fusing these two, it offsets the lagging nature of MACD with the leading characteristics of RSI.
🛠️ How to Use
1. Confluence Trading: Enable the Secondary Timeframe in settings. When both the Primary (thick) and Secondary (thin) lines align in the same direction above or below the Zero Line, you have a high-probability momentum setup.
2. The Zero-Line Pivot: Crosses above the Zero Balance Line mark bullish transitions, while crosses below mark bearish momentum shifts.
3. The Power Zones (±50): Momentum is considered "High Conviction" when the line sustains itself above +50 (Strong Bull) or below -50 (Strong Bear).
4. Momentum Exhaustion: When the Fusion line hits the ±100 Extremes, watch for price exhaustion and potential mean-reversion.
⚙️ Settings
* Primary Timeframe: Set the main calculation TF. Leave empty to auto-lock to your current chart.
* Secondary Timeframe (MTF 2): Toggle this on to overlay a second time-period (e.g., Daily) for macro trend confirmation.
* Fusion Core: Customize RSI periods and MACD EMA lengths to suit your specific asset.
* Smoothing: Adjust the Fusion Smoothing to filter out noise or increase responsiveness.
📌 Credits & Origins
This work is a synthesis of the foundational mathematics pioneered by J. Welles Wilder (RSI) and Gerald Appel (MACD). It is designed for traders who require a mathematically grounded, unified view of market strength.
Disclaimer: All indicators are probabilistic. The Momentum Fusion Index is a decision-support tool and does not guarantee profits. Always use stop-losses and follow your risk management plan. Indicator

[SSS] ATR x Trend x Volume Signals# ATR x Trend x Volume Signals
---
## ENGLISH
ATR x Trend x Volume Signals is a multi-factor, non-repainting indicator that combines volatility structure, trend direction, and volume expansion into a single decision-support framework. It is primarily designed for futures trading on the Moscow Exchange (MOEX), but can be adapted to any instrument with sufficient volume data. It is built for traders who rely on technical confluence and prefer clear, rule-based setups with built-in position sizing.
🎯 **Purpose**
This tool identifies high-probability moments when three independent analytical layers — ATR-based volatility, CCI-driven higher-timeframe trend, and statistical volume analysis — all align. It helps filter out market noise and focus attention on clean, actionable conditions.
⚙️ **Structure**
The indicator consists of three core analytical layers plus supporting modules:
1️⃣ **ATR Trailing Stop (Dual Layer)** — Two adaptive ATR trailing lines (fast and slow) define the volatility envelope. The fast trail (optional display) responds quickly to price changes, while the slow trail acts as the primary trend filter and dynamic stop-loss reference. When the fast trail is above the slow trail, the structure is bullish (green); otherwise bearish (red).
2️⃣ **Trend Indicator (CCI + ATR, Higher Timeframe)** — A CCI-based directional filter combined with ATR smoothing, calculated on a user-defined higher timeframe. It determines the dominant trend and reduces false signal flips. The indicator uses a confirmed-bar anti-repaint pattern (` ` + `lookahead_on`) to ensure values are locked to the last closed HTF bar and never change retroactively.
3️⃣ **Volume Analysis (Statistical Deviation)** — Volume is evaluated against its historical moving average using standard deviation bands. Bars are classified into three tiers:
- 🟡 Medium volume (> 1.0 σ)
- 🟠 High volume (> 2.5 σ)
- 🔴 Extra-high volume (> 4.0 σ)
All thresholds are fully configurable.
💡 **Signal Logic**
A **Buy Signal** 🟢 appears when ALL of the following conditions are met simultaneously:
- The ATR structure is bullish (fast trail > slow trail).
- The Trend Indicator is blue (CCI ≥ 0 on the higher timeframe).
- A bullish candle closes above both the slow ATR trail and the Trend Indicator line.
- The bar shows at least medium volume (≥ 1.0 σ above average).
- The current bar is within the user-defined trading session.
A **Sell Signal** 🔴 appears when:
- The ATR structure is bearish (fast trail < slow trail).
- The Trend Indicator is red (CCI < 0 on the higher timeframe).
- A bearish candle closes below both the slow ATR trail and the Trend Indicator line.
- The bar shows at least medium volume (≥ 1.0 σ above average).
- The current bar is within the user-defined trading session.
**One signal per ATR phase:** Only one Buy or Sell signal can fire per ATR trend cycle. A new signal is generated only after the ATR direction changes and all conditions re-align.
❌ **Exit Logic**
Exit markers (cross symbols) appear when price crosses the slow ATR trailing line after an entry. This simulates a trailing-stop exit. The exit is suppressed on the entry bar itself to prevent same-bar false exits. A small percentage offset (0.07%) is applied to reduce noise-triggered exits.
⏰ **Session Filter**
Signals are generated only between user-defined start and end times (default: 14:00–18:00 chart time). This allows traders to restrict signal generation to their preferred active trading hours. Additionally, the chart background can be colored to visually separate session zones:
- 🟦 Cold session (default 00:00–14:00)
- 🟩 Work session (default 14:00–18:00)
- 🟥 Hot session (default 18:00–23:59)
📐 **Position Sizing Module**
A built-in position sizing table (bottom-right corner) calculates in real time:
- Risk amount in account currency based on account capital and risk percentage.
- Effective stop distance = ATR stop % + user-defined buffer %.
- Number of contracts (rounded down to whole number).
- Actual risk in currency and as percentage of account.
- Separate row for the last signal's position size at the moment of signal occurrence.
All parameters (account capital, point value, risk %, ATR buffer %) are configurable via inputs.
📊 **ATR TP Table**
A second table (bottom-left corner) displays the current ATR percentage distance from the close to the slow trail, along with calculated take-profit levels at 0.5×, 1×, 1.5×, 2×, and 3× the ATR distance. Each TP level can be individually shown or hidden.
🔔 **Alerts**
The indicator supports PulseWire alerts for Buy and Sell signals. Each alert message includes: entry price, stop-loss price, ATR stop %, effective stop (ATR + buffer) %, position size in contracts, and all five TP levels.
🛡️ **Non-Repainting Design**
- The Trend Indicator uses the standard Pine Script anti-repaint pattern: `request.security()` with `lookahead = barmerge.lookahead_on` combined with ` ` offset, ensuring only confirmed (closed) HTF bar data is used.
- All signals are evaluated at bar close (`alert.freq_once_per_bar_close`).
- No future data is referenced at any point.
🧠 **Key Features**
- Dual ATR trailing stop (fast + slow) for volatility structure
- CCI-based higher-timeframe trend filtering (non-repainting)
- Statistical volume deviation heatmap (3 tiers)
- Session-restricted signal generation with visual background zones
- Dynamic trailing-stop exit system
- Built-in position sizing calculator with ATR buffer
- Multi-level take-profit reference table
- Alert-ready with full trade context
- Fully configurable inputs
- Pine Script v6
📈 **Usage Tips**
- For best results, set the Trend Indicator timeframe higher than the chart timeframe (e.g., chart on 1 min → Trend Indicator on 15 min; chart on 5 min → Trend Indicator on 1 hour).
- Combine with support/resistance levels, market structure, or higher-timeframe confirmation for additional context.
- Adjust volume thresholds based on the instrument's typical volume profile.
- Use the position sizing table to maintain consistent risk management across trades.
🔧 **Configurable Parameters**
Almost every aspect of the indicator can be customized through the Settings/Inputs panel:
*ATR Trailing Stop:* Fast ATR Period and Multiplier, Slow ATR Period and Multiplier, option to show/hide the fast trail line.
*Trend Indicator:* Higher timeframe selection, CCI Period, ATR Multiplier and Period for the trend calculation, option to show/hide.
*Volume Analysis:* MA Length, StdDev Length, and three threshold levels (Medium, High, Extra-High) — adjust these to match the volume profile of your instrument. Option to show/hide bar coloring.
*Session Filter:* Signal Start/End time, three session zones (Cold/Work/Hot) with independent start/end times and background colors — all customizable to your exchange schedule.
*Position Sizing:* Account Capital (RUB), Point Value (RUB), Risk per Trade (%), ATR Buffer (%) — these drive the real-time position sizing table.
*TP Table:* Each take-profit level (TP0.5, TP1, TP1.5, TP2, TP3) can be individually shown or hidden. Text size for both tables is selectable.
This flexibility allows the indicator to be tuned for different instruments, timeframes, and trading styles without modifying the code.
💰 **Recommended Risk and Money Management**
It is strongly recommended to use a structured risk and money management system with multi-step exits:
*Risk per trade:* 1% of account capital. The built-in position sizing module calculates the exact number of contracts for this risk level automatically.
*Multi-step exit system:*
- **0.5R reached** — move the stop-loss to breakeven (entry price). This eliminates the risk on the trade.
- **1R reached** — close half of the position to lock in profit. For the remaining half, choose one of two approaches depending on the results of your own backtesting: either trail the stop using the slow ATR line, or hold for a fixed R-multiple target (e.g., 1.5R, 2R, or 3R).
The TP table on the chart displays all these R-levels in real time, making it easy to plan exits visually. Past performance does not guarantee future results — always validate any exit strategy with your own backtesting before trading live.
📈 **Credits**
Inspired by:
- ATR Trailing Stop by Ceyhun
- Trend Magic by Kivanc Ozbilgic
- Heatmap Volume by xdecow
---
## РУССКИЙ
ATR x Trend x Volume Signals — это мультифакторный индикатор без перерисовки, объединяющий анализ волатильности, направления тренда и объёма в единую систему принятия решений. Индикатор предназначен в первую очередь для торговли фьючерсами на Московской бирже (MOEX), но может быть адаптирован для любого инструмента с достаточными данными по объёму. Создан для трейдеров, использующих техническую конфлюэнцию и предпочитающих чёткие, основанные на правилах торговые сетапы со встроенным расчётом позиции.
🎯 **Назначение**
Инструмент определяет моменты высокой вероятности, когда три независимых аналитических слоя — волатильность на основе ATR, тренд на старшем таймфрейме через CCI и статистический анализ объёма — совпадают одновременно. Это помогает отфильтровать рыночный шум и сосредоточиться на чистых, пригодных для торговли условиях.
⚙️ **Структура**
Индикатор состоит из трёх основных аналитических слоёв и вспомогательных модулей:
1️⃣ **ATR Trailing Stop (двойной)** — Две адаптивные линии ATR (быстрая и медленная) формируют контур волатильности. Быстрая линия (отображение опционально) реагирует на цену оперативно, медленная служит основным трендовым фильтром и динамическим уровнем стоп-лосса. Когда быстрая линия выше медленной — структура бычья (зелёная), иначе — медвежья (красная).
2️⃣ **Trend Indicator (CCI + ATR, старший таймфрейм)** — Направленный фильтр на основе CCI в сочетании со сглаживанием ATR, рассчитываемый на заданном пользователем старшем таймфрейме. Определяет доминирующий тренд и снижает ложные переключения. Используется стандартный анти-репейнт паттерн Pine Script (` ` + `lookahead_on`), что гарантирует использование только данных последнего закрытого бара старшего ТФ без ретроспективных изменений.
3️⃣ **Анализ объёма (статистическое отклонение)** — Объём оценивается относительно исторического среднего с помощью стандартного отклонения. Бары классифицируются на три уровня:
- 🟡 Средний объём (> 1.0 σ)
- 🟠 Высокий объём (> 2.5 σ)
- 🔴 Сверхвысокий объём (> 4.0 σ)
Все пороги полностью настраиваемы.
💡 **Логика сигналов**
**Сигнал на покупку** 🟢 появляется при одновременном выполнении ВСЕХ условий:
- Структура ATR бычья (быстрая линия > медленной).
- Trend Indicator синий (CCI ≥ 0 на старшем таймфрейме).
- Бычья свеча закрывается выше медленной линии ATR и линии Trend Indicator.
- Бар показывает как минимум средний объём (≥ 1.0 σ выше среднего).
- Текущий бар находится в пределах заданной торговой сессии.
**Сигнал на продажу** 🔴 появляется при:
- Структура ATR медвежья (быстрая линия < медленной).
- Trend Indicator красный (CCI < 0 на старшем таймфрейме).
- Медвежья свеча закрывается ниже медленной линии ATR и линии Trend Indicator.
- Бар показывает как минимум средний объём (≥ 1.0 σ выше среднего).
- Текущий бар находится в пределах заданной торговой сессии.
**Один сигнал за фазу ATR:** Только один Buy или Sell сигнал может сработать за один цикл тренда ATR. Новый сигнал генерируется только после смены направления ATR и повторного совпадения всех условий.
❌ **Логика выхода**
Маркеры выхода (крестики) появляются при пересечении ценой медленной линии ATR после входа. Это имитирует выход по трейлинг-стопу. Выход подавляется на баре входа для предотвращения ложных закрытий. Применяется небольшой процентный отступ (0.07%) для снижения шумовых срабатываний.
⏰ **Фильтр по сессиям**
Сигналы генерируются только в пределах заданного временного окна (по умолчанию: 14:00–18:00 по времени графика). Это позволяет ограничить генерацию сигналов активными торговыми часами. Дополнительно фон графика может окрашиваться для визуального разделения сессий:
- 🟦 Холодная сессия (по умолчанию 00:00–14:00)
- 🟩 Рабочая сессия (по умолчанию 14:00–18:00)
- 🟥 Горячая сессия (по умолчанию 18:00–23:59)
📐 **Модуль расчёта позиции**
Встроенная таблица расчёта позиции (правый нижний угол) рассчитывает в реальном времени:
- Сумму риска в валюте счёта на основе капитала и процента риска.
- Эффективное расстояние до стопа = ATR стоп % + пользовательский буфер %.
- Количество контрактов (округление вниз до целого числа).
- Фактический риск в валюте и в процентах от счёта.
- Отдельная строка с размером позиции последнего сигнала на момент его возникновения.
Все параметры (капитал, стоимость пункта, % риска, буфер ATR) настраиваются через входные данные.
📊 **Таблица ATR TP**
Вторая таблица (левый нижний угол) отображает текущее процентное расстояние ATR от цены закрытия до медленной линии, а также рассчитанные уровни тейк-профита: 0.5×, 1×, 1.5×, 2× и 3× от ATR-расстояния. Каждый уровень TP можно включить или скрыть индивидуально.
🔔 **Алерты**
Индикатор поддерживает алерты PulseWire для сигналов Buy и Sell. Каждое сообщение алерта содержит: цену входа, цену стоп-лосса, ATR стоп %, эффективный стоп (ATR + буфер) %, размер позиции в контрактах и все пять уровней TP.
🛡️ **Защита от перерисовки**
- Trend Indicator использует стандартный анти-репейнт паттерн Pine Script: `request.security()` с `lookahead = barmerge.lookahead_on` в сочетании со сдвигом ` `, что гарантирует использование только подтверждённых (закрытых) данных старшего ТФ.
- Все сигналы оцениваются на закрытии бара (`alert.freq_once_per_bar_close`).
- Будущие данные не используются ни в одном месте кода.
🧠 **Основные возможности**
- Двойной ATR trailing stop (быстрый + медленный) для структуры волатильности
- Трендовый фильтр на CCI со старшего таймфрейма (без перерисовки)
- Тепловая карта объёма по статистическому отклонению (3 уровня)
- Генерация сигналов с ограничением по сессии и визуальным фоном
- Динамическая система выхода по трейлинг-стопу
- Встроенный калькулятор размера позиции с ATR-буфером
- Многоуровневая справочная таблица тейк-профитов
- Готовые алерты с полным торговым контекстом
- Полностью настраиваемые параметры
- Pine Script v6
📈 **Рекомендации по использованию**
- Для лучших результатов устанавливайте таймфрейм Trend Indicator выше таймфрейма графика (например: график на 1 мин → Trend Indicator на 15 мин; график на 5 мин → Trend Indicator на 1 час).
- Комбинируйте с уровнями поддержки/сопротивления, рыночной структурой или подтверждением со старшего таймфрейма.
- Настраивайте пороги объёма в зависимости от типичного профиля объёма инструмента.
- Используйте таблицу расчёта позиции для поддержания последовательного управления рисками.
🔧 **Настраиваемые параметры**
Практически каждый аспект индикатора можно настроить через панель Настройки/Аргументы:
*ATR Trailing Stop:* Период и множитель быстрого ATR, период и множитель медленного ATR, возможность показать/скрыть быструю линию.
*Trend Indicator:* Выбор старшего таймфрейма, период CCI, множитель и период ATR для расчёта тренда, возможность показать/скрыть.
*Анализ объёма:* Длина MA, длина StdDev и три порога (средний, высокий, сверхвысокий) — настраивайте их под профиль объёма вашего инструмента. Возможность показать/скрыть окраску баров.
*Фильтр сессий:* Время начала/окончания сигналов, три зоны сессий (холодная/рабочая/горячая) с независимыми временами начала/окончания и цветами фона — всё настраивается под расписание вашей биржи.
*Расчёт позиции:* Капитал счёта (RUB), стоимость пункта (RUB), риск на сделку (%), буфер ATR (%) — эти параметры управляют таблицей расчёта позиции в реальном времени.
*Таблица TP:* Каждый уровень тейк-профита (TP0.5, TP1, TP1.5, TP2, TP3) можно индивидуально показать или скрыть. Размер текста обеих таблиц выбирается отдельно.
Эта гибкость позволяет адаптировать индикатор под различные инструменты, таймфреймы и торговые стили без изменения кода.
💰 **Рекомендуемый риск- и мани-менеджмент**
Настоятельно рекомендуется использовать структурированную систему управления рисками и капиталом с многоступенчатыми выходами:
*Риск на сделку:* 1% от капитала счёта. Встроенный модуль расчёта позиции автоматически вычисляет точное количество контрактов для этого уровня риска.
*Многоступенчатая система выходов:*
- **Достигнут 0.5R** — перевод стоп-лосса в безубыток (цена входа). Это полностью устраняет риск по сделке.
- **Достигнут 1R** — фиксация половины позиции для закрепления прибыли. Для оставшейся части выберите один из двух подходов в зависимости от результатов вашего собственного бэктеста: либо трейлинг стопа по медленной линии ATR, либо удержание до фиксированного R-мультипла (например, 1.5R, 2R или 3R).
Таблица TP на графике отображает все эти R-уровни в реальном времени, что позволяет визуально планировать выходы. Прошлые результаты не гарантируют будущих — всегда проверяйте любую стратегию выхода собственным бэктестом перед реальной торговлей.
📈 **Благодарности**
Создано на основе идей:
- ATR Trailing Stop — Ceyhun
- Trend Magic — Kivanc Ozbilgic
- Heatmap Volume — xdecow Indicator

Indicator

Fade The Crowd Protocol >_A structured contrarian system that deliberately inverts conventional MACD + VWMA momentum signals — entering short when the crowd goes long, and long when the crowd goes short. Filtered by ADX, Choppiness Index, and a configurable cooldown timer, the strategy ensures fades execute only at statistically credible exhaustion points, not into directionless noise. Exits are managed through ATR%-normalized take profit and stop loss levels anchored to fill price, with a hard-cap Plug stop bounding maximum loss on every trade.
═══════════════════════════════════════
THE CONTRARIAN PREMISE
═══════════════════════════════════════
When a conventional momentum setup reaches full confirmation — MACD crossover, positive histogram, price at or above VWMA — the crowd is already positioned. Late-stage consensus entries carry elevated mean-reversion risk. The Fade The Crowd Protocol identifies that exact moment of crowd consensus and enters against it.
This is not arbitrary signal flipping. The inversion is applied to a well-defined, multi-condition setup. ADX and Choppiness filters ensure the fade occurs within a trending, structured market environment. A cooldown timer enforces separation between trades, preventing rapid re-entry after stop-outs.
═══════════════════════════════════════
THE INVERSION LOGIC
═══════════════════════════════════════
Conventional long setup → Fade The Crowd goes SHORT
Condition: MACD crossover + histogram above zero + price touches or exceeds VWMA
Crowd interpretation: Bullish momentum confirmed, late buyers entering
Fade interpretation: Crowd is fully long — exhaustion and reversion risk is elevated
Conventional short setup → Fade The Crowd goes LONG
Condition: MACD crossover + histogram below zero + price touches or falls to VWMA
Crowd interpretation: Bearish momentum confirmed, late sellers entering
Fade interpretation: Crowd is fully short — bounce and reversion risk is elevated
Both directions additionally require: CHOP below threshold, ADX above threshold, cooldown timer cleared, and no existing open position.
═══════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════
Signal Inversion Engine
— MACD crossover (either direction) as the base crowd-consensus event
— Histogram sign identifies which direction the crowd is leaning
— VWMA touch confirms price has aligned with the dominant crowd position
— Entry is taken against all three simultaneously satisfied conditions
Cooldown Timer
— Tracks bar index at every trade exit via last_exit_bar variable
— All new entries blocked for a configurable number of bars post-exit
— Prevents rapid re-entry sequences following volatile stop-out events
— Configurable independently of all other filters
ADX + Choppiness Index Filters
— CHOP below threshold confirms the market exhibits directional structure
— ADX above threshold confirms sufficient trend force at signal bar
— Both filters must pass simultaneously with the inversion signal
— Prevents fading in low-conviction, oscillating environments where mean reversion is unreliable
Two-Step ATR% Exit Architecture
— ATR% captured and stored at trigger bar before entry executes
— TP and SL calculated from strategy.position_avg_price on first position bar
— Exit levels locked — no recalculation on subsequent bars
— TP HIT and SL HIT comments displayed on chart for post-hoc analysis
The Plug — Hard Stop Architecture
— Independent hard percentage stop applied to every trade
— For longs: fill_price × (1 − Plug%). For shorts: fill_price × (1 + Plug%)
— Compared against ATR SL using math.max() / math.min() — tighter stop always applied
— Ensures maximum loss is bounded regardless of ATR expansion at entry
═══════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════
Step 1 — Crowd Consensus Detection
The strategy evaluates three conditions that define a fully-formed conventional momentum signal: MACD has crossed its signal line (ta.cross), the MACD histogram confirms directional bias (above zero for bullish, below for bearish), and price has touched or breached the VWMA in the same direction (high >= VWMA for bullish, low <= VWMA for bearish). When all three align, the crowd is fully positioned.
Step 2 — Environment Filtering
Choppiness Index below threshold confirms the market is not ranging — a prerequisite for meaningful momentum exhaustion. ADX above threshold confirms trend force exists. Cooldown timer confirms sufficient bar-distance from the prior trade exit. All three environmental conditions must pass simultaneously with the crowd signal.
Step 3 — Contrarian Entry
The strategy enters in the opposite direction to the crowd consensus: short against the bullish setup, long against the bearish setup. ATR% at the trigger bar is captured into stored_atr_pct before the entry order executes.
Step 4 — Exit Level Calculation
On the first bar where position size is non-zero (position just opened), TP and SL prices are calculated using strategy.position_avg_price and the stored ATR%. The Plug stop is calculated independently. math.max() (longs) or math.min() (shorts) selects whichever stop is tighter. All levels are stored in fixed variables and passed to strategy.exit() — no dynamic recalculation occurs mid-trade.
═══════════════════════════════════════
WHY MACD + VWMA AS THE CROWD PROXY
═══════════════════════════════════════
MACD is one of the most widely used momentum indicators in retail trading. VWMA incorporates volume-weighted price — a common institutional reference level. Together, they define a setup that is broadly taught, widely traded, and reliably over-populated at the moment of full confirmation. The Fade The Crowd Protocol uses this familiarity as a structural edge: the more crowded the conventional signal, the more statistical force the fade carries when those positions unwind.
Strategy

Alpha TRIX Strategy >_The Alpha TRIX Strategy is a precision trend-following system built on a deceptively simple but powerful principle: only trade when the market is genuinely trending, genuinely moving, and genuinely tilted in your direction. It achieves this by stacking three independent validation layers — a momentum signal (TRIX), a regime filter (Choppiness Index), and a directional strength filter (ADX) — before a single entry is placed.
Unlike raw TRIX crossover systems that fire indiscriminately, this strategy demands that all three conditions are simultaneously satisfied. The result is a lower-frequency, higher-conviction signal profile that avoids the whipsaw-heavy environments where pure momentum strategies bleed equity.
═══════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════
Momentum Engine (TRIX)
— Triple-smoothed EMA eliminates high-frequency noise
— ROC of EMA³ isolates trend acceleration
— Zero-line crossover generates long and short triggers
— Configurable TRIX length for sensitivity tuning
Regime Filter — Choppiness Index
— CHOP < threshold confirms non-choppy, directional structure
— Blocks entries during range-bound, sideways markets
— Eliminates the most expensive entry environment for trend-following systems
Directional Filter — ADX
— ADX > minimum threshold confirms trend force is sufficient
— Calculated via full DMI (DI+ / DI−)
— Guards against weak-trend entries that stall post-entry
ATR% Exit Framework
— Take profit and stop loss scaled to realized volatility at entry
— Levels locked at execution candle — no mid-trade recalculation
— Independent TP and SL multipliers for asymmetric risk configuration
Trade Direction Control
— Long only, short only, or both — configurable at runtime
═══════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════
Step 1 — TRIX Signal
EMA is applied three times to close price, producing EMA³. Rate-of-change of EMA³ over 1 bar yields the TRIX value. A crossover above zero triggers a long; a crossunder triggers a short.
Step 2 — Choppiness Gate
The Choppiness Index measures the ratio of summed 1-bar ATR to the total high-low range over the lookback window, log-normalized. Values below the threshold indicate the market is exhibiting directional structure rather than random oscillation.
Step 3 — ADX Gate
ADX above the minimum confirms that whatever direction the market is moving, it is doing so with sufficient force. Both filters must pass simultaneously with the TRIX signal for entry to execute.
Step 4 — Entry and Exit
Entry is placed immediately. Take profit and stop loss are calculated as Close × (ATR / Close) × Multiplier — which resolves to ATR × Multiplier — and passed directly to strategy.exit() at the entry bar. This prevents dynamic recalculation from altering risk parameters mid-trade, closing the gap between backtested and live performance.
═══════════════════════════════════════
DESIGN RATIONALE
═══════════════════════════════════════
The TRIX advantage: triple-smoothing suppresses noise while the ROC step converts price level into momentum velocity. The zero-line crossing represents a genuine shift in trend acceleration — a higher-quality signal than single or double EMA crossovers.
Why CHOP + ADX? Each filter attacks a different failure mode. The Choppiness Index identifies range-bound structure where momentum signals are statistically unreliable. ADX addresses weak-trend environments where the market has a direction but insufficient force to sustain movement. Together they gate out the two most expensive entry environments for trend-following systems.
Locked exits: TP and SL are calculated once at the entry bar and immediately committed to the broker. This design closes a common source of backtest-to-live divergence in ATR-based systems — where dynamic recalculation on subsequent bars silently shifts risk levels mid-trade.
Strategy

RSI Divergence on Chart MTFRSI Divergence Overlay MTF
RSI Divergence Overlay MTF is an advanced divergence detection indicator that identifies RSI-based divergence directly on the price chart without using a separate oscillator panel.
Designed for traders who prefer a cleaner chart layout, this script plots divergence signals on candlesticks while allowing multi-timeframe RSI analysis for higher-timeframe confirmation.
Features
Detects Bullish Divergence
Detects Bearish Divergence
Optional Hidden Bullish / Hidden Bearish Divergence
Displays signals directly on the main price chart
No lower RSI panel / oscillator clutter
Supports Multi-Timeframe RSI Divergence Detection
Customizable RSI Length, Source, Pivot Sensitivity, and Signal Display
Built-in Alert Conditions
Non-repainting logic using confirmed pivot points
How It Works
The indicator compares price swing highs/lows with RSI swing highs/lows to detect divergence conditions.
When divergence is confirmed:
Bullish signals appear below candles
Bearish signals appear above candles
Multi-Timeframe Capability
Users can calculate RSI divergence from:
Current Chart Timeframe
Higher Timeframes (15m, 1H, 4H, Daily, etc.)
This helps traders align lower timeframe entries with higher timeframe momentum structure.
Best Used For
Trend Reversal Detection
Momentum Exhaustion Analysis
Scalping / Intraday Trading
Swing Trading Confirmation
Notes
Signals are confirmed after pivot formation to avoid repainting.
Higher pivot settings reduce noise but produce fewer signals.
Lower pivot settings create earlier but more frequent signals.
Use this tool as part of a complete trading strategy and combine it with market structure, support/resistance, or trend filters for best results. Indicator

CCI Stoic Continuation - Crossing SignalsDescription
The CCI Stoic Continuation is a refined take on the classic Commodity Channel Index, designed specifically for traders who prioritize clarity and trend persistence over chasing volatile swings. Instead of viewing the CCI as a simple overbought/oversold oscillator, this indicator treats it as a momentum thermometer .
By utilizing a multi-layered threshold system, the indicator helps traders distinguish between a nascent trend (Early Momentum) and a confirmed, high-velocity move (Strong Momentum).
How It Works
The script visualizes four distinct phases of price action based on the relationship between the CCI and key threshold levels ($10$ and $80$):
1 Early Bullish (Teal) : CCI crosses above $+10$. This suggests momentum is beginning to shift upward.
2 Strong Bullish (Cyan) : CCI crosses above $+80$. This indicates high-velocity trend continuation.
3 Early Bearish (Light Orange) : CCI crosses below $-10$. The first sign of downside pressure.
4 Strong Bearish (Red) : CCI crosses below $-80$. Indicates significant conviction in the downward move.
Key Features
• Heat Fills : The background of the indicator pane is shaded to provide an immediate psychological "feel" for the current market environment.
• Bar Coloring : Trend colors are applied directly to your price bars, allowing you to stay focused on the price action while monitoring momentum shifts.
• Transition Markers : Vertical dashed lines appear in the indicator pane whenever a momentum state changes, highlighting the exact moment a "Stoic" entry or exit might be considered.
• Precision Alerts : Built-in alert logic for both "Early" and "Strong" signals in both directions.
Usage Tips
• Trend Alignment (CRITICAL) : Do not take every signal. Only execute entries aligned with the higher-timeframe trend or overall market bias. This indicator is designed for continuation, not reversals.
• The Stoic Entry : Use the "Early" signal to prepare, and look for "Strong" confirmation to enter once the trend is clearly established.
• The Zero Line : The yellow zero line acts as the "Neutral Zone." Price action staying consistently above or below this line validates the broader trend bias.
• Timeframes : While optimized for standard settings, it performs exceptionally well on the 15m, 1h, and 4h timeframes.
Technical Settings
• CCI Length : Default 20 (Adjustable for sensitivity).
• Early Level: 10 (Customizable for tighter or looser entries).
• Strong Level: 80 (The threshold for confirmed momentum).
Author : Konstantinos Trovas
Version : 6.0 (Pine Script)
Indicator

AG Pro HTF Bias Dashboard [AGPro Series]AG Pro HTF Bias Dashboard
Overview / What it does
AG Pro HTF Bias Dashboard is a higher-timeframe context tool built for traders who want a fast, structured view of directional conditions across multiple larger timeframes without crowding the chart with extra signals, zones, or decision noise.
The script summarizes higher-timeframe bias in a compact dashboard and presents each selected row as Bull, Bear, or Neutral, together with a mode-specific status readout. The goal is not to predict the next candle or replace a full trade plan. The goal is to make larger-timeframe context easier to read at a glance.
This indicator is designed to answer a simple but important workflow question: "What is the broader directional environment across the higher timeframes I care about right now?" Instead of forcing the user to manually flip through multiple charts and compare structure or trend conditions one by one, the dashboard keeps that information visible in a single panel.
The script supports multiple bias engines so the same dashboard can be adapted to different styles of chart reading. Users can evaluate higher-timeframe context through EMA Stack alignment, confirmed Swing Structure, SuperTrend direction, or MACD Momentum agreement. This makes the tool flexible enough for trend-following traders, structure-based traders, and users who prefer momentum-style confirmation.
Unlike many overlays that try to combine entries, exits, alerts, pattern detection, and signal generation inside one study, this script stays focused on one task: higher-timeframe directional context. That single-purpose design is intentional. It keeps the output clean, readable, and easier to integrate into an existing process.
Unique Edge
The main strength of this script is not signal generation. Its edge is structured context compression.
Instead of plotting a large number of higher-timeframe elements directly on the chart, AG Pro HTF Bias Dashboard converts higher-timeframe conditions into a compact visual matrix. This makes it possible to assess multi-timeframe agreement quickly while keeping the chart itself relatively clean.
A second differentiator is the ability to switch the bias engine. The dashboard is not locked to one interpretation framework. Users can work with:
- EMA Stack, for ribbon-style alignment
- Swing Structure, for confirmed HH/HL and LH/LL progression
- SuperTrend, for ATR-based directional trend state
- MACD Momentum, for momentum agreement between line, signal, and histogram
Another important detail is the higher-timeframe validity filter. Rows that are not actually higher than the current chart timeframe are marked as Lower/EQ instead of being treated as valid higher-timeframe context. This helps keep the dashboard aligned with its intended purpose.
The script also includes confluence logic, so the user can see not only the state of each row, but also the dominant higher-timeframe bias and how many valid rows support that direction. In practice, this helps users distinguish between broad directional agreement and mixed conditions.
Methodology
The dashboard can display three to five higher-timeframe rows, depending on user settings. Each row evaluates one selected timeframe and classifies it into Bull, Bear, or Neutral.
Bias Mode options:
1) EMA Stack
This mode evaluates directional alignment using a three-EMA structure. A bullish state requires price and the EMA ribbon to be aligned in bullish order. A bearish state requires the opposite alignment. When the full sequence is not aligned, the row can remain neutral and display a partial status such as 2/3 or 1/3 rather than forcing a directional label.
2) Swing Structure
This mode uses confirmed pivot logic to read higher-timeframe structure. It looks for confirmed higher highs / higher lows or lower highs / lower lows, and then evaluates position relative to the active swing range. Because this logic depends on confirmed pivots, structure changes are naturally more selective and may appear later than faster trend models.
3) SuperTrend
This mode reads directional state using an ATR-based trend framework. It is intended for users who prefer a cleaner directional state model rather than ribbon alignment.
4) MACD Momentum
This mode classifies bias through agreement between the MACD line, signal line, and histogram. It is useful for traders who prefer momentum confirmation over structure or moving-average ordering.
The dashboard then calculates:
- the number of valid bullish rows
- the number of valid bearish rows
- the dominant higher-timeframe state
- the confluence count across valid rows
Optional chart context features are also included. Depending on settings, the script can color candles according to the active chart bias, plot the active EMA ribbon or SuperTrend on the chart, apply a subtle background tint when confluence is strong enough, and show a compact mini context tag on the chart.
States / Context Output
This indicator is a context dashboard, not an alert engine.
It does not generate buy or sell alerts, does not mark trade entries, and does not claim to identify optimal execution points. Its outputs are state-based and contextual:
- Bull
- Bear
- Neutral
- Confluence summary
- Mode-specific status text
The mini chart tag, when enabled, is only a compact summary of dominant higher-timeframe direction and current confluence. It should be read as context, not as a trade instruction.
Key Inputs
Higher Timeframes
Users can select three to five rows and define the exact higher timeframes to monitor.
Bias Mode
Choose between EMA Stack, Swing Structure, SuperTrend, and MACD Momentum.
Engine Parameters
The script exposes relevant inputs for each engine, including EMA lengths, Swing Strength, SuperTrend ATR settings, and MACD settings.
HUD Controls
The panel position and panel scale can be customized so the dashboard can fit different layouts and chart styles.
Style Controls
Users can adjust theme and directional colors for bullish, bearish, and neutral states.
Chart Context Controls
Optional features include candle coloring, active indicator plotting for EMA / SuperTrend, strong-confluence background tinting, mini context tag visibility, tag anchor, tag offset, and tag font size.
Limitations & Transparency
This script is not a prediction model. It summarizes directional context from user-selected higher-timeframe logic.
Higher-timeframe tools can update only when data from those larger intervals updates. Because of that, the dashboard should be understood as a context layer rather than a real-time trigger engine.
Swing Structure mode uses confirmed pivots. That means structure changes may appear later than faster directional methods, because confirmation requires completed pivot information.
Neutral states do not necessarily mean the market is untradeable. They simply indicate that the selected bias engine does not currently show clear directional alignment under the chosen rules.
The confluence count is a summary statistic, not a quality score. A larger number of aligned rows does not automatically mean a better trade. It only means more selected higher-timeframe rows currently point in the same direction.
Rows marked Lower/EQ are excluded from valid higher-timeframe confluence because they are not above the active chart timeframe.
This script is intended to support discretionary analysis and chart organization. It should be combined with the user’s own execution framework, risk model, and market understanding.
Risk Disclosure
This indicator is provided for analysis and educational use. It does not provide financial advice, investment advice, or guaranteed outcomes.
Market conditions can change quickly, and no single indicator or dashboard can remove uncertainty from trading or investing. Users should evaluate higher-timeframe context together with price action, liquidity, volatility, risk management, and their own decision process.
Past behavior, historical alignment, or current confluence does not guarantee future performance.
Indicator

_Trinity Matrix_
Short description
A structured multi-layer oscillator built around a refined Trinity Wave core, MFI regime columns, confidence scoring, divergence filtering, and TF / HTF context.
Full publication description
Trinity Matrix is a multi-layer oscillator designed to read continuation, reversal quality, regime strength, and divergence context inside a single panel.
It combines a refined Trinity Wave core, MFI regime structure, confidence scoring, mode-based signal filtering, divergence logic, and a compact TF / HTF dashboard into a unified workflow.
The name is a nod to layered market context: not a single signal, but a structured matrix of wave state, regime strength, confidence, and divergence.
Core Structure
Trinity Wave core with additional smoothing and soft limiting to reduce extreme spikes while preserving directional character
MFI Columns to separate baseline participation from stronger expansion phases
Strong zone highlighting to visually distinguish stronger bullish and bearish regime expansion
Confidence engine that blends Trinity Wave continuation and MFI continuation into a normalized directional score
Signal modes for different levels of selectivity: None, Early, Standard, and Strict
ATR-gated divergence filtering for cleaner divergence structures
TF / HTF confidence dashboard for comparing active timeframe conviction against a selected higher timeframe
Built-in alerts for buy, strong buy, elite buy, sell, strong sell, and elite sell conditions
How to Read It
Trinity Wave is the main directional layer. Green indicates bullish state, red indicates bearish state.
MFI Columns show regime participation.
White columns = baseline MFI flow
Shiny white columns = stronger bullish expansion
Orange columns = stronger bearish expansion
Average MFI bands help show where positive or negative regime strength is building relative to recent memory.
Confidence Dashboard summarizes directional conviction on both the active timeframe and the selected higher timeframe.
Row 1 = TF / HTF labels
Row 2 = confidence percentage
Row 3 = qualitative tag: Weak / Moderate / Strong
Signal Modes
None hides signal output
Early is faster and more aggressive
Standard is more balanced
Strict applies the strongest filtering and usually produces the fewest signals
Divergence Module
The divergence layer uses Trinity Wave turning points, confidence filtering, pivot distance control, and optional ATR gate filtering.
It can draw on the oscillator and, if enabled, on price as well.
The goal is not to maximize divergence count, but to keep the structures more selective and readable.
Alerts
This script includes separate alert conditions for:
TW Buy
TW Buy Strong
TW Buy Elite
TW Sell
TW Sell Strong
TW Sell Elite
Suggested Use
Trinity Matrix works best as a structured reading tool rather than a one-click decision engine.
A practical workflow is:
Read Trinity Wave direction and location
Check whether MFI is in baseline flow or strong expansion
Use confidence and HTF context to judge continuation or reversal quality
Use signal mode based on your desired aggressiveness
Use divergence as a contextual filter, not as a standalone trigger
Important Notes
Signal frequency changes significantly with the selected signal mode
HTF confidence reflects the live state of the selected higher timeframe
Divergence output is intentionally filtered and selective
This is an indicator framework, not a full trading strategy
Attribution
Core WaveTrend-style formulation was adapted from the open-source WaveTrend Oscillator by LazyBear, then extended with additional smoothing, soft limiting, MFI regime logic, confidence scoring, divergence filtering, dashboard structure, and alert workflow.
Acknowledgement
Built through many rounds of testing, refinement, and iteration — with a little help from ChatGPT and CodeGPT along the way.
Disclaimer
For educational and analytical use only. Not financial advice. Indicator

Saga System [LB]
hello friend here is
Saga System
The Saga System is an advanced algorithmic trend-following tool designed to detect phases of institutional accumulation and distribution . By combining Relative Volume Analysis with Price Momentum , it filters out low-quality market noise and highlights only the most meaningful directional moves through dynamic Action Zones .
Overview
The core idea behind the Saga System is simple:
Identify when abnormal volume enters the market.
Confirm that this volume aligns with directional price momentum.
Display the result as a visual zone to help traders read market intent more clearly.
This allows traders to quickly identify whether the market is under strong buying pressure or selling pressure , while keeping the chart clean and readable.
📈 Buy Setup (Long Entries)
Conditions:
Wait for a Green Saga Zone to appear.
This confirms a bullish impulse supported by an institutional volume expansion.
Make sure price remains structurally above the system’s internal EMA trend line.
Key observations:
Zone size matters: the larger the green zone, the stronger the underlying buying pressure.
Momentum stacking: two separate consecutive green zones often indicate stronger continuation potential than a single isolated signal.
Entry precision: for better timing, combine the signal with horizontal support levels, discount zones, or RSI oversold conditions.
📉 Sell Setup (Short Entries)
Conditions:
Wait for a Red Saga Zone to form.
This reflects an aggressive bearish impulse confirmed by elevated volume.
Confirm that price is trading below the system’s fast control line.
Key observations:
Zone expansion: a wide red zone often reflects strong directional volatility and can mark the start of a sustained bearish leg.
Trend confirmation: multiple consecutive red zones show that sellers remain in control of market psychology.
Risk control: the system is designed to capture the core part of the move; a close back through the opposite side of the zone often signals momentum neutralization.
before reading any other text here are somme other screen
How to Read the Zones
The Action Zones are not just visual markers — they represent moments where volume and momentum align in the same direction .
Green Zone: bullish pressure, accumulation, and potential continuation.
Red Zone: bearish pressure, distribution, and potential continuation to the downside.
Large zones: stronger conviction and greater directional intent.
Repeated zones: increased probability that the trend is strengthening rather than fading.
⚙️ Technical Methodology
The Saga System is built on three core calculation layers:
1. Institutional Volume Filter
The script calculates a Simple Moving Average (SMA) of volume over a user-defined lookback period. A zone is triggered only when current volume exceeds a predefined threshold:
Current Volume > (SMA Volume * Multiplier)
This condition helps eliminate low-liquidity noise and improves the quality of detected impulses.
2. Directional Bias Confirmation
The system uses a reactive Exponential Moving Average (EMA) to determine short-term directional bias. For a zone to remain valid, price must move in agreement with the EMA slope.
In other words:
Bullish zones require price to remain aligned with upward momentum.
Bearish zones require price to remain aligned with downward momentum.
This ensures that volume is not analyzed in isolation , but in direct relation to trend direction.
3. Dynamic State Engine
Unlike static indicators, the Saga System updates zone coordinates in real time. Each zone evolves with market structure and automatically ends when momentum weakens, typically when price crosses the ultra-fast EMA used as the internal momentum control.
This creates a clean and adaptive block-style visualization, helping the trader focus only on relevant expansion phases.
Best Use Cases
The Saga System performs best when used in confluence with other high-quality tools or structural references:
Support and resistance levels
Market structure breaks
RSI exhaustion zones
Trend continuation setups
High-volume breakout environments
It is especially useful for traders looking to isolate high-conviction trend continuation phases rather than random short-term fluctuations.
Disclaimer
Disclaimer: Trading involves substantial risk. The Saga System is a decision-support tool only and does not constitute financial advice. Past performance does not guarantee future results.
Indicator

Trend Energy Filter
🚀 Trend Energy Filter
Introducing a new dimension in trend analysis: Trend Energy.
In automotive systems (like ECU sensor data), we use hysteresis and noise-gates to prevent "jitter" from triggering false responses.
This script applies that same logic to Momentum (Trend Energy):
ENERGY: Measures the "Engine Load" of the trend by calculating the distance from a long-term SMA.
NOISE FILTER: Uses an ATR-based threshold. The Energy value only updates if the change is significant, effectively filtering out the "market static" that causes false signals.
EXHAUSTION: Detects when the "Fuel" is running out by identifying peaks in energy and subsequent cooling.
While this type of signal processing is often hidden inside expensive commercial "black box" tools, this script provides it as a transparent, open-source engineering solution.
While standard indicators look at price in isolation, the Trend Energy Filter analyzes the "tension" between price and its long-term baseline (SMA). By focusing on the Surface Area of this tension, we gain a visual representation of market conviction that has been largely overlooked by traditional technical analysis.
The Innovation of the "Energy Surface"
Most traders view moving averages as simple static lines. The Trend Energy Filter reimagines the gap between price and the SMA as a dynamic surface.
Volumetric Visualization: Instead of thin lines, the indicator uses a neon-glow "Surface" with vertical gradients. This represents the total "Energy" currently held by the trend.
Volatility-Adjusted Noise Filter: Unlike standard oscillators that whipsaw during consolidation, this script utilizes a state-persistent ATR filter. It only updates the "Surface" when market energy moves significantly, effectively silencing the noise of minor price fluctuations.
XAUUSD 15min
Peak-Based Exhaustion Logic: By tracking the Highest energy peaks over a lookback period, the script identifies when a trend's "batteries" are running low—turning the surface blue when momentum begins to stall.
How to Trade with the Energy Surface:
1. Entering the Energy Flow (Momentum Resumption)
Watch for the "Surface" to break above its previous peak. When the color shifts from the "Exhaustion Blue" back to a vibrant Bullish Green or Bearish Red, it signals that the market has finished its rest and is ready to expand the surface area again.
NAS100 15min
Signal: Momentum Increasing alert.
2. Spotting the Blow-Off (Exhaustion Detection)
When the "Surface" is high but begins to contract (falling below its recent high), the trend is becoming "over-extended" or "exhausted." This is the ideal time to take profits or tighten trailing stops.
Visual: The surface turns blue (#5b9cf6) while still at high levels.
NAS100 15 min
3. The Squeeze (Energy Compression)
When the Energy Surface is exceptionally low and the Noise Filter prevents it from fluctuating, the market is in a "coiled spring" state. A sudden expansion of the surface from a flat baseline often precedes a massive directional breakout.
NAS100 15min
4. Baseline Context
Green Surface: Price is above the 200 SMA (Bullish Energy).
Red Surface: Price is below the 200 SMA (Bearish Energy).
Blue Surface: Trend is pausing or mean-reverting (Exhaustion). Indicator

Institutional Flow Scalper [IFS] v4Institutional Flow Scalper
The Institutional Flow Scalper reconstructs institutional-grade order flow analysis using only price and volume data available on PulseWire. Instead of relying on traditional lagging indicators, IFS detects the footprints that large players leave in the market through volume delta imbalances, liquidity sweeps, and order absorption patterns.
HOW IT WORKS
IFS uses a multi-pillar confirmation system. A signal only fires when 2 or more independent pillars align in the same direction, reducing false signals and filtering noise.
The 7 Pillars:
1. Synthetic Volume Delta: Reconstructs buying vs selling pressure by analyzing where price closes within each bar's range, weighted by volume. This approximates what institutional platforms like Bookmap show through actual order flow.
2. Momentum Divergence: Compares the rate of change between price and cumulative volume delta. When price moves one direction but volume pressure shifts the opposite way, it signals exhaustion before the chart reflects it.
3. Liquidity Sweep Detection: Identifies stop hunts where price sweeps beyond a recent swing high/low with a volume spike, then fails to hold. This is the "smart money" concept of grabbing liquidity before reversing.
4. Order Absorption: Detects bars with abnormally high volume but small bodies, indicating a large player is absorbing aggressive orders without letting price move. This is what footprint chart traders look for as "stacked imbalances."
5. VWAP Cross & Band Bounce: Monitors price interaction with session VWAP and its standard deviation bands. Crosses and bounces from the 1-sigma bands serve as mean-reversion confirmation.
6. EMA Trend Alignment: Uses 9/21 EMA structure. Signals are strengthened when a strong directional candle appears in alignment with the EMA trend, or when an EMA crossover occurs.
7. POC Breakout: Tracks a dynamic Point of Control (volume-weighted price center) and flags when price breaks through it, indicating acceptance of a new price level.
SIGNAL FILTERS
Choppiness Index Filter: Measures whether the market is trending or ranging using the Choppiness Index. When chop is high (above threshold), all signals are suppressed to avoid overtrading in sideways conditions.
Session Filter: Signals are restricted to high-liquidity sessions (NY Morning, NY Afternoon, London) where institutional activity is concentrated and price moves have follow-through.
Confidence Score: Each bar receives a composite score from 0 to 100 based on all pillar inputs. Only bars exceeding the minimum confidence threshold generate signals.
Position Management: Only one trade can be active at a time. No new signal fires until the current trade closes via TP or SL. This prevents signal stacking and overtrading.
VISUAL FEATURES
Clear entry labels showing direction (LONG/SHORT), confidence percentage, and which pillars confirmed the trade. On entry, colored zones project forward showing the risk area (red box from entry to SL) and reward area (green box from entry to TP), with exact price levels and point distances on the labels.
Exit labels display the outcome: TP HIT, SL HIT, or MOM EXIT. All visual elements are limited to the current day's session to keep the chart clean as you scroll through history.
The dashboard displays real-time metrics: Confidence Score, Volume Delta direction, Pressure Index, VWAP distance, ATR, Session status, Chop Index, directional Bias, and current Position state.
SETTINGS OVERVIEW
Signal Engine: Sensitivity mode (Low/Medium/High/Adaptive), minimum confidence threshold.
Volume Delta Engine: CVD lookback and smoothing periods.
Liquidity Sweep: Swing point lookback, volume spike threshold.
VWAP: Band multipliers, POC lookback.
Anti-Chop Filter: Chop Index length and threshold.
Session Awareness: Configurable session windows for NY, PM, and London.
Risk Management: ATR-based TP and SL multipliers, visual line extension length.
Visual Style: Fully customizable colors for bull, bear, entry, TP, and SL elements.
RECOMMENDED USE
Designed for scalping and day trading on futures (ES, NQ, MNQ, GC, CL) and high-liquidity instruments. Optimized for 1-minute, 5-minute, and 15-minute timeframes. Works on any instrument with reliable volume data.
Use with proper risk management. Position sizing should reflect your account size and risk tolerance. Past indicator signals do not guarantee future performance.
WHAT MAKES THIS DIFFERENT
Most scalping indicators on PulseWire are variations of RSI + EMA + MACD. IFS takes a fundamentally different approach by reconstructing order flow concepts (volume delta, absorption, liquidity sweeps) that institutional traders use on specialized platforms, and making them accessible within PulseWire's ecosystem. The multi-pillar confirmation system ensures signals only fire when multiple independent factors align, not just when a single oscillator crosses a threshold. Indicator

Quant Grade StochasticThe Quant Grade Stochastic is an institutional-level momentum workstation designed to solve the primary flaw of traditional oscillators: static overbought and oversold levels. In modern markets, static 80/20 or 70/30 levels often lead to "premature fading" in strong trends or missed entries during low-volatility regimes.
This script replaces fixed levels with Adaptive Volatility Zones—dynamic bands that expand and contract based on the market's standard deviation. This allows traders to identify true momentum extremes relative to current market conditions, not arbitrary numbers.
🚀 Key Quant Features
1. Adaptive Volatility Zones (Mean Reversion)
Unlike the standard Stochastic, the OB/OS levels are calculated using a volatility-adjusted engine. When volatility spikes, the zones expand to prevent "false" overbought signals. When volatility drops, the zones contract to catch micro-extremes.
2. Momentum Heatmap (Acceleration Analysis)
The %K line is color-coded based on its internal slope and acceleration.
Bright Colors: Indicate strong momentum and acceleration.
Dull Colors: Indicate momentum deceleration—a quant-grade "early warning" that a trend is tiring even before a crossover occurs.
3. Institutional Dashboard
A real-time status table that provides a high-level overview of market mechanics:
Trend Filter: Instant identification of the primary trend using a 200 EMA.
Volatility State: Quantifies if current market volatility is High or Low relative to its 50-period average.
Position State: Classifies the oscillator’s current location (Overbought, Oversold, or Neutral).
4. Dual Divergence Engine
Detects two distinct types of momentum anomalies:
Regular Divergence: Traditional reversal signals where price and momentum disconnect.
Hidden Divergence: Quant-grade trend continuation signals, identifying high-probability pullbacks in a trending market.
5. Smart Fade Signals
Markers specifically designed for the "Return-to-Range" strategy. When the %K line exits an extreme volatility zone and crosses back inside, a FADE signal is generated. These signals are visually filtered by the 200 EMA trend engine to prioritize "With-Trend" opportunities.
💡 How to Trade
The Fade Strategy: Wait for the %K line to go above the Adaptive Upper Zone. When it crosses back under that zone, look for a short entry. The "FADE" marker highlights this exact moment.
The Trend Follower: Use Hidden Divergence markers during pullbacks in a Bullish Trend (confirmed by the Dashboard) to find low-risk continuation entries.
Volatility Squeeze: When the Adaptive Zones are extremely tight (indicated by "Low" Volatility on the Dashboard), look for a Momentum Heatmap breakout to signify the start of a new expansion.
🛠️ Settings
Engine: Choose from 5 different smoothing types (SMA, EMA, WMA, HMA, ALMA).
Adaptive Zones: Customize the Standard Deviation multiplier to tighten or loosen your extremes.
Multi-Timeframe: Sync your momentum analysis with higher timeframes without leaving your current chart.
Quant Filter: Toggle the 200 EMA trend filter to clean up counter-trend noise. Indicator

Indicator

EagleEye-DashboardIndicator Description & Disclaimer
This indicator has been developed independently for educational and personal learning purposes, based on hands-on trading experience and continuous research into multi-timeframe analysis.
What this indicator does:
This tool consolidates three of the most widely used technical indicators — MACD, RSI, and Stochastic Oscillator — into a single, clean dashboard view. Rather than switching between multiple charts and timeframes manually, traders can now see the status and alignment of all three indicators across multiple timeframes (MTF) at a single glance. This helps in quickly identifying trend confluence, momentum shifts, and potential entry/exit zones without cluttering your chart.
Key features:
Multi-Timeframe (MTF) dashboard view in one unified panel
Real-time status display for MACD, RSI, and Stochastic
Designed for clarity, speed, and ease of interpretation
Suitable for indices, equities, forex, and crypto markets
Disclaimer:
This indicator is strictly developed for learning and informational purposes only. It does not constitute financial advice, investment recommendation, or a solicitation to buy or sell any financial instrument. Past performance of any signal generated by this indicator does not guarantee future results. Trading in financial markets involves substantial risk, and you may lose more than your initial investment. Always conduct your own due diligence, apply proper risk management, and consult a certified financial advisor before making any trading decisions.
The author holds no responsibility for any trading losses incurred through the use of this indicator. Use at your own risk.
Future Roadmap:
This indicator is actively being refined. Upcoming versions will aim to improve signal accuracy, add additional confirmation layers, and expand timeframe flexibility based on user feedback and ongoing research.
Developed with passion for the trading community.
Regards,
Ramesh Vaishya
Independent Trader & Indicator Developer Indicator

Indicator

[uPaSKaL] Momentum Structure CandlesMomentum Structure Candles
Momentum Structure Candles is an intrabar-based framework built to show how momentum develops inside each higher timeframe bar.
Instead of reducing momentum to a single line or value, the script reconstructs the internal structure of the bar using lower timeframe data and displays it as a momentum candle. The result is a structural view of direction, stability, expansion, and internal pressure.
🔹 What It Shows
Traditional momentum tools focus on outcome.
Momentum Structure Candles focuses on formation.
Two bars can close in the same direction while having completely different internal behavior:
one builds smoothly
one expands early and fades
one confirms late
one remains internally mixed
This script helps reveal:
whether momentum is building cleanly or fragmenting
whether pressure is stable or unstable
whether late-bar activity confirms or weakens the move
whether the bar is structurally directional or internally rotational
🔹 Intrabar Momentum Reconstruction
The script requests lower timeframe OHLC data and converts it into momentum-relative values using a configurable lookback.
Those intrabars are then aggregated into a synthetic momentum candle that represents the internal structure of the active bar.
This allows you to read:
momentum range
internal pullbacks
final position within the structure
balance versus expansion
🔹 Last-Bar Magnifier
The magnifier expands the current bar into its lower timeframe momentum structure, making it easier to read how the candle is forming in real time.
Useful for:
tracking acceleration or slowdown during bar development
spotting late confirmation versus late failure
avoiding over-reliance on the final candle close
🔹 Volume-Weighted Momentum
Momentum can optionally be weighted by volume to distinguish between:
low-participation movement
stronger momentum backed by active participation
similar structures with different internal conviction
🔹 Anchored Mode
The script can also run in anchored cumulative mode.
In this mode, momentum is accumulated and reset on a selected anchor period, creating a session-style structural model similar to a cumulative flow framework.
This is useful for:
tracking persistent directional pressure
identifying compounding momentum
spotting early loss of structure after expansion
🔹 Heatmap Context
An optional heatmap normalizes current momentum strength relative to recent conditions, helping highlight:
strong expansion versus ordinary movement
active versus passive conditions
high-energy momentum regimes
🔹 Phase Analysis
The current bar can be split into:
Early
Mid
Late
This helps answer a key question:
When was momentum strongest inside the bar?
It can reveal:
early push followed by failure
late expansion after consolidation
internal transitions hidden by the final close
🔹 Additional Notes
Built from lower timeframe structure, not standard price candles
Includes optional Light and Dark visual themes
Best used for structural reading, timing, and execution context
🔹 Practical Use Cases
confirm whether a move is structurally strong or only visually strong
detect weakening momentum before price structure shifts
evaluate continuation versus exhaustion
analyze pullbacks as corrective or structural
monitor the live development of the active bar
combine with liquidity, structure, or SMC-based execution models
🔹 Final Note
Momentum Structure Candles is not built to replace price.
It is built to expose the internal momentum architecture that standard candles hide.
By reconstructing intrabar structure, optionally weighting by volume, supporting anchored cumulative behavior, and providing a real-time magnifier, the script turns momentum into a readable structural process rather than a compressed output.
Indicator
