Gold Live DashboardTo trade Gold effectively, you need to understand that it isn't just a commodity; it's the world's oldest anti-currency. It moves based on how much people trust (or distrust) the US Dollar and the return they can get from "risk-free" government debt.
1. The DXY (The "Price Tag" Factor)Gold is priced in US Dollars ($XAU/USD$).The Relationship: Generally Inverse. When the Dollar gets stronger (DXY goes up), Gold becomes more expensive for people using other currencies (like Euros or Yen) to buy. This kills demand and drops the price.The Trade: If the DXY is ripping higher, trying to long Gold is like swimming against a tsunami. You want to see the DXY stalling or dropping before you look for Gold entries.
2. The 2-Year Yield (The "Fed" Factor)The 2-Year Treasury yield is the market’s "crystal ball" for what the Federal Reserve is going to do with interest rates over the next several months.Why it matters: It is highly sensitive to monetary policy. If the 2-Year yield is spiking, the market is pricing in rate hikes or a "higher for longer" stance from the Fed.The Impact: Higher rates make the Dollar more attractive to hold, which indirectly pressures Gold. If the 2-Year yield is falling, the market expects "cheap money" is coming back, which is fuel for Gold.
3. The 10-Year Yield (The "Opportunity Cost" Factor)The 10-Year is the global benchmark for "risk-free" return.The Battle for Cash: Gold is a "non-yielding" asset—it doesn't pay you a monthly check or interest just for holding it.The Logic: If the 10-Year yield is high (say 4.5% or 5%), big institutional investors would rather park their billions in "guaranteed" government bonds than sit on Gold.The Impact: When the 10-Year yield falls, the "opportunity cost" of holding Gold disappears, making it much more attractive for big money to rotate back into the metal.
Summary Table for your
DXY Up 🔴 BAD Makes Gold more expensive globally.
2-YR Up 🔴 BAD Signals the Fed is staying "Hawkish"
10-YR Up🔴 BAD Bonds are paying more; people sell Gold to buy Bonds. Indicator

MTF Trend + PressureMTF Trend + Pressure is a multi-timeframe indicator designed to measure trend direction, market pressure, and momentum strength. It automatically analyzes several timeframes, combines an ADX filter, a composite oscillator, and TPX net pressure to show whether buyers, sellers, or the market is in balance.
How It Works
The indicator:
- identifies the trend across multiple timeframes;
- measures trend strength using ADX;
- combines signals from RSI, MACD, and Stochastic into one oscillator;
- displays net market pressure through the TPX line;
- filters weak moves so signals better reflect the real trend.
What It Shows
- Trend strength — how strongly the market leans bullish or bearish.
- Pressure meter — buyer vs seller dominance.
- Composite oscillator — momentum and balance of force.
- TPX line — changes in market control and pressure.
## How to Read It
- Bullish readings suggest buyer dominance and possible continuation upward.
- Bearish readings suggest seller dominance and possible continuation downward.
- Strong ADX means the trend is more reliable.
- Weak ADX often indicates a ranging market, where signals may be less reliable.
- If the oscillator and TPX line** move in the same direction, momentum is usually stronger.
- If the higher timeframe confirms the direction**, signals on the lower timeframe are generally stronger.
## Practical Use
For best results:
1. check the overall MTF direction first;
2. confirm there is enough trend strength with ADX;
3. look for entries only when pressure, oscillator, and TPX are aligned. Indicator

Indicator

Indicator

Indicator

Indicator

Ready, Aim, Fire!═════════════════════════════════════════════════════════════
TRADINGVIEW PUBLICATION — Ready, Aim, Fire! - March 19, 2026
════════════════════════════════════════════════════════════D
Ready, Aim, Fire! is a momentum-state oscillator that identifies trade-ready inflection points through a three-phase signal progression.
█ HOW IT WORKS
The indicator combines three independent engines into a unified visual system:
1. STOCHASTIC STATE ENGINE — Three stochastic oscillators (periods 5, 8, and 17) with exponential smoothing track momentum crossovers. Each qualifying crossover advances the state counter:
• READY: First crossover detected. Momentum is coiling.
• AIM: Second consecutive crossover in the same direction. Momentum is loaded and directional bias is strengthening.
2. FISHER TRANSFORM MOMENTUM LINE — A recursive Fisher Transform applied to the slowest stochastic (K17) compresses momentum into a bounded oscillator. The magenta momentum line oscillates above and below zero, providing instant visual confirmation of directional pressure and momentum extremes relative to the overbought/oversold levels.
3. FIRE! SIGNALS — When the Fisher Transform derivative flips sign (momentum inflects), a directional FIRE! label appears:
• Green FIRE! (label up) = bullish inflection — momentum turning upward.
• Red FIRE! (label down) = bearish inflection — momentum turning downward.
These are the original MajorBuy / MajorSell inflection signals with enhanced visual presentation.
█ ADDITIONAL COMPONENTS
• TEMA TREND FILTER — A Triple Exponential Moving Average with ATR buffer determines the prevailing trend state. The zero line color reflects this: green (bullish), red (bearish), or yellow (neutral/transitional).
• ADX STRENGTH MARKERS — Colored squares appear on the zero line when ADX turns upward, confirming trend strength is increasing. The zero line creates a visual gap around each square for clarity.
• BACKGROUND CLOUDS — Shaded zones between the overbought and oversold levels indicate the current phase. Deeper color = AIM (loaded). Lighter color = READY (coiling). Green clouds for bullish cycles, red clouds for bearish cycles.
█ SIGNAL INTERPRETATION
The three-phase progression provides context for each FIRE! signal:
• FIRE! during READY: Momentum is inflecting early in the cycle. Lower conviction — fewer confirming crossovers behind it. Use additional confluence.
• FIRE! during AIM: Momentum is inflecting after multiple crossovers have loaded in the same direction. Higher conviction — the state engine confirms directional bias.
• FIRE! in OB/OS territory: The Fisher line is at an extreme when it inflects. These signals often mark significant turning points.
█ INPUTS AND CUSTOMIZATION
• Smoothing Length (default 28): Controls the TEMA period and ADX calculation. Higher values produce smoother signals with fewer whipsaws.
• Overbought/Oversold Level (default 1.2): Sets the horizontal threshold lines. Adjust based on instrument volatility.
• Toggle controls for FIRE! labels, inflection arrows, READY/AIM labels, ADX markers, and background clouds — customize the visual density to your preference.
• Alert support for FIRE! signals with optional AIM-state filtering.
█ USAGE NOTES
• This indicator is designed as a lower-pane oscillator. It does not overlay on price.
• Works on any liquid market and any timeframe. Developed and tested on micro futures (MNQ, MES, MYM, MGC, MCL) but equally applicable to forex, stocks, crypto, and commodities.
• Best used in confluence with price action, market structure, and your existing methodology — not as a standalone entry system.
• The three-phase progression (READY → AIM → FIRE!) provides a framework for trade preparation, not prediction.
█ ORIGIN
Converted from ThinkScript (ThinkOrSwim) to Pine Script v6 with professional visual enhancements by NPR21. Original momentum-state concept by David H. Starr (© 2010-2020). Pine Script conversion, FIRE! label system, ADX square markers, and all visual design elements are original work by NPR21. Indicator

Indicator

Indicator

Trading Machine MTF HistogramsA multi-timeframe composite that combines CTO (EMA-stack ordering), VZO, Z‑Score, ADX, Aroon, RSI, TPX and DMI into a single normalized score per timeframe. Supports ATR normalization and adaptive weights to adjust for trending vs. ranging markets. Shows HTF/LTF histograms, OB/OS zones and weighted confluence.
How it works (brief)
- Computes normalized components (≈ −1..1), weights them, and produces a composite score scaled to ±100.
- Uses ADX+ATR to detect regime and adapt component weights.
- ATR normalization reduces volatility bias across instruments.
- Returns two MTF histograms (Higher / Lower TF) via request.security and a weight‑based confluence score (−1..1).
- Highlights OB/OS bands and colors bars by LTF composite.
How to use — find OB/OS zones & trade (quick rules)
- OB/OS: composite ≥ OB level (default +60) = overbought; ≤ OS level (default −60) = oversold. Use both HTF + LTF for stronger signals.
- Confluence: HTF confluence (background highlight) confirms directional bias; higher confTh means stronger agreement.
- Conservative long: HTF confluence bullish + LTF composite rising from OS, VZO turning positive, Z‑Score reverting — enter with ATR‑based stop.
- Conservative short: HTF confluence bearish + LTF composite falling from OB, VZO negative, Z‑Score reverting down — enter with ATR stop.
- Aggressive entries: use LTF signals only (faster, smaller size, tight stops). Indicator

Chop ShieldThe Chop Shield is an all-in-one market state indicator designed to solve the two biggest problems for intraday traders: over-trading in sideways "chop" and entering breakouts with no institutional backing.
Built specifically for high-speed environments like SPY 0DTE and Tick Charts, this script uses a multi-layered confluence of volatility, momentum, and adaptive volume to "gray out" the noise and highlight high-probability "coiled spring" releases.
### Key Features
Smart "Traffic Light" Candle Coloring:
Slate Blue (#708090): The "Neutral Zone." This triggers during volatility squeezes, low ADX (Average Directional Index), or the mid-day "Lunch Doldrums." If it’s Slate, you stay at your desk.
White/Black High-Contrast Bodies: Once the market breaks out of chop, the candles return to a clean White (Bullish) or Black (Bearish) state.
The Squeeze Engine (Orange Background):
Uses a Bollinger Band/Keltner Channel relationship to identify periods of extreme volatility contraction. These "Squeezes" are the precursor to the largest moves of the day.
High-Confidence "Pressure" Signals:
Green/Red Diamonds: These appear when a candle meets strict price action criteria (70%+ solid body, closing at extremes) paired with high relative volume.
Live Bias Arrows: "BUY/SELL" markers trigger only when the High-Confidence bar aligns with the VWAP Slope and price location.
Adaptive Session Volume (The Yellow Marker):
Standard RVOL indicators are useless at the open because volume is always high. Our Adaptive Logic uses a 2.5x threshold during the 9:30–10:15 AM window and scales down to 1.5x for the rest of the day. If you see a yellow marker, it means volume is truly abnormal for that specific time of day.
Professional Filtering:
RTH Only: Automatically hides all signals and coloring during Pre-Market and Post-Market to keep your chart clean for the opening bell.
Lunch Doldrums: Hard-coded "Gray Zone" between 11:30 AM and 1:30 PM EST to protect you from the lowest-probability trading window.
### How to Trade It
This indicator is best used as a Validation Filter for levels-based strategies (Initial Balance, ORB, or Gap Fills).
The Setup: Identify a Volatility Squeeze (Orange Background) where candles are Slate Blue.
The Trigger: Wait for the Squeeze to end and the candles to turn White or Black.
The Confirmation: Look for a Green/Red Diamond paired with an Adaptive Volume Spike (Yellow "|").
The Exit: Use the Blue VWAP Line as your dynamic trailing stop or mean-reversion target.
### Confluence
Perfect for traders using Edgeful, ICT/SMC concepts, or standard Initial Balance breakouts. It removes the "guesswork" of whether a breakout is real or a low-volume trap. Indicator

Chaikin Money Flow with Standard DeviationsThis indicator enhances the traditional Chaikin Money Flow (CMF) by adding a statistical framework that helps identify when buying or selling pressure is unusually strong relative to recent history.
At its foundation, the script calculates CMF over a user-defined lookback period (default 25 bars). CMF measures the flow of money into and out of an asset by combining price position within the candle (close relative to high/low) with volume. Positive values suggest accumulation (buying pressure), while negative values indicate distribution (selling pressure). Before performing any calculations, the script checks whether volume data is available; if not, it throws an error, since CMF relies entirely on volume inputs.
Once CMF is calculated, the script builds a rolling dataset of recent CMF values over the same lookback window. Using this dataset, it computes the mean (average) and standard deviation of CMF. This allows the indicator to move beyond a simple zero-line interpretation and instead evaluate CMF in the context of its own recent distribution.
From these statistics, upper and lower bands are created at two standard deviations above and below the mean. These bands act similarly to volatility envelopes, highlighting when money flow is significantly stronger or weaker than usual. When CMF approaches or exceeds the upper band, it suggests unusually strong accumulation relative to recent behavior. Conversely, when CMF drops toward or below the lower band, it indicates unusually strong distribution.
Visually, the indicator plots the CMF line in a separate pane, along with a dashed zero line for baseline reference. The dynamically calculated standard deviation bands are overlaid as upper and lower boundaries, providing a contextual range for interpreting current CMF values.
Overall, this script transforms CMF from a basic directional indicator into a statistically informed tool. By framing money flow in terms of deviations from its recent average, it helps traders identify extreme conditions, gauge the strength of buying or selling pressure, and better understand whether current flows are typical or unusually strong within the prevailing market regime. Indicator

SMI Peak/Trough Cycle Average MoveThis indicator is designed to quantify how price typically moves between momentum extremes using the Stochastic Momentum Index (SMI). Instead of simply identifying overbought and oversold conditions, it tracks complete momentum cycles and measures the actual price movement between those turning points to provide a more data-driven expectation of future moves.
At its core, the script calculates the SMI using a smoothed double-EMA approach and plots it in a dedicated indicator pane. Overbought and oversold thresholds are defined at +40 and -40, respectively. While the SMI is inside these zones, the script continuously tracks the most extreme value reached—capturing the lowest point during oversold conditions and the highest point during overbought conditions. However, these extremes are only considered “confirmed” once the SMI exits the respective zone, which helps reduce noise and avoids premature signals.
Once a trough (oversold exit) or peak (overbought exit) is confirmed, the script pairs it with the previous opposite extreme to define a full cycle. It then calculates the price change between those two points—measuring upward moves from trough to peak and downward moves from peak to trough. These moves are recorded in both absolute price terms and percentage terms, allowing the indicator to adapt across different assets and price scales.
To keep the analysis relevant to current market conditions, the script maintains a rolling window of the most recent cycles. By default, it uses the last 10 completed upward and downward cycles separately, rather than averaging over the entire history. This ensures the resulting statistics reflect recent behavior rather than outdated market regimes. From this rolling dataset, it computes average move size, average percentage change, and the magnitude of typical downside moves.
The indicator also visually marks confirmed peaks and troughs directly on the price chart, providing clear context for where each measured cycle begins and ends. In addition, a statistics table is overlaid on the main chart, summarizing total cycle counts along with the rolling averages and sample sizes used in the calculations.
Overall, this tool transforms the SMI from a simple overbought/oversold oscillator into a cycle-based analytical framework. It helps traders move beyond binary signals and instead understand the typical range of price movement associated with momentum swings—making it particularly useful for setting profit targets, managing risk, and evaluating whether a current move is extended relative to recent history. Indicator

Pro Trading MachinePro Trading Machine (PTM) v3 is an advanced analytical framework designed for deep market structure decoding. Unlike standard indicators that provide lagging "Buy/Sell" signals, PTM v3 acts as a trader’s flight deck, aggregating 7 critical metrics into a single, unified workspace.
💎 Core Philosophy
Markets constantly shift between trending and sideways phases. PTM v3 automatically detects these regimes and applies Adaptive Weighting, re-calculating the importance of each component to ensure accuracy whether the market is explosive or flat.
🚀 Key Features & v3 Innovations:
Confluence Meter (Synergy Scoring):
The engine analyzes 7 independent components (VZO, Composite, Z-Score, DMI, and others) to calculate their alignment. A score of 6/7 or 7/7 signals an abnormally high probability of trend continuation, highlighted by automated background signals.
Adaptive Regime Detection:
The system distinguishes between TREND (▶) and FLAT (〓) regimes. In a trend, strength metrics (DMI) take priority; in a flat market, the weight shifts toward mean-reversion oscillators.
ATR Normalization & Volatility Scaling:
Every component is scaled relative to the Average True Range (ATR). This ensures that a signal on a 5-minute chart carries the same visual precision and mathematical weight as one on a Daily chart, adapted to the current market "heartbeat."
Divergence Detection Engine:
A built-in algorithm scans for price-to-oscillator divergences (VZO/Z-Score). This is your primary tool for identifying exhaustion zones and potential reversals before the price action actually turns.
📊 How to Read the Market with PTM v3:
Spotting Reversal Zones:
Monitor the Z-Score and VZO. When the Z-Score hits extreme statistical deviation levels and VZO forms a divergence with price, the market is overextended. This is an "Exhaustion Zone" where institutional players often take profits.
Confirming Trend Strength:
A stable green Composite histogram (above 50) combined with a high VZO line indicates a healthy trend. In this state, any price pullback is mathematically a high-probability entry opportunity.
Statistical Deviations:
The Z-Score allows you to see how far price has deviated from its mean. If the price pushes too far (Z-Score > 2.5), expect a Mean Reversion event.
🛠 Professional Customization:
Conservative Mode: Toggle this to filter out market noise on lower timeframes for smoother, more reliable signals.
Multi-Timeframe Analysis: Customize each component to pull data from higher timeframes, allowing you to see the "Big Picture" context on a local chart.
⚠️ Pro Disclaimer:
PTM v3 is a professional diagnostic instrument, not a "magic button." It does not draw arrows; it provides Context. It is designed to empower traders to make data-driven decisions based on confluence and statistical probability. Indicator

Oscillators with DivergencesIf you do enjoy this indicator, check out my Ultimate Indicator! It is another collection of indicators all into one but that is for price chart indicators like Donchian, Keltner, EMAs, VWAP, Super Trend, etc.
This is a culmination of hundreds of hours (maybe even a thousand, honestly) of work spent working with dozens of indicators and now taking all of the ones I like the most and combining them into one so you can easily switch between them. On top of that, I have my own custom divergence code that can look back up to five pivots!
There's the following indicators all wrapped into this one:
MACD
RSI
CCI
Volume-Weighted MACD
MFI
Stochastic
Stochastic RSI
I could not get a working method of looking back several pivots from other people's code so I took a 1-pivot lookback method and copied out several times and made necessary changes to work properly. It will also draw an "early divergence" the moment it's happening rather than waiting the normal 5 candles to show. Once the 5 candles have passed, it will pick the furthest back divergence as the one to stay.
Let's say you have the divergences set to 3 pivot points. If a divergence happens that goes back 1 pivot point, but later a 3 pivot divergence overlaps it, the 1 pivot will get removed after the 3 pivot early divergence is confirmed after its 5 candles have passed. Just put it on the chart and you'll see, it sounds crazy to explain.
I've added a bunch of tooltips to explain each setting. Please read them if you have questions. I've also added notes into my code if you do choose to use it for your own purposes or make changes. I wish you luck haha, it's a bit of a mess. Some things were commented out but elft in there just beacuse I never know when I want to re-enable it or just see what the original code was. Indicator

Integrated Execution System [JOAT]Integrated Execution Strategy System
Introduction
The Integrated Execution Strategy System is a comprehensive open-source trading strategy that combines regime detection, directional bias analysis, momentum filtering, and structural confluence into a unified adaptive trading framework. This strategy is designed for traders who understand that successful trading requires adapting to market conditions and waiting for high-probability setups with multiple layers of confirmation.
Unlike simple strategies that rely on single indicators, this system integrates six distinct analytical layers: Market Regime Classification to avoid unfavorable conditions, Directional Bias Aggregation across multiple timeframes, Momentum Pressure analysis to gauge institutional participation, Structural Analysis for key levels, Volatility Engine for adaptive sizing, and Signal Qualification to ensure only the highest probability setups are taken. The strategy is built on the principle that edges in trading come from the confluence of multiple factors, not from any single signal.
[image [https://www.pulsewire.com/x/NTfmwzgw/
Why This Strategy Exists
This strategy addresses the critical challenge most traders face: adapting to changing market conditions. Most strategies work well in specific market regimes but fail when conditions change. This system solves that problem by:
Regime-Adaptive Logic: Automatically detects trending, ranging, and volatile market conditions and adjusts trading behavior accordingly
Multi-Layer Filtering: Requires confluence across trend, momentum, structure, and volume before entering trades
Institutional-Grade Risk Management: Dynamic position sizing, adaptive stops, and multi-target scaling based on market volatility
Multi-Timeframe Alignment: Confirms signals across higher timeframes to trade with the dominant market flow
Pressure and Flow Analysis: Measures buying/selling pressure to detect institutional participation
Structural Confluence: Identifies key swing levels and liquidity zones for optimal entry positioning
Each component addresses a specific aspect of trading: Regime detection tells us WHEN to trade, bias analysis tells us WHICH direction, momentum confirms the STRENGTH, structure provides the LEVEL, volatility determines the SIZE, and qualification ensures the QUALITY of the setup.
Core Components Explained
1. Market Regime Detection
The strategy classifies markets into four distinct regimes using ADX and ATR analysis:
// Regime classification
if vol_ratio >= i_vol_exp and adx < i_adx_trend
regime := 3 // Volatile
else if adx >= i_adx_trend
regime := 1 // Trending
else if vol_ratio <= i_vol_con
regime := 2 // Ranging
Regime types:
Trending (ADX > 25): Strong directional markets with momentum
Ranging (Low volatility, ADX < 25): Sideways markets suitable for range-bound strategies
Volatile (High volatility, ADX < 25): Chaotic markets where trading is reduced or avoided
Neutral: Transition periods between defined regimes
The strategy automatically reduces position sizing and tightens stops in volatile regimes while increasing size and allowing wider stops in trending regimes.
2. Directional Bias Aggregation
Bias is calculated using multiple indicators weighted by their reliability:
// Composite bias calculation
float bias_score = 0.0
if ma_bullish
bias_score += 30
if price_above_structure
bias_score += 20
if close > ma_trend
bias_score += 20
if plus_di > minus_di
bias_score += 30
Bias components:
Moving Average Relationships: Fast/slow MA alignment for trend direction
Price Position: Where price sits relative to key moving averages
ADX Directional Indicators: +DI vs -DI for momentum confirmation
Multi-Timeframe Alignment: Higher timeframe bias for trend confirmation
A bias score above the threshold (default 30) indicates directional conviction worth trading.
3. Momentum Pressure Analysis
Momentum is evaluated through multiple oscillators to ensure entry timing:
// Momentum scoring
int momentum_bull_score = 0
if rsi_bullish
momentum_bull_score += 1
if rsi_momentum_up
momentum_bull_score += 1
if macd_bullish
momentum_bull_score += 1
Momentum filters:
RSI Analysis: Momentum direction and overbought/oversold conditions
MACD Histogram: Trend acceleration and deceleration
Stochastic Oscillator: Entry timing and momentum strength
Volume Confirmation: Above-average volume for signal validity
Only when momentum aligns with directional bias do we consider entries.
4. Structural Market Analysis
Structure identifies key levels where institutions place orders:
// Structure analysis
bool above_swing_low = close > nz(last_swing_low, low)
bool below_swing_high = close < nz(last_swing_high, high)
bool sweep_high = not na(last_swing_high) and high > last_swing_high and close < last_swing_high
bool sweep_low = not na(last_swing_low) and low < last_swing_low and close > last_swing_low
Structural elements:
Swing Points: Key highs and lows that define market structure
Liquidity Sweeps: Price moves beyond swing levels that quickly reverse
Break of Structure: Confirmation of trend changes
Support/Resistance Zones: Areas of high probability reaction
Entries are favored when price aligns with structural levels and sweeps indicate institutional activity.
5. Volatility-Adaptive Risk Management
Risk management dynamically adjusts based on market conditions:
// Adaptive stop multiplier based on regime
float adaptive_stop_mult = i_atr_stop_mult
if i_adapt_stops
if volatile_regime
adaptive_stop_mult := i_atr_stop_mult * i_vol_stop_mult
else if ranging_regime
adaptive_stop_mult := i_atr_stop_mult * 0.85
else if trending_regime
adaptive_stop_mult := i_atr_stop_mult * 1.1
Risk features:
Adaptive Position Sizing: Larger sizes in high-conviction trends, smaller in volatile conditions
Dynamic Stop Losses: Wider in trending markets, tighter in ranging/volatile conditions
Multi-Target Scaling: Partial profits at predefined levels to reduce risk
Trailing Stops: Lock in profits when moves reach predefined thresholds
Volatility-Adjusted Targets: Larger profit targets in high-volatility environments
6. Signal Qualification System
The strategy uses a 14-point qualification system to ensure only high-quality setups:
// Total scores (max 14)
int bull_total = (
(bullish_bias ? 3 : 0) + momentum_bull_score + struct_bull_score + (trending_regime ? 2 : 0) +
(pressure_bull ? 1 : 0) + (sweep_low ? 1 : 0) + (squeeze_release ? 1 : 0) + (mtf_bias_long ? 1 : 0)
)
Qualification criteria:
Bias Strength (3 points): Strong directional conviction
Momentum (3 points): Multiple momentum indicators aligned
Structure (2 points): Price respecting key levels
Regime (2 points): Favorable market conditions
Pressure (1 point): Buying/selling pressure confirmation
Sweeps (1 point): Liquidity sweep patterns
Squeeze Release (1 point): Volatility breakout patterns
MTF Alignment (1 point): Higher timeframe confirmation
Only setups scoring 5+ (adjustable) are considered for trading.
Visual Elements
Directional Cloud: Dynamic cloud showing trend direction and strength
Signal Markers: Clear entry signals with quality grades (A-D)
Risk Levels: Visual stop loss and target levels
Structure Points: Marked swing highs and lows
Background Colors: Regime-based background shading
Dashboard: Real-time metrics including regime, bias, momentum, and signal quality
The dashboard displays:
1. Current market regime and strength
2. Directional bias score and alignment
3. Momentum state and pressure readings
4. Structural analysis and proximity to levels
5. Signal qualification score and grade
6. Active position sizing and risk metrics
7. Multi-timeframe alignment status
Input Parameters
Regime Detection:
ADX Period: Trend strength calculation period (default: 14)
Trend Threshold: Minimum ADX for trend regime (default: 25)
ATR Period: Volatility calculation period (default: 14)
Volatility Expansion/Contraction: Multipliers for regime detection (default: 1.4/0.6)
Bias Calculation:
Fast/Slow/Anchor MAs: Trend calculation periods (default: 21/55/200)
Bias Threshold: Minimum score for directional bias (default: 30)
Multi-Timeframe Settings: Higher timeframes for confirmation (default: 60m/240m/1D)
Risk Management:
Risk Per Trade %: Percentage of equity to risk (default: 1.0%)
ATR Stop Multiplier: Stop distance in ATR units (default: 2.0)
R:R Targets: Profit target multiples (default: 1.5x/2.5x)
Adaptive Sizing: Enable regime-based position sizing (default: true)
Signal Filters:
Minimum Qualification Score: Required confluence score (default: 5)
Signal Cooldown: Bars between signals (default: 1)
Volume Filter: Require above-average volume (default: true)
Bar Confirmation: Wait for bar close (default: true)
How to Use This Strategy
Step 1: Understand Market Regime
Check the dashboard for current market regime. Avoid trading in volatile regimes (red background) unless you have specific volatility-based strategies. Trending regimes (green) are optimal for directional trading, while ranging regimes (purple) suit mean-reversion approaches.
Step 2: Assess Directional Bias
Look for strong bias scores (60+) with multi-timeframe alignment. The bias should be clear across multiple timeframes before considering entries. Weak or conflicting bias suggests waiting for clarity.
Step 3: Confirm Momentum
Ensure momentum indicators support the directional bias. Look for RSI momentum in the direction of the trade, MACD histogram expanding, and stochastic crossovers aligned with the bias.
Step 4: Identify Structural Levels
Entries near structural levels (swing highs/lows) have higher probability. Look for liquidity sweeps that indicate institutional participation before entering in the opposite direction.
Step 5: Check Signal Qualification
Only take trades with qualification scores of 5 or higher. Premium signals (grade A, 75+ quality) offer the highest probability and can be sized more aggressively.
Step 6: Manage Risk Dynamically
Let the strategy's adaptive risk management adjust position sizes and stops based on market conditions. Don't override the system's risk calculations without strong reason.
Best Practices
Trade liquid instruments (major forex pairs, indices, large-cap stocks, major crypto) for reliable signals
Start with the default parameters and only adjust after understanding their impact
Pay attention to regime changes - they often signal strategy adjustments
Use the qualification score as your primary filter - higher scores mean higher probability
Be patient for A-grade setups rather than forcing mediocre trades
Monitor the multi-timeframe alignment - trades against higher timeframes have lower success rates
Let winners run to the second target when momentum is strong
Reduce size during volatile regimes or take a break entirely
Keep a trade journal to note which regime/bias combinations work best for each instrument
Consider economic news events that might trigger regime changes
Strategy Limitations
Like all strategies, performance varies across different market instruments and timeframes
Regime detection may lag during rapid market transitions
Multi-timeframe analysis requires sufficient historical data on all timeframes
The strategy is designed for swing trading and may not be optimal for scalping
Highly correlated instruments may produce similar signals across different pairs
Extreme market events (black swans) can overwhelm any risk management system
Backtested performance does not guarantee future results
The strategy requires discipline to follow all signals, including losing ones
Commissions and slippage can significantly impact performance on smaller timeframes
Success requires understanding the system's logic rather than blind execution
Technical Implementation
Built with Pine Script v6 featuring:
Modular architecture with separate calculation modules for each component
Advanced regime detection using ADX and ATR combinations
Multi-timeframe security requests with proper lookahead management
Dynamic risk management with adaptive position sizing
Comprehensive signal qualification scoring system
Real-time dashboard with 12 key metrics
Visual elements including directional cloud and risk levels
Export functions for integration with other indicators
Alert conditions for all major signal types
The code is fully open-source and can be modified to suit individual trading styles and preferences. All calculations use confirmed bars to prevent repainting.
Originality Statement
This strategy is original in its comprehensive integration of multiple analytical layers into a unified adaptive system. While individual components (ADX, moving averages, RSI, MACD, etc.) are established tools, this strategy is justified because:
It synthesizes six distinct analytical approaches into a cohesive decision framework
The regime-adaptive logic automatically adjusts strategy behavior based on market conditions
The qualification scoring system provides objective criteria for signal selection
Multi-timeframe bias aggregation ensures alignment with the dominant market trend
Structural analysis integration provides context for market microstructure
Volatility-adaptive risk management dynamically adjusts to market conditions
The comprehensive dashboard presents all critical metrics for informed decision-making
Each component contributes unique information: regime tells us when to trade, bias tells us direction, momentum provides timing, structure gives levels, volatility determines sizing, and qualification ensures quality
The strategy's value lies not in any single component but in how these elements work together to create a robust, adaptive trading system that can navigate different market environments while maintaining disciplined risk management.
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.
Past performance does not guarantee future results. The backtested results shown are based on historical data and do not account for real-world factors such as slippage, liquidity issues, or psychological pressures that can affect trading performance.
The strategy's signals are mathematical calculations based on historical patterns and technical indicators. They do not predict future price movements with certainty. Market conditions can change rapidly, rendering previously successful patterns ineffective.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this strategy. Users assume full responsibility for all trading decisions made using this system.
-Made with passion by officialjackofalltrades
Strategy

Indicator

Institutional Decision Engine [JOAT]Institutional Decision Engine
Introduction
The Institutional Decision Engine is a comprehensive, unified trading system that integrates six distinct analytical engines into a cohesive decision-making framework. This is not just another indicator - it's a complete trading intelligence system designed to replicate the analytical approach of institutional trading desks. By combining market regime classification, structural analysis, momentum pressure, volatility intelligence, directional bias, and signal qualification into one unified system, this engine provides the holistic market analysis that professional traders rely on for consistent success.
This tool is built for serious traders who understand that successful trading requires multiple layers of analysis and confirmation. Whether you're a systematic trader needing a complete decision framework, a discretionary trader seeking comprehensive market intelligence, or an algorithm developer requiring robust signal generation, this engine provides the institutional-grade analysis needed to trade with the confidence and precision of professional market participants.
Why This Engine Exists
Most traders use fragmented indicators that provide conflicting signals, leading to confusion and poor decisions. This engine solves that fundamental problem by:
Unified Framework: Six engines working together as one cohesive system
Regime-Adaptive Logic: Automatically adjusts analysis based on market conditions
Multi-Layer Confirmation: Requires confluence across multiple analytical dimensions
Signal Qualification: Objectively scores and grades every potential signal
Risk Intelligence: Dynamic risk management based on market volatility and structure
Visual Clarity: Comprehensive visualization of all analytical components
The engine transforms the chaotic world of multiple indicators into a single, unified source of market truth that provides clear, actionable trading intelligence.
Core Components Explained
Engine 1: Market Regime Classification
The first engine identifies the current market environment:
// Regime Classification: 0=Neutral, 1=Trending, 2=Ranging, 3=Volatile
int market_regime = 0
if volatility_state == 1 and adx_value < i_trend_threshold
market_regime := 3 // Volatile Expansion
else if adx_value >= i_trend_threshold
market_regime := 1 // Trending
else if volatility_state == -1
market_regime := 2 // Ranging/Consolidation
// Regime Strength (0-100)
float regime_strength = 0.0
if market_regime == 1
regime_strength := math.min(adx_value / 50.0 * 100, 100)
else if market_regime == 2
regime_strength := math.min((1 - volatility_ratio) / (1 - i_contraction_mult) * 100, 100)
Regime types:
Trending: Strong directional markets with ADX > 25
Ranging: Low volatility consolidation phases
Volatile: High volatility, chaotic conditions
Neutral: Transition periods between defined states
Regime Strength: How strongly the market exhibits regime characteristics
Regime classification determines which strategies are appropriate and how risk should be managed.
Engine 2: Structural Behavior Analysis
The second engine maps market structure and key levels:
// Structure Analysis
bool higher_high = not na(last_swing_high) and not na(prev_swing_high) and last_swing_high > prev_swing_high
bool lower_low = not na(last_swing_low) and not na(prev_swing_low) and last_swing_low < prev_swing_low
bool higher_low = not na(last_swing_low) and not na(prev_swing_low) and last_swing_low > prev_swing_low
bool lower_high = not na(last_swing_high) and not na(prev_swing_high) and last_swing_high < prev_swing_high
// Structure Score (0-100)
float structure_score = 0.0
structure_score += structure_bias == 1 ? 30 : structure_bias == -1 ? 0 : 15
structure_score += higher_high ? 20 : lower_low ? 0 : 10
structure_score += bos_bullish ? 30 : bos_bearish ? 0 : 15
Structure components:
Swing Points: Key highs and lows defining market structure
Market Structure: Higher highs/higher lows (bullish) or lower highs/lower lows (bearish)
Break of Structure: Confirmation of trend changes
Liquidity Zones: Equal highs/lows where orders cluster
Structure Score: Quantifies structural quality (0-100)
Structural analysis identifies the levels where professional traders place orders.
Engine 3: Momentum Pressure Analysis
The third engine measures buying and selling pressure:
// Composite Momentum Score
float momentum_bull_score = 0.0
momentum_bull_score += wt_bullish ? 25 : 0
momentum_bull_score += rsi_bullish ? 25 : 0
momentum_bull_score += weighted_pressure > 0.1 ? 25 : weighted_pressure > 0 ? 12.5 : 0
momentum_bull_score += macd_bullish ? 25 : 0
// Net Momentum State
float net_momentum = momentum_bull_score - momentum_bear_score
int momentum_state = net_momentum > 25 ? 1 : net_momentum < -25 ? -1 : 0
Momentum components:
WaveTrend: Trend-following momentum oscillator
RSI: Relative strength with momentum filter
Pressure Analysis: Volume-weighted buying/selling pressure
MACD: Trend acceleration and deceleration
Momentum State: Bullish, bearish, or neutral momentum
Momentum analysis confirms the strength and timing of potential moves.
Engine 4: Volatility Intelligence Layer
The fourth engine analyzes volatility cycles and squeezes:
// Squeeze Detection
bool squeeze_on = bb_lower > kc_lower and bb_upper < kc_upper
bool squeeze_off = bb_lower < kc_lower or bb_upper > kc_upper
// Volatility Cycle Phase
int vol_cycle_phase = 0
if squeeze_on and squeeze_duration > 5
vol_cycle_phase := 1 // Compression
else if squeeze_off and squeeze_duration > 0
vol_cycle_phase := 2 // Expansion Trigger
else if volatility_ratio > 1.2
vol_cycle_phase := 3 // Active Expansion
// Adaptive Multipliers
float stop_multiplier = vol_cycle_phase == 3 ? 1.5 : vol_cycle_phase == 1 ? 0.8 : 1.0
float target_multiplier = vol_cycle_phase == 3 ? 1.3 : vol_cycle_phase == 1 ? 1.5 : 1.0
Volatility components:
Bollinger Bands: Standard deviation-based volatility
Keltner Channels: ATR-based volatility
Squeeze Detection: Volatility compression patterns
Cycle Phases: Compression, trigger, expansion, normal
Adaptive Multipliers: Dynamic risk adjustments
Volatility intelligence ensures risk management adapts to market conditions.
Engine 5: Directional Bias Model
The fifth engine establishes directional conviction:
// Bias Computation
float bullish_bias = 0.0
bullish_bias += ma_bullish_stack ? 30 : 0
bullish_bias += price_above_structure ? 20 : 0
bullish_bias += close > ma_anchor ? 15 : 0
bullish_bias += pos_di > neg_di ? 20 : 0
bullish_bias += slopes_aligned_bull ? 15 : 0
// Net Bias
float net_bias = bullish_bias - bearish_bias
int bias_direction = net_bias > i_bias_threshold / 2 ? 1 : net_bias < -i_bias_threshold / 2 ? -1 : 0
Bias components:
MA Stack: Fast/slow/anchor moving average relationships
Price Position: Where price sits relative to MAs
ADX Direction: +DI vs -DI for trend confirmation
MA Slopes: Directional momentum of moving averages
Bias Strength: 0-100 indicating directional conviction
Directional bias provides the primary directional framework for trading decisions.
Engine 6: Signal Qualification System
The sixth engine evaluates and qualifies all signals:
// Confluence Scoring
int bull_confluence = 0
bull_confluence += market_regime == 1 and trend_direction == 1 ? 2 : 0
bull_confluence += structure_bias == 1 ? 1 : 0
bull_confluence += bos_bullish ? 1 : 0
bull_confluence += momentum_state == 1 ? 2 : 0
bull_confluence += bias_direction == 1 ? 2 : 0
bull_confluence += squeeze_off and net_momentum > 0 ? 1 : 0
// Qualification Check
bool bull_qualified = bull_confluence >= i_min_confluence
bool bear_qualified = bear_confluence >= i_min_confluence
// Final Signal Generation
bool long_signal = bull_qualified and bull_trigger and bars_since_bull > i_signal_cooldown and
bar_confirmed and market_regime != 3
Qualification components:
Confluence Score: Points from each engine (max 10)
Minimum Threshold: Required confluence for signals (default: 5)
Signal Triggers: Entry conditions (crossovers, breakouts, etc.)
Cooldown Management: Prevents overtrading
Quality Grades: A-D grades based on confluence score
Signal qualification ensures only high-probability setups are traded.
Visual Elements
Directional Cloud: Dynamic cloud showing trend and conviction
Signal Markers: Clear entry signals with quality grades
Risk Levels: Visual stop loss and target levels
Structure Points: Marked swing highs and lows
Squeeze Background: Volatility compression indication
Signal Background: Signal strength background shading
Moving Averages: Color-coded MA system
Dashboard: Comprehensive intelligence panel
The dashboard displays:
1. Current market regime and strength
2. Trend direction and bias scores
3. Momentum state and pressure readings
4. Volatility cycle and squeeze status
5. Structure analysis and bias
6. Signal qualification and grade
7. Risk metrics and multipliers
8. Active position information
Input Parameters
Regime Engine:
ADX Period: Trend strength calculation (default: 14)
Trend Threshold: Minimum ADX for trend (default: 25)
Volatility Multipliers: Expansion/contraction thresholds
Structure Engine:
Swing Sensitivity: Pivot detection sensitivity (default: 10)
Structure Confirmation: Bars for confirmation (default: 3)
Show Liquidity: Display liquidity zones
Momentum Engine:
Pressure Period: Pressure calculation (default: 14)
WaveTrend Settings: Channel and average periods
RSI Period: Momentum oscillator (default: 14)
Volatility Layer:
Bollinger Settings: Period and deviation
Keltner Settings: Period and multiplier
Adaptive Stops: Enable dynamic stops
Signal Qualification:
Minimum Confluence: Required score (default: 5)
Signal Cooldown: Bars between signals (default: 5)
Minimum R:R: Risk/reward requirement (default: 1.5)
How to Use This Engine
Step 1: Understand Market Regime
Check the dashboard for current regime. Avoid trading in volatile regimes (red), focus on trending regimes (green), and adapt strategy for ranging regimes (purple).
Step 2: Assess Directional Bias
Look for strong bias scores (>60) with MA stack confirmation. The bias should be clear across multiple components before considering entries.
Step 3: Confirm Momentum
Ensure momentum supports the directional bias. Look for pressure in the direction of trade and momentum acceleration.
Step 4: Verify Structure
Entries near structural levels have higher probability. Look for BOS confirmation and avoid trading against established structure.
Step 5: Check Volatility
Be aware of volatility cycles. Squeeze releases offer high-probability breakout opportunities. Adjust stops based on volatility multipliers.
Step 6: Qualify Signals
Only take signals with 5+ confluence points. A-grade signals (8+ points) offer the highest probability and deserve larger position sizing.
Best Practices
Always trade in the direction of the dominant bias
Higher confluence scores mean higher probability setups
Respect regime changes - they signal strategy adjustments
Use the directional cloud as primary trend guidance
Place stops using the volatility-adjusted levels
Scale out at multiple targets as provided
Avoid trading during volatile regimes unless experienced
Wait for A-grade setups rather than forcing mediocre trades
Keep a trade journal tracking regime/bias combinations
Never override the system's risk management without strong reason
Strategy Integration
This engine is a complete trading system:
Use signal qualification as primary entry filter
Apply regime-based position sizing
Import bias scores for trend confirmation
Use structure levels for stop placement
Integrate volatility multipliers for risk management
Export all engine outputs for custom strategies
Technical Implementation
Built with Pine Script v6 featuring:
Six-engine architecture with unified signal processing
Advanced regime detection with ADX/ATR analysis
Comprehensive structure analysis with swing detection
Multi-factor momentum scoring system
Volatility cycle analysis with squeeze detection
Directional bias calculation with multiple confirmations
Signal qualification with confluence scoring
Dynamic risk management with adaptive multipliers
Comprehensive visualization with directional cloud
Real-time dashboard with 12 key metrics
Export functions for complete system integration
The code uses confirmed bars throughout to prevent repainting and ensure reliable signals.
Originality Statement
This engine is original in its comprehensive integration of six distinct analytical systems into a unified decision framework. While individual components (ADX, moving averages, RSI, etc.) are established tools, this engine is justified because:
It synthesizes six independent analytical engines into one cohesive system
The regime-adaptive logic automatically adjusts behavior based on market conditions
Signal qualification provides objective, numerical evaluation of trade quality
The directional cloud visualization offers intuitive trend analysis
Dynamic risk management adapts to volatility and structure
Comprehensive dashboard presents all critical metrics in one view
Each engine contributes unique insights: regime shows when to trade, structure shows where, momentum shows timing, volatility shows how much, bias shows direction, and qualification shows quality
The engine solves the real problem of indicator overload and conflicting signals
Export functions enable complete system integration and customization
This is institutional-grade analysis typically available only to professional traders
The engine's value lies in providing a complete, unified trading intelligence system that eliminates analysis paralysis and provides clear, actionable signals based on comprehensive market analysis.
Disclaimer
This engine is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. This is a comprehensive analysis tool, not a guaranteed profit system.
Even with comprehensive analysis, markets can behave unpredictably due to news events, economic data, or changes in market structure. Past performance of the system does not guarantee future results. The engine's signals are mathematical calculations based on historical patterns and should be used with proper risk management.
Always use stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose on any single trade, regardless of signal quality or confluence score.
The author is not responsible for any losses incurred from using this engine. Users assume full responsibility for all trading decisions made using this system.
-Made with passion by officialjackofalltrades
Indicator

Viprasol Multi-Timeframe Trend Signal EngineOverview
The Multi-Timeframe Trend Signal Engine is a comprehensive overlay indicator that combines SuperTrend signals, a 5-EMA trend ribbon, EMA cloud, chaos trend line, order blocks, and an RSI-based take profit system with a 6-timeframe ADX trend dashboard. The core system — originally developed by Zakaria Safri — is a mature, feature-rich trading toolkit. This version adds a confluence quantification layer that transforms the dashboard's six independent timeframe readings into a single scored consensus metric, turning passive multi-timeframe observation into an actionable alignment signal.
How It Works
SuperTrend Signal Engine:
A custom SuperTrend calculation generates buy and sell signals using ATR-based dynamic bands. All signals require bar-close confirmation to prevent repainting on confirmed bars. Two modes are available: "All Signals" shows every crossover, while "Filtered Signals" adds an EMA gate requiring price to be above (for buys) or below (for sells) the main EMA before a signal qualifies.
Multi-Timeframe ADX Dashboard:
The indicator fetches ADX trend quality from six timeframes (5m, 15m, 1H, 4H, 12H, Daily) using an anti-repaint security pattern (previous bar value with lookahead — confirmed bars only). Each timeframe is classified as Bullish, Bearish, or Neutral based on an adaptive threshold derived from the median ADX value multiplied by a configurable factor. This means trend classification adjusts to the instrument's own volatility regime rather than relying on fixed levels.
MTF Confluence Score (Viprasol Addition):
The six individual timeframe trend readings are aggregated into a Confluence Score ranging from 0 to 6. The score counts how many timeframes currently show a bullish ADX trend. A separate bear confluence count tracks bearish alignment independently. The score is color-coded in the dashboard: green at 5-6 (strong bullish consensus), yellow at 3-4 (mixed), red at 0-2 (weak or bearish-dominant). This transforms what would otherwise be six separate readings requiring manual interpretation into a single quantified alignment metric. Two dedicated alert conditions fire when 5 or more timeframes agree on direction, providing automated detection of high-confluence setups.
Trend Ribbon:
Five EMAs (20, 25, 35, 45, 55) form a color-coded ribbon. The ribbon is bullish when the fastest EMA leads and bearish when it trails, shifting state on crossover. It provides a visual trend context layer independent of the SuperTrend signal system.
EMA Cloud:
A 150/250 EMA cloud identifies longer-term structural trend direction. Green fill indicates bullish structure, red fill indicates bearish structure. This serves as a backdrop for assessing whether shorter-term signals align with the broader trend.
Chaos Trend Line:
An adaptive trend line using pivot-based detection with ATR channels. It tracks the prevailing trend using highest and lowest pivot levels and changes color on confirmed reversals, providing another independent trend perspective.
Order Blocks:
Structural order blocks based on pivot break-of-structure logic. Bullish order blocks form at swing lows when higher highs break structure; bearish order blocks form at swing highs when lower lows break structure. Boxes fade when price tests them and are removed when fully invalidated.
RSI Take Profit System:
A sequential TP system using RSI crossovers at configurable levels (default 70/85/100 for bullish, 30/15/5 for bearish). Each TP level only fires after the previous one has triggered within the current signal cycle, creating a staged exit framework. TP1 must trigger before TP2 becomes active, and TP2 before TP3.
Reversal Signals:
A 25-period RSI-based reversal detector that fires when RSI crosses above the oversold level or below the overbought level, using bar-close confirmation.
Risk Management Lines:
Visual-only TP and SL lines plotted relative to entry price. These are for reference only and do not execute trades.
Key Features
- SuperTrend buy/sell signals with bar-close confirmation (no repainting on confirmed bars)
- Two signal modes: All Signals and EMA-Filtered Signals
- 6-timeframe ADX trend dashboard (5m, 15m, 1H, 4H, 12H, Daily)
- MTF Confluence Score (0-6) quantifying multi-timeframe bullish/bearish alignment
- 5-EMA trend ribbon with directional color coding
- EMA 150/250 cloud for structural trend context
- Adaptive chaos trend line with pivot-based detection
- Structural order blocks with fade-on-test and auto-invalidation
- RSI-based sequential take profit system (TP1, TP2, TP3)
- Visual TP/SL risk management lines
- RSI reversal signals at extreme levels
- Channel breakout levels from pivot highs and lows
- Three candle coloring modes (Scalper RSI, Trend Ribbon, EMA Direction)
- RSI background zones for overbought/oversold visualization
- Configurable dashboard position and font size
- All visual elements individually toggleable
- 10 alert conditions with dynamic messages
How to Use
Reading the Dashboard:
Start with the MTF Confluence Score. A score of 5-6 out of 6 indicates strong multi-timeframe bullish alignment — the majority of timeframes from 5-minute through Daily are trending in the same direction. A score of 0-1 indicates strong bearish alignment. Scores of 3-4 represent mixed conditions where caution is warranted. The individual timeframe rows below the score show exactly where agreement and disagreement exist, letting you identify which timeframes are diverging.
Signal Workflow:
Use "Filtered Signals" mode for higher-quality entries that align with the main EMA direction. Use "All Signals" mode when you want to capture more frequent opportunities in ranging or transitional markets. Reversal signals (purple labels) flag potential exhaustion at RSI extremes. The sequential TP markers (TP1, TP2, TP3) provide staged exit targets based on RSI momentum progression.
Combining Confluence with Signals:
The confluence score is most valuable as a directional filter. A buy signal firing when the confluence score is 5 or 6 carries more weight than one firing at a score of 2. Similarly, a sell signal at confluence 0 or 1 has stronger multi-timeframe backing. This is the core analytical addition — rather than visually scanning six rows, you get a single number that quantifies alignment strength.
Suggested Starting Points:
- Scalping (1m-5m): Sensitivity 2.0, ATR Factor 8, Filtered mode
- Intraday (15m-1H): Sensitivity 2.5, ATR Factor 11, All Signals mode
- Swing (4H-1D): Sensitivity 3.0, ATR Factor 14, Filtered mode
Settings
Main Settings — Sensitivity (controls signal frequency), Signal Mode (All or Filtered), ATR Factor (band width)
Trend Settings — Toggle trend ribbon, EMA cloud, chaos trend line, order blocks; configurable main EMA period
Signal Settings — Show/hide buy-sell signals, candle coloring mode selection, RSI background zones, channel breakouts
Dashboard Settings — Show/hide dashboard, position selection, font size
Risk Management — Visual-only TP/SL lines, TP strength multiplier, individual TP level toggles
Alerts
1. Buy Signal — SuperTrend crossover buy confirmed at bar close
2. Sell Signal — SuperTrend crossover sell confirmed at bar close
3. Filtered Buy — Buy signal with price above main EMA
4. Filtered Sell — Sell signal with price below main EMA
5. Reversal Up — RSI crosses above oversold level
6. Reversal Down — RSI crosses below overbought level
7. Ribbon Turned Bullish — EMA ribbon state change to bullish (edge-detected, fires once on crossover bar)
8. Ribbon Turned Bearish — EMA ribbon state change to bearish (edge-detected, fires once on crossover bar)
9. Strong Bullish MTF Alignment — 5+ of 6 timeframes showing bullish ADX trend
10. Strong Bearish MTF Alignment — 5+ of 6 timeframes showing bearish ADX trend
All alerts include dynamic message variables: {{ticker}}, {{close}}, and {{interval}}.
Limitations & Disclaimer
- MTF data uses the anti-repaint pattern (previous bar value with lookahead) to avoid repainting on confirmed bars. The current bar's data updates in real-time until that bar closes.
- ADX trend classification uses an adaptive threshold (median ADX multiplied by a configurable factor). "Neutral" readings are relative to the instrument's recent volatility, not fixed levels. This means the same ADX value may be classified differently across instruments or time periods.
- The RSI TP system is sequential — TP2 only becomes active after TP1 fires, and TP3 after TP2. If TP1 never triggers during a signal cycle, later levels will not fire.
- Order blocks use a simplified break-of-structure method based on 3-bar pivots. They are structural levels, not institutional order flow data.
- The Risk Management TP/SL lines are visual references only — they do not place or manage trades.
- This indicator is for educational and analytical purposes only. It is not financial advice. Always use proper risk management and validate signals with your own analysis. Test on a demo account before live trading.
Credits & Attribution
This script is derived from "Multi-Timeframe Trend Indicator with Signals" v4.4 by Zakaria Safri. The original is a substantial, feature-rich indicator that provides the SuperTrend signal engine, 5-EMA trend ribbon, EMA cloud, chaos trend line, 6-timeframe ADX dashboard, order block detection, RSI sequential take profit system, TP/SL risk management lines, reversal signals, channel breakout levels, three candle coloring modes, volatility measurement, and 8 alert conditions. The vast majority of the analytical logic in this script is Zakaria Safri's work.
Viprasol's additions: MTF Confluence Score (aggregating 6 timeframe readings into a 0-6 quantified alignment metric with color coding), separate bear confluence tracking, MTF alignment alerts (firing at 5+ timeframe agreement), and ribbon trend change alerts using edge detection for single-bar precision. These additions layer a confluence quantification system on top of the original's multi-timeframe dashboard.
Published open-source per PulseWire House Rules governing derivative works of open-source scripts. Indicator

Signal Qualification Engine [JOAT]Signal Qualification Engine
Introduction
The Signal Qualification Engine is a sophisticated multi-layer signal filtering system designed to identify high-probability trading opportunities through comprehensive confluence analysis. This indicator solves the universal trading problem of signal quality - not all signals are created equal, and distinguishing between mediocre setups and high-probability opportunities is what separates successful traders from the crowd. By evaluating signals across trend, momentum, volume, and structure layers, this engine provides institutional-grade signal qualification that helps traders focus only on the best opportunities.
This tool is built for traders who understand that edge in trading comes from the confluence of multiple factors rather than any single indicator. Whether you're a discretionary trader looking for confirmation, a systematic trader needing signal filtering, or an algorithm developer requiring quality scoring, this engine provides the comprehensive analysis needed to elevate your trading from random signals to systematic, high-quality setups.
Why This Indicator Exists
Most traders struggle with signal overload - too many signals, varying quality, and no systematic way to evaluate them. This indicator addresses that critical problem by:
Multi-Layer Analysis: Evaluates signals across four independent analytical layers
Quality Scoring: Provides objective, numerical quality scores for every signal
Confluence Detection: Identifies when multiple factors align for high-probability setups
Risk/Reward Validation: Ensures signals offer adequate profit potential relative to risk
Premium Signals: Flags exceptional setups with maximum confluence
Visual Zones: Shows entry zones, stop levels, and targets for clear risk management
The engine transforms subjective signal evaluation into an objective, systematic process that can be consistently applied across all market conditions and instruments.
Core Components Explained
1. Trend Analysis Layer
The trend layer evaluates the directional bias using multiple trend indicators:
// Trend scoring
int trend_bull_score = 0
int trend_bear_score = 0
// Moving average analysis
if price_above_fast_ma
trend_bull_score += 1
if price_above_slow_ma
trend_bull_score += 1
if ma_bullish_cross
trend_bull_score += 1
// ADX analysis
if adx > i_adx_thresh
trend_bull_score += plus_di > minus_di ? 2 : 0
trend_bear_score += minus_di > plus_di ? 2 : 0
Trend components:
Price vs MAs: Position relative to fast and slow moving averages
MA Crossovers: Recent trend changes and confirmation
ADX Strength: Trend strength above threshold (default 25)
Directional Movement: +DI vs -DI for trend direction
Trend Score: Cumulative trend strength (0-5 points)
The trend layer ensures we only trade in the direction of the established trend or during trend changes with confirmation.
2. Momentum Analysis Layer
Momentum is evaluated through multiple oscillators to ensure optimal timing:
// Momentum scoring
int momentum_bull_score = 0
int momentum_bear_score = 0
// RSI analysis
if rsi > 50 and rsi < 70 and rsi > rsi
momentum_bull_score += 1
if rsi < 50 and rsi > 30 and rsi < rsi
momentum_bear_score += 1
// Stochastic analysis
if stoch_k > stoch_d and stoch_k < 80
momentum_bull_score += 1
if stoch_k < stoch_d and stoch_k > 20
momentum_bear_score += 1
// MACD analysis
if macd_hist > 0 and macd_hist > macd_hist
momentum_bull_score += 1
if macd_hist < 0 and macd_hist < macd_hist
momentum_bear_score += 1
Momentum components:
RSI Direction: Momentum direction with overbought/oversold filters
Stochastic Crossovers: Entry timing with extreme level avoidance
MACD Histogram: Trend acceleration and deceleration
Momentum Score: Cumulative momentum strength (0-3 points)
Divergence Detection: Price/momentum divergences for early signals
The momentum layer ensures we enter when momentum supports our directional bias.
3. Volume Analysis Layer
Volume confirms the strength and conviction behind price movements:
// Volume analysis
float vol_sma = ta.sma(volume, 20)
float vol_ratio = vol_sma > 0 ? volume / vol_sma : 1.0
bool above_avg_vol = volume > vol_sma * 1.2
bool high_vol_session = session_vol_ratio > 1.5
// Volume scoring
int volume_score = 0
if above_avg_vol
volume_score += 1
if high_vol_session
volume_score += 1
if vol_ratio > 1.5
volume_score += 1
Volume components:
Volume Ratio: Current volume relative to 20-period average
Above Average Volume: Confirms signal strength (20% above average)
Session Volume Analysis: Compares current volume to historical session averages
Volume Score: Cumulative volume confirmation (0-3 points)
Volume Spike Detection: Exceptional volume that may signal institutional activity
The volume layer ensures signals have sufficient participation to be reliable.
4. Structure Analysis Layer
Structure identifies key levels where professional traders place orders:
// Structure analysis
float swing_high = ta.pivothigh(high, i_swing_left, i_swing_right)
float swing_low = ta.pivotlow(low, i_swing_left, i_swing_right)
bool near_resistance = math.abs(close - nearest_resistance) / close * 100 < i_level_proximity
bool near_support = math.abs(close - nearest_support) / close * 100 < i_level_proximity
bool sweep_high = high > nearest_resistance and close < nearest_resistance
bool sweep_low = low < nearest_support and close > nearest_support
Structure components:
Swing Points: Key highs and lows defining market structure
Level Proximity: Distance to nearest support/resistance
Liquidity Sweeps: Price moves beyond levels that quickly reverse
Break of Structure: Confirms trend changes
Structure Score: Cumulative structural confirmation (0-3 points)
The structure layer ensures entries occur at technically significant levels.
5. Signal Qualification System
All layers combine to produce a comprehensive qualification score:
// Total scores (max 14)
int bull_total = (
trend_bull_score + momentum_bull_score + volume_score + structure_score +
(near_support ? 1 : 0) + (sweep_low ? 1 : 0) + (rr_ratio >= i_min_rr ? 1 : 0)
)
int bear_total = (
trend_bear_score + momentum_bear_score + volume_score + structure_score +
(near_resistance ? 1 : 0) + (sweep_high ? 1 : 0) + (rr_ratio >= i_min_rr ? 1 : 0)
)
Qualification criteria:
Trend Score (0-5 points): Directional bias strength
Momentum Score (0-3 points): Timing confirmation
Volume Score (0-3 points): Participation confirmation
Structure Score (0-3 points): Level confirmation
Level Proximity (1 point): Entry at key level
Liquidity Sweep (1 point): Institutional activity
Risk/Reward (1 point): Adequate profit potential
Maximum Score: 14 points for perfect confluence
6. Quality Grading System
Signals are graded based on their qualification score:
// Quality grades
string bull_grade = bull_total >= 12 ? "A+" :
bull_total >= 10 ? "A" :
bull_total >= 8 ? "B" :
bull_total >= 6 ? "C" : "D"
string bear_grade = bear_total >= 12 ? "A+" :
bear_total >= 10 ? "A" :
bear_total >= 8 ? "B" :
bear_total >= 6 ? "C" : "D"
Grade meanings:
A+ (12-14 points): Exceptional setup with maximum confluence
A (10-11 points): High-quality setup with strong confluence
B (8-9 points): Good setup with moderate confluence
C (6-7 points): Acceptable setup with basic confluence
D (0-5 points): Weak setup, avoid trading
Only B-grade and above signals are typically considered for trading.
7. Risk/Reward Validation
Each signal is validated for adequate profit potential:
// Risk/Reward calculation
float atr_val = ta.atr(14)
float stop_distance = atr_val * i_stop_mult
float target_distance = atr_val * i_target_mult
float rr_ratio = target_distance / stop_distance
// RR validation
bool valid_rr = rr_ratio >= i_min_rr
RR features:
ATR-Based Stops: Dynamic stop placement based on volatility
Multiple Targets: Primary and secondary profit targets
Minimum RR Ratio: Configurable minimum (default 1.5:1)
RR Validation: Signals without adequate RR are disqualified
Visual Targets: Clear stop and target levels on chart
Visual Elements
Signal Markers: Clear entry signals with quality grades
Entry Zones: Shaded areas showing optimal entry regions
Risk Levels: Visual stop loss and target levels
Quality Meter: Real-time confluence score display
Background Colors: Signal strength background shading
Dashboard: Comprehensive metrics panel
Premium Signals: Special markers for A+ grade setups
The dashboard displays:
1. Current signal qualification scores
2. Quality grades and confluence percentages
3. Individual layer scores (trend, momentum, volume, structure)
4. Risk/Reward ratio and validation status
5. Nearest support/resistance levels
6. Volume analysis and session context
7. Signal cooldown status
8. Premium signal indicators
Input Parameters
Trend Settings:
Fast MA Period: Short-term trend (default: 21)
Slow MA Period: Medium-term trend (default: 55)
ADX Period: Trend strength (default: 14)
ADX Threshold: Minimum trend strength (default: 25)
Momentum Settings:
RSI Period: Momentum oscillator (default: 14)
Stochastic K/D: Entry timing (default: 14/3)
MACD Fast/Slow/Signal: Trend acceleration (default: 12/26/9)
Structure Settings:
Swing Left/Right: Pivot point detection (default: 10/5)
Level Proximity %: Distance to key levels (default: 0.5%)
Max Levels: Maximum swing levels to track (default: 20)
Qualification Settings:
Minimum Score: Required qualification score (default: 6)
Signal Cooldown: Bars between signals (default: 5)
Minimum R:R: Required risk/reward ratio (default: 1.5)
Require Confirmation: Wait for bar close (default: true)
How to Use This Indicator
Step 1: Monitor Signal Quality
Watch for B-grade or higher signals. A-grade signals offer the highest probability but occur less frequently. Focus on quality over quantity - one A-grade signal is worth ten C-grade signals.
Step 2: Verify Layer Alignment
Check the dashboard to see which layers are contributing to the signal. The best signals have confirmation from all four layers (trend, momentum, volume, structure).
Step 3: Assess Risk/Reward
Ensure the signal offers adequate profit potential. The indicator automatically validates RR ratios, but you should manually verify that targets make sense in the current market context.
Step 4: Time Entry with Structure
Use the entry zones and structure levels to time your entry precisely. The best entries occur when price is near key support/resistance levels or after liquidity sweeps.
Step 5: Manage Risk Dynamically
Use the visual stop and target levels as guidelines, but adjust based on your personal risk tolerance and account size. Never risk more than you're comfortable losing.
Step 6: Track Premium Signals
Pay special attention to A+ grade premium signals. These rare setups with maximum confluence often lead to the largest moves and deserve larger position sizes.
Best Practices
Be patient for A-grade signals rather than forcing mediocre trades
Use the qualification score as your primary filter - ignore signals below your minimum threshold
Combine with your own analysis for additional confirmation
Adjust the minimum score based on market conditions - higher in choppy markets, lower in strong trends
Keep a trade journal to track which grade performs best in each market condition
Use the cooldown period to avoid overtrading - quality signals require patience
Pay attention to volume confirmation - signals without volume support often fail
Structure is key - signals at major levels have higher success rates
Liquidity sweeps provide high-probatility reversal opportunities
Always respect the risk/reward validation - poor RR setups destroy accounts
Strategy Integration
This indicator is designed to enhance any trading system:
Use as a signal filter for existing strategies
Import quality scores to weight trade decisions
Combine with trend-following systems for entry timing
Use structure levels for stop placement in other systems
Integrate volume analysis for signal confirmation
Apply risk/reward validation to all trades
Use premium signals as standalone trade opportunities
Export layer scores for custom signal development
The indicator includes 12 export functions for integration:
Bull/Bear Score Export: Total qualification scores
Quality Grade Export: Letter grade as numeric value
Trend Score Export: Trend layer score
Momentum Score Export: Momentum layer score
Volume Score Export: Volume layer score
Structure Score Export: Structure layer score
RR Ratio Export: Current risk/reward ratio
Signal Export: Binary signal output
Premium Signal Export: A+ grade signal flag
Technical Implementation
Built with Pine Script v6 featuring:
Multi-layer signal analysis across four independent systems
Dynamic qualification scoring with configurable weights
Advanced market structure detection with pivot points
Volume analysis with session context
Risk/reward validation with ATR-based calculations
Comprehensive visualization with entry zones and risk levels
Real-time dashboard with 12 key metrics
Alert conditions for all signal types and grades
Export functions for strategy integration
Premium signal detection for exceptional setups
The code uses confirmed bars for all calculations to prevent repainting and ensure reliable signals.
Originality Statement
This indicator is original in its comprehensive approach to signal qualification and multi-layer confluence analysis. While individual components (RSI, MACD, ADX, etc.) are established tools, this indicator is justified because:
It synthesizes four distinct analytical layers into a unified qualification system
The scoring system provides objective, numerical signal evaluation
Quality grading transforms subjective analysis into systematic decision-making
Risk/reward validation ensures only profitable setups are considered
Structure analysis integration provides context for market microstructure
Volume layer adds confirmation often missing from signal systems
Premium signal detection identifies exceptional opportunities
Comprehensive visualization makes complex analysis accessible
Export functions enable integration with any trading system
Each layer contributes unique insights: trend provides direction, momentum provides timing, volume provides confirmation, and structure provides context
The indicator's value lies in transforming signal evaluation from art to science - providing traders with a systematic, objective way to identify and focus only on the highest probability trading opportunities.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Signal qualification is a tool for improving trade selection, not a guarantee of success.
Even high-quality signals can fail due to unexpected market events, news, or changes in market conditions. Past performance of high-grade signals does not guarantee future results. The indicator's signals are mathematical calculations based on historical patterns and should be used in conjunction with proper risk management.
Always use stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose on any single trade, regardless of signal quality.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this system.
-Made with passion by officialjackofalltrades
Indicator

Indicator

Candle DNA Strand█ CANDLE DNA STRAND
A unique lower-panel indicator that visualizes candle structure as a stylized double-helix pattern. One strand represents body dominance (open-close range) while the other represents wick proportion (shadow-to-body ratio). The strands twist around a center axis with color encoding for bullish/bearish bias, revealing candle character patterns over time in an intuitive DNA-inspired format.
█ CONCEPT
Traditional candlestick analysis focuses on individual candle patterns. The Candle DNA Strand takes a different approach by decomposing every candle into two core metrics and plotting them as intertwined waves:
• Body Strand — Measures how much of each candle is "body" (the filled portion between open and close). High body ratios indicate conviction and directional commitment.
• Wick Strand — Measures how much of each candle is "shadow" (upper and lower wicks combined). High wick ratios indicate rejection, indecision, or failed attempts at direction.
These two strands are phase-offset by 180° to create the classic double-helix DNA appearance. As you scroll through the chart, you can visually identify periods of conviction (body-dominant) versus indecision (wick-dominant), and how candle character evolves over time.
█ HOW IT WORKS
The indicator calculates two normalized ratios for each candle:
Body Ratio = |Close - Open| / (High - Low)
Wick Ratio = (Upper Wick + Lower Wick) / (High - Low)
These ratios are smoothed and then modulated onto sine waves that twist around a center axis at the 50 level. The amplitude of each strand reflects the strength of that metric — larger bodies push the body strand further from center, and larger wicks push the wick strand further out.
The strands are color-coded by the current candle's bias:
• Bullish candles (close ≥ open) → Neon green tones
• Bearish candles (close < open) → Neon red tones
█ TRADE ZONES
The indicator includes an optional Trade Zone detection system based on candle character analysis:
◉ LONG ZONE (Green Background)
Triggers when:
• Average body ratio exceeds the Body Dominance Threshold (default 65%)
• Bullish momentum score > 40% (more bulls than bears in lookback period)
• Average wick ratio below the Wick Rejection Threshold (default 55%)
This identifies periods where price is moving up with conviction — strong bullish bodies with minimal rejection wicks.
◉ SHORT ZONE (Red Background)
Triggers when:
• Average body ratio exceeds the Body Dominance Threshold
• Bearish momentum score > 40% (more bears than bulls in lookback period)
• Average wick ratio below the Wick Rejection Threshold
This identifies periods where price is moving down with conviction — strong bearish bodies with minimal rejection wicks.
◉ CHOP/INDECISION
When the average wick ratio exceeds 60%, the market is showing high rejection and indecision. The DNA strands will show wick dominance during these periods.
Triangle markers appear at zone entry points:
• ▲ Green triangle below the helix = Long zone entry
• ▼ Red triangle above the helix = Short zone entry
█ VISUAL ELEMENTS
DNA Strands
Two intertwined lines representing body and wick ratios, twisting around the center axis with a configurable wavelength.
Base Pair Connectors
Vertical lines connecting the two strands at regular intervals, mimicking the "rungs" of a DNA ladder. These help visualize the spread between body and wick metrics.
Nucleotide Nodes
Small circular markers along each strand showing individual data points.
Fill Zone
Subtle gradient fill between the strands for visual depth. The fill color matches whichever strand is currently on top.
Info Label
Displays current values at the right edge of the chart:
• Current bias (BULL/BEAR)
• Body and Wick percentages
• Active trade zone (if any)
█ PATTERN DETECTION
The indicator automatically detects significant candle patterns based on DNA metrics:
DOJI — Body ratio < 15%
Very small body relative to total range. Indicates indecision.
MARUBOZU — Body ratio > 85%
Almost no wicks. Strong conviction candle with price closing near the high (bullish) or low (bearish).
HAMMER — Wick ratio > 60% with lower wick > 2× upper wick
Long lower shadow showing rejection of lower prices.
SHOOTING STAR — Wick ratio > 60% with upper wick > 2× lower wick
Long upper shadow showing rejection of higher prices.
█ SETTINGS
DNA Helix Settings
• Helix Wavelength — Number of bars for one complete DNA twist cycle (default: 20)
• Helix Amplitude — Vertical spread of the strands from center (default: 35)
• Show Base Pair Connectors — Toggle the connecting rungs (default: On)
• Connector Frequency — Draw a connector every N bars (default: 2)
• Data Smoothing — SMA length for smoothing ratios (default: 3)
• Strand Thickness — Line width for the DNA strands (default: 2)
Trade Zone Settings
• Show Trade Zones — Toggle background highlighting and entry signals (default: On)
• Zone Lookback — Bars to analyze for zone detection (default: 5)
• Body Dominance Threshold — Minimum avg body ratio for zone trigger (default: 0.65)
• Wick Rejection Threshold — Maximum avg wick ratio for zone trigger (default: 0.55)
Fluorescent Colors
• Bullish colors — Neon green and electric green variants
• Bearish colors — Neon red and hot pink variants
• Axis, connector, and zone colors are all customizable
Visual Settings
• Show Nucleotide Nodes — Toggle the small circles on strands (default: On)
• Show Info Labels — Toggle the right-side information label (default: On)
• Show DNA Analysis Table — Toggle detailed analysis table (default: Off)
█ ALERTS
Four alert conditions are available:
1. Long Zone Entry
"Entered LONG zone - strong bullish momentum with conviction candles"
2. Short Zone Entry
"Entered SHORT zone - strong bearish momentum with conviction candles"
3. Doji Pattern
"Doji detected - indecision"
4. Marubozu Pattern
"Marubozu detected - strong conviction"
█ INTERPRETATION GUIDE
Reading the DNA:
When body strand dominates (further from center):
• Market is moving with conviction
• Candles have strong bodies, minimal wicks
• Trend is likely to continue
When wick strand dominates (further from center):
• Market is showing rejection/indecision
• Candles have long shadows relative to bodies
• Potential reversal or consolidation
Strand crossovers:
• When strands cross, character is shifting
• Body crossing above wick → increasing conviction
• Wick crossing above body → increasing indecision
Color consistency:
• Long stretches of green → sustained bullish pressure
• Long stretches of red → sustained bearish pressure
• Alternating colors → choppy, mixed market
█ BEST PRACTICES
1. Use with price context — The DNA strand shows candle character, not direction. Combine with price action on the main chart.
2. Adjust wavelength to timeframe — Shorter wavelengths (10-15) for scalping, longer wavelengths (25-40) for swing trading.
3. Trade zones are filters, not signals — Use zone entries as confirmation for your existing strategy, not as standalone signals.
4. Watch for character shifts — When the dominant strand changes, market behavior is changing. This often precedes reversals.
5. Multiple timeframe analysis — Check DNA character on higher timeframes to understand the broader context.
█ CREDITS
Developed by Hash Capital Research
Pine Script™ v6
This indicator is provided for educational and informational purposes. Always conduct your own analysis and manage risk appropriately. Indicator

Kinetic MACD Nexus Candle OverlayWhat the indicator does
-Kinetic MACD Nexus Candle Overlay is the on-chart visual companion to Kinetic MACD Nexus (linked below). It colors candle wicks on your price chart according to the same five-state directional bias computed by the panel indicator: Strong Buy, Buy, Neutral, Sell, and Strong Sell. The candle bodies and borders are rendered fully transparent so the overlay does not interfere with your existing chart appearance — only the wicks carry the bias signal.
How it works
-This overlay runs the identical three-layer MACD bias engine as the panel indicator. It calculates three separate MACD histograms at three user-defined timeframes and evaluates their agreement through the same cascading decision logic:
-Slow layer (default 2W, MACD 12/26/9): Determines macro trend direction based on histogram polarity. Positive histogram = bullish macro environment, negative = bearish.
-Medium layer (default 1W, MACD 10/22/9): Confirms or denies the slow layer's direction. The slow and medium layers must agree for the indicator to produce any directional bias. When they disagree, the bias is Neutral.
-Fast layer (default 3D, MACD 8/17/9): Provides the momentum trigger. Unlike the other two layers, it requires three simultaneous conditions to confirm: histogram on the correct side of zero, MACD line on the correct side of its signal line, and histogram accelerating (current value exceeding previous value in the directional sense). Meeting all three conditions upgrades the bias from Buy to Strong Buy (or Sell to Strong Sell).
The resulting five-state bias is mapped to wick colors:
-Bias State
-Default Wick Color Meaning:
Strong Buy
-Bright green Full three-layer bullish alignment, fast momentum confirmed and accelerating
Buy
-Dark green Slow and medium layers bullish, fast layer not fully confirmed
Neutral
-Black Slow and medium layers disagree, no directional edge
Sell
-Dark red Slow and medium layers bearish, fast layer not fully confirmed
Strong Sell
-Bright red Full three-layer bearish alignment, fast momentum confirmed and accelerating
All colors are customizable. Non-repaint mode is enabled by default, ensuring higher-timeframe data only updates after candle close.
Why it exists as a separate script
-PulseWire's Pine Script architecture requires an indicator to declare itself as either overlay (drawn on the price chart) or non-overlay (drawn in a separate pane). It cannot do both. The Kinetic MACD Nexus panel indicator needs a separate pane to display its three histogram layers, divergence lines, and zero line. This overlay needs to draw directly on the price chart to color wicks. Splitting the system into two linked scripts is the only way to deliver both the detailed histogram panel and the at-a-glance wick coloring simultaneously.
-Both scripts expose the same configurable inputs with the same default values. When both are loaded with matching settings, their bias calculations produce identical results on every bar.
How to use it
-Add the Kinetic MACD Nexus panel indicator to a pane below your chart for the full histogram visualization, dashboard, and divergence detection.
-Add this overlay to the same chart. The wicks will immediately reflect the multi-timeframe bias state.
-Verify that all settings match between both scripts: timeframes (2W/1W/3D by default), MACD lengths (12/26/9, 10/22/9, 8/17/9 by default), source (close by default), and non-repaint mode (on by default). If you use defaults on both, no adjustment is needed.
-When scanning through a watchlist or monitoring multiple charts, the wick color gives you an instant read on the multi-timeframe momentum state without needing to examine the histogram panel in detail. Bright green wicks = strong bullish alignment. Bright red = strong bearish. Black = conflicting signals, stay cautious.
-Companion script: Kinetic MACD Nexus — .
That script provides the three-layer MACD histogram panel, gradient-normalized intensity visualization, candle body coloring, optional dashboard, and fast-layer divergence detection.
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice. No indicator guarantees future price movement. Always use proper risk management. The overlay is suitable for any liquid market (stocks, forex, crypto, commodities, indices) and is designed primarily for swing trading and position trading on daily charts with higher-timeframe MACD layers. Timeframes and MACD lengths are fully adjustable for adaptation to different trading styles, including intraday swing trading on compressed timeframe settings.
Indicator
