Trendlines with Breaks Oscillator [LuxAlgo]The Trendlines with Breaks Oscillator is an oscillator based on the Trendlines with Breaks indicator, and tracks the maximum distance on price from bullish and bearish trendline breakouts.
The oscillator features divergences and trendline breakout detection.
🔶 USAGE
This tool is based on our Trendlines with Breaks indicator, which detects bullish and bearish trendlines and highlights the breaks on the chart. Now, we bring you this tool as an oscillator.
The oscillator calculates the maximum distance between the price and the break of each trendline, for both bullish and bearish cases, then calculates the delta between both.
When the oscillator is above 0, the market is in an uptrend; when it is below 0, it is in a downtrend. An ascending slope indicates positive momentum, and a descending slope indicates negative momentum.
Trendline breaks are displayed as green and red dots on the oscillator. A green dot corresponds to a bullish break of a descending trendline, and a red dot corresponds to a bearish break of an ascending trendline.
The oscillator calculation depends on two parameters from the settings panel: short and long alpha length. These parameters are used to calculate a synthetic EMA with a variable alpha for both bullish and bearish breaks. The final result is the difference between the two averages.
As shown in the image, using the same trend detection parameters but different alphas can produce very different results. The larger the alphas, the smoother the oscillator becomes, detecting bigger trends but making it less reactive.
This tool features the same trendline detection system as the Trendlines with Breaks indicator, which is based on three main parameters: swing length, slope, and calculation method.
As we can see in the image above, the data collected for the oscillator calculation will be different when using different parameters. A larger length detects larger trends. A larger slope or a different calculation method also impacts the final result.
🔹 Signal Line
The signal line is a smoothed version of the oscillator; traders can choose the smoothing method and length used from the settings panel.
In the image, the signal line crossings are displayed as vertical lines. As we can see, the market usually corrects downward after a bearish crossing and corrects upward after a bullish crossing.
Traders can choose among 10 different smoothing methods for the signal line. In the image, we can see how different methods and lengths give different outputs.
🔹 Divergences
The tool features a divergence detector that helps traders understand the strength behind price movements. Traders can adjust the detection length from the settings panel.
As shown in the image, a bearish divergence occurs when the price prints higher highs, but the momentum on the histogram prints lower highs. A bullish divergence occurs when the price prints lower lows, but the histogram prints higher lows.
By adjusting the length of the divergence detector, traders can filter out smaller divergences, allowing the tool to only detect more significant ones.
The image above depicts divergences detected with different lengths; the larger the length, the bigger the divergences are detected.
🔶 SETTINGS
🔹 Trendlines
Swing Detection Lookback: The size of the market structure used for trendline detection.
Slope: Slope steepness, a value of 0 gives horizontal levels, values larger than 1 give a steeper slope
Slope Calculation Method: Choose how the slope is calculated
🔹 Oscillator
Short Alpha Length: Synthetic EMA short period
Long Alpha Length: Synthetic EMA long period
Smoothing Signal: Choose the smoothing method and period
Divergences: Enable or disable divergences and select the detection length.
🔹 Style
Bullish: Select bullish color.
Bearish: Select bearish color.
M-oscillator
Algorithm Predator - ML-liteAlgorithm Predator - ML-lite
This indicator combines four specialized trading agents with an adaptive multi-armed bandit selection system to identify high-probability trade setups. It is designed for swing and intraday traders who want systematic signal generation based on institutional order flow patterns , momentum exhaustion , liquidity dynamics , and statistical mean reversion .
Core Architecture
Why These Components Are Combined:
The script addresses a fundamental challenge in algorithmic trading: no single detection method works consistently across all market conditions. By deploying four independent agents and using reinforcement learning algorithms to select or blend their outputs, the system adapts to changing market regimes without manual intervention.
The Four Trading Agents
1. Spoofing Detector Agent 🎭
Detects iceberg orders through persistent volume at similar price levels over 5 bars
Identifies spoofing patterns via asymmetric wick analysis (wicks exceeding 60% of bar range with volume >1.8× average)
Monitors order clustering using simplified Hawkes process intensity tracking (exponential decay model)
Signal Logic: Contrarian—fades false breakouts caused by institutional manipulation
Best Markets: Consolidations, institutional trading windows, low-liquidity hours
2. Exhaustion Detector Agent ⚡
Calculates RSI divergence between price movement and momentum indicator over 5-bar window
Detects VWAP exhaustion (price at 2σ bands with declining volume)
Uses VPIN reversals (volume-based toxic flow dissipation) to identify momentum failure
Signal Logic: Counter-trend—enters when momentum extreme shows weakness
Best Markets: Trending markets reaching climax points, over-extended moves
3. Liquidity Void Detector Agent 💧
Measures Bollinger Band squeeze (width <60% of 50-period average)
Identifies stop hunts via 20-bar high/low penetration with immediate reversal and volume spike
Detects hidden liquidity absorption (volume >2× average with range <0.3× ATR)
Signal Logic: Breakout anticipation—enters after liquidity grab but before main move
Best Markets: Range-bound pre-breakout, volatility compression zones
4. Mean Reversion Agent 📊
Calculates price z-scores relative to 50-period SMA and standard deviation (triggers at ±2σ)
Implements Ornstein-Uhlenbeck process scoring (mean-reverting stochastic model)
Uses entropy analysis to detect algorithmic trading patterns (low entropy <0.25 = high predictability)
Signal Logic: Statistical reversion—enters when price deviates significantly from statistical equilibrium
Best Markets: Range-bound, low-volatility, algorithmically-dominated instruments
Adaptive Selection: Multi-Armed Bandit System
The script implements four reinforcement learning algorithms to dynamically select or blend agents based on performance:
Thompson Sampling (Default - Recommended):
Uses Bayesian inference with beta distributions (tracks alpha/beta parameters per agent)
Balances exploration (trying underused agents) vs. exploitation (using proven winners)
Each agent's win/loss history informs its selection probability
Lite Approximation: Uses pseudo-random sampling from price/volume noise instead of true random number generation
UCB1 (Upper Confidence Bound):
Calculates confidence intervals using: average_reward + sqrt(2 × ln(total_pulls) / agent_pulls)
Deterministic algorithm favoring agents with high uncertainty (potential upside)
More conservative than Thompson Sampling
Epsilon-Greedy:
Exploits best-performing agent (1-ε)% of the time
Explores randomly ε% of the time (default 10%, configurable 1-50%)
Simple, transparent, easily tuned via epsilon parameter
Gradient Bandit:
Uses softmax probability distribution over agent preference weights
Updates weights via gradient ascent based on rewards
Best for Blend mode where all agents contribute
Selection Modes:
Switch Mode: Uses only the selected agent's signal (clean, decisive)
Blend Mode: Combines all agents using exponentially weighted confidence scores controlled by temperature parameter (smooth, diversified)
Lock Agent Feature:
Optional manual override to force one specific agent
Useful after identifying which agent dominates your specific instrument
Only applies in Switch mode
Four choices: Spoofing Detector, Exhaustion Detector, Liquidity Void, Mean Reversion
Memory System
Dual-Layer Architecture:
Short-Term Memory: Stores last 20 trade outcomes per agent (configurable 10-50)
Long-Term Memory: Stores episode averages when short-term reaches transfer threshold (configurable 5-20 bars)
Memory Boost Mechanism: Recent performance modulates agent scores by up to ±20%
Episode Transfer: When an agent accumulates sufficient results, averages are condensed into long-term storage
Persistence: Manual restoration of learned parameters via input fields (alpha, beta, weights, microstructure thresholds)
How Memory Works:
Agent generates signal → outcome tracked after 8 bars (performance horizon)
Result stored in short-term memory (win = 1.0, loss = 0.0)
Short-term average influences agent's future scores (positive feedback loop)
After threshold met (default 10 results), episode averaged into long-term storage
Long-term patterns (weighted 30%) + short-term patterns (weighted 70%) = total memory boost
Market Microstructure Analysis
These advanced metrics quantify institutional order flow dynamics:
Order Flow Toxicity (Simplified VPIN):
Measures buy/sell volume imbalance over 20 bars: |buy_vol - sell_vol| / (buy_vol + sell_vol)
Detects informed trading activity (institutional players with non-public information)
Values >0.4 indicate "toxic flow" (informed traders active)
Lite Approximation: Uses simple open/close heuristic instead of tick-by-tick trade classification
Price Impact Analysis (Simplified Kyle's Lambda):
Measures market impact efficiency: |price_change_10| / sqrt(volume_sum_10)
Low values = large orders with minimal price impact ( stealth accumulation )
High values = retail-dominated moves with high slippage
Lite Approximation: Uses simplified denominator instead of regression-based signed order flow
Market Randomness (Entropy Analysis):
Counts unique price changes over 20 bars / 20
Measures market predictability
High entropy (>0.6) = human-driven, chaotic price action
Low entropy (<0.25) = algorithmic trading dominance (predictable patterns)
Lite Approximation: Simple ratio instead of true Shannon entropy H(X) = -Σ p(x)·log₂(p(x))
Order Clustering (Simplified Hawkes Process):
Tracks self-exciting event intensity (coordinated order activity)
Decays at 0.9× per bar, spikes +1.0 when volume >1.5× average
High intensity (>0.7) indicates clustering (potential spoofing/accumulation)
Lite Approximation: Simple exponential decay instead of full λ(t) = μ + Σ α·exp(-β(t-tᵢ)) with MLE
Signal Generation Process
Multi-Stage Validation:
Stage 1: Agent Scoring
Each agent calculates internal score based on its detection criteria
Scores must exceed agent-specific threshold (adjusted by sensitivity multiplier)
Agent outputs: Signal direction (+1/-1/0) and Confidence level (0.0-1.0)
Stage 2: Memory Boost
Agent scores multiplied by memory boost factor (0.8-1.2 based on recent performance)
Successful agents get amplified, failing agents get dampened
Stage 3: Bandit Selection/Blending
If Adaptive Mode ON:
Switch: Bandit selects single best agent, uses only its signal
Blend: All agents combined using softmax-weighted confidence scores
If Adaptive Mode OFF:
Traditional consensus voting with confidence-squared weighting
Signal fires when consensus exceeds threshold (default 70%)
Stage 4: Confirmation Filter
Raw signal must repeat for consecutive bars (default 3, configurable 2-4)
Minimum confidence threshold: 0.25 (25%) enforced regardless of mode
Trend alignment check: Long signals require trend_score ≥ -2, Short signals require trend_score ≤ 2
Stage 5: Cooldown Enforcement
Minimum bars between signals (default 10, configurable 5-15)
Prevents over-trading during choppy conditions
Stage 6: Performance Tracking
After 8 bars (performance horizon), signal outcome evaluated
Win = price moved in signal direction, Loss = price moved against
Results fed back into memory and bandit statistics
Trading Modes (Presets)
Pre-configured parameter sets:
Conservative: 85% consensus, 4 confirmations, 15-bar cooldown
Expected: 60-70% win rate, 3-8 signals/week
Best for: Swing trading, capital preservation, beginners
Balanced: 70% consensus, 3 confirmations, 10-bar cooldown
Expected: 55-65% win rate, 8-15 signals/week
Best for: Day trading, most traders, general use
Aggressive: 60% consensus, 2 confirmations, 5-bar cooldown
Expected: 50-58% win rate, 15-30 signals/week
Best for: Scalping, high-frequency trading, active management
Elite: 75% consensus, 3 confirmations, 12-bar cooldown
Expected: 58-68% win rate, 5-12 signals/week
Best for: Selective trading, high-conviction setups
Adaptive: 65% consensus, 2 confirmations, 8-bar cooldown
Expected: Varies based on learning
Best for: Experienced users leveraging bandit system
How to Use
1. Initial Setup (5 Minutes):
Select Trading Mode matching your style (start with Balanced)
Enable Adaptive Learning (recommended for automatic agent selection)
Choose Thompson Sampling algorithm (best all-around performance)
Keep Microstructure Metrics enabled for liquid instruments (>100k daily volume)
2. Agent Tuning (Optional):
Adjust Agent Sensitivity multipliers (0.5-2.0):
<0.8 = Highly selective (fewer signals, higher quality)
0.9-1.2 = Balanced (recommended starting point)
1.3 = Aggressive (more signals, lower individual quality)
Monitor dashboard for 20-30 signals to identify dominant agent
If one agent consistently outperforms, consider using Lock Agent feature
3. Bandit Configuration (Advanced):
Blend Temperature (0.1-2.0):
0.3 = Sharp decisions (best agent dominates)
0.5 = Balanced (default)
1.0+ = Smooth (equal weighting, democratic)
Memory Decay (0.8-0.99):
0.90 = Fast adaptation (volatile markets)
0.95 = Balanced (most instruments)
0.97+ = Long memory (stable trends)
4. Signal Interpretation:
Green triangle (▲): Long signal confirmed
Red triangle (▼): Short signal confirmed
Dashboard shows:
Active agent (highlighted row with ► marker)
Win rate per agent (green >60%, yellow 40-60%, red <40%)
Confidence bars (█████ = maximum confidence)
Memory size (short-term buffer count)
Colored zones display:
Entry level (current close)
Stop-loss (1.5× ATR)
Take-profit 1 (2.0× ATR)
Take-profit 2 (3.5× ATR)
5. Risk Management:
Never risk >1-2% per signal (use ATR-based stops)
Signals are entry triggers, not complete strategies
Combine with your own market context analysis
Consider fundamental catalysts and news events
Use "Confirming" status to prepare entries (not to enter early)
6. Memory Persistence (Optional):
After 50-100 trades, check Memory Export Panel
Record displayed alpha/beta/weight values for each agent
Record VPIN and Kyle threshold values
Enable "Restore From Memory" and input saved values to continue learning
Useful when switching timeframes or restarting indicator
Visual Components
On-Chart Elements:
Spectral Layers: EMA8 ± 0.5 ATR bands (dynamic support/resistance, colored by trend)
Energy Radiance: Multi-layer glow boxes at signal points (intensity scales with confidence, configurable 1-5 layers)
Probability Cones: Projected price paths with uncertainty wedges (15-bar projection, width = confidence × ATR)
Connection Lines: Links sequential signals (solid = same direction continuation, dotted = reversal)
Kill Zones: Risk/reward boxes showing entry, stop-loss, and dual take-profit targets
Signal Markers: Triangle up/down at validated entry points
Dashboard (Configurable Position & Size):
Regime Indicator: 4-level trend classification (Strong Bull/Bear, Weak Bull/Bear)
Mode Status: Shows active system (Adaptive Blend, Locked Agent, or Consensus)
Agent Performance Table: Real-time win%, confidence, and memory stats
Order Flow Metrics: Toxicity and impact indicators (when microstructure enabled)
Signal Status: Current state (Long/Short/Confirming/Waiting) with confirmation progress
Memory Panel (Configurable Position & Size):
Live Parameter Export: Alpha, beta, and weight values per agent
Adaptive Thresholds: Current VPIN sensitivity and Kyle threshold
Save Reminder: Visual indicator if parameters should be recorded
What Makes This Original
This script's originality lies in three key innovations:
1. Genuine Meta-Learning Framework:
Unlike traditional indicator mashups that simply display multiple signals, this implements authentic reinforcement learning (multi-armed bandits) to learn which detection method works best in current conditions. The Thompson Sampling implementation with beta distribution tracking (alpha for successes, beta for failures) is statistically rigorous and adapts continuously. This is not post-hoc optimization—it's real-time learning.
2. Episodic Memory Architecture with Transfer Learning:
The dual-layer memory system mimics human learning patterns:
Short-term memory captures recent performance (recency bias)
Long-term memory preserves historical patterns (experience)
Automatic transfer mechanism consolidates knowledge
Memory boost creates positive feedback loops (successful strategies become stronger)
This architecture allows the system to adapt without retraining , unlike static ML models that require batch updates.
3. Institutional Microstructure Integration:
Combines retail-focused technical analysis (RSI, Bollinger Bands, VWAP) with institutional-grade microstructure metrics (VPIN, Kyle's Lambda, Hawkes processes) typically found in academic finance literature and professional trading systems, not standard retail platforms. While simplified for Pine Script constraints, these metrics provide insight into informed vs. uninformed trading , a dimension entirely absent from traditional technical analysis.
Mashup Justification:
The four agents are combined specifically for risk diversification across failure modes:
Spoofing Detector: Prevents false breakout losses from manipulation
Exhaustion Detector: Prevents chasing extended trends into reversals
Liquidity Void: Exploits volatility compression (different regime than trending)
Mean Reversion: Provides mathematical anchoring when patterns fail
The bandit system ensures the optimal tool is automatically selected for each market situation, rather than requiring manual interpretation of conflicting signals.
Why "ML-lite"? Simplifications and Approximations
This is the "lite" version due to necessary simplifications for Pine Script execution:
1. Simplified VPIN Calculation:
Academic Implementation: True VPIN uses volume bucketing (fixed-volume bars) and tick-by-tick buy/sell classification via Lee-Ready algorithm or exchange-provided trade direction flags
This Implementation: 20-bar rolling window with simple open/close heuristic (close > open = buy volume)
Impact: May misclassify volume during ranging/choppy markets; works best in directional moves
2. Pseudo-Random Sampling:
Academic Implementation: Thompson Sampling requires true random number generation from beta distributions using inverse transform sampling or acceptance-rejection methods
This Implementation: Deterministic pseudo-randomness derived from price and volume decimal digits: (close × 100 - floor(close × 100)) + (volume % 100) / 100
Impact: Not cryptographically random; may have subtle biases in specific price ranges; provides sufficient variation for agent selection
3. Hawkes Process Approximation:
Academic Implementation: Full Hawkes process uses maximum likelihood estimation with exponential kernels: λ(t) = μ + Σ α·exp(-β(t-tᵢ)) fitted via iterative optimization
This Implementation: Simple exponential decay (0.9 multiplier) with binary event triggers (volume spike = event)
Impact: Captures self-exciting property but lacks parameter optimization; fixed decay rate may not suit all instruments
4. Kyle's Lambda Simplification:
Academic Implementation: Estimated via regression of price impact on signed order flow over multiple time intervals: Δp = λ × Δv + ε
This Implementation: Simplified ratio: price_change / sqrt(volume_sum) without proper signed order flow or regression
Impact: Provides directional indicator of impact but not true market depth measurement; no statistical confidence intervals
5. Entropy Calculation:
Academic Implementation: True Shannon entropy requires probability distribution: H(X) = -Σ p(x)·log₂(p(x)) where p(x) is probability of each price change magnitude
This Implementation: Simple ratio of unique price changes to total observations (variety measure)
Impact: Measures diversity but not true information entropy with probability weighting; less sensitive to distribution shape
6. Memory System Constraints:
Full ML Implementation: Neural networks with backpropagation, experience replay buffers (storing state-action-reward tuples), gradient descent optimization, and eligibility traces
This Implementation: Fixed-size array queues with simple averaging; no gradient-based learning, no state representation beyond raw scores
Impact: Cannot learn complex non-linear patterns; limited to linear performance tracking
7. Limited Feature Engineering:
Advanced Implementation: Dozens of engineered features, polynomial interactions (x², x³), dimensionality reduction (PCA, autoencoders), feature selection algorithms
This Implementation: Raw agent scores and basic market metrics (RSI, ATR, volume ratio); minimal transformation
Impact: May miss subtle cross-feature interactions; relies on agent-level intelligence rather than feature combinations
8. Single-Instrument Data:
Full Implementation: Multi-asset correlation analysis (sector ETFs, currency pairs, volatility indices like VIX), lead-lag relationships, risk-on/risk-off regimes
This Implementation: Only OHLCV data from displayed instrument
Impact: Cannot incorporate broader market context; vulnerable to correlated moves across assets
9. Fixed Performance Horizon:
Full Implementation: Adaptive horizon based on trade duration, volatility regime, or profit target achievement
This Implementation: Fixed 8-bar evaluation window
Impact: May evaluate too early in slow markets or too late in fast markets; one-size-fits-all approach
Performance Impact Summary:
These simplifications make the script:
✅ Faster: Executes in milliseconds vs. seconds (or minutes) for full academic implementations
✅ More Accessible: Runs on any TradingView plan without external data feeds, APIs, or compute servers
✅ More Transparent: All calculations visible in Pine Script (no black-box compiled models)
✅ Lower Resource Usage: <500 bars lookback, minimal memory footprint
⚠️ Less Precise: Approximations may reduce statistical edge by 5-15% vs. academic implementations
⚠️ Limited Scope: Cannot capture tick-level dynamics, multi-order-book interactions, or cross-asset flows
⚠️ Fixed Parameters: Some thresholds hardcoded rather than dynamically optimized
When to Upgrade to Full Implementation:
Consider professional Python/C++ versions with institutional data feeds if:
Trading with >$100K capital where precision differences materially impact returns
Operating in microsecond-competitive environments (HFT, market making)
Requiring regulatory-grade audit trails and reproducibility
Backtesting with tick-level precision for strategy validation
Need true real-time adaptation with neural network-based learning
For retail swing/day trading and position management, these approximations provide sufficient signal quality while maintaining usability, transparency, and accessibility. The core logic—multi-agent detection with adaptive selection—remains intact.
Technical Notes
All calculations use standard Pine Script built-in functions ( ta.ema, ta.atr, ta.rsi, ta.bb, ta.sma, ta.stdev, ta.vwap )
VPIN and Kyle's Lambda use simplified formulas optimized for OHLCV data (see "Lite" section above)
Thompson Sampling uses pseudo-random noise from price/volume decimal digits for beta distribution sampling
No repainting: All calculations use confirmed bar data (no forward-looking)
Maximum lookback: 500 bars (set via max_bars_back parameter)
Performance evaluation: 8-bar forward-looking window for reward calculation (clearly disclosed)
Confidence threshold: Minimum 0.25 (25%) enforced on all signals
Memory arrays: Dynamic sizing with FIFO queue management
Limitations and Disclaimers
Not Predictive: This indicator identifies patterns in historical data. It cannot predict future price movements with certainty.
Requires Human Judgment: Signals are entry triggers, not complete trading strategies. Must be confirmed with your own analysis, risk management rules, and market context.
Learning Period Required: The adaptive system requires 50-100 bars minimum to build statistically meaningful performance data for bandit algorithms.
Overfitting Risk: Restoring memory parameters from one market regime to a drastically different regime (e.g., low volatility to high volatility) may cause poor initial performance until system re-adapts.
Approximation Limitations: Simplified calculations (see "Lite" section) may underperform academic implementations by 5-15% in highly efficient markets.
No Guarantee of Profit: Past performance, whether backtested or live-traded, does not guarantee future performance. All trading involves risk of loss.
Forward-Looking Bias: Performance evaluation uses 8-bar forward window—this creates slight look-ahead for learning (though not for signals). Real-time performance may differ from indicator's internal statistics.
Single-Instrument Limitation: Does not account for correlations with related assets or broader market regime changes.
Recommended Settings
Timeframe: 15-minute to 4-hour charts (sufficient volatility for ATR-based stops; adequate bar volume for learning)
Assets: Liquid instruments with >100k daily volume (forex majors, large-cap stocks, BTC/ETH, major indices)
Not Recommended: Illiquid small-caps, penny stocks, low-volume altcoins (microstructure metrics unreliable)
Complementary Tools: Volume profile, order book depth, market breadth indicators, fundamental catalysts
Position Sizing: Risk no more than 1-2% of capital per signal using ATR-based stop-loss
Signal Filtering: Consider external confluence (support/resistance, trendlines, round numbers, session opens)
Start With: Balanced mode, Thompson Sampling, Blend mode, default agent sensitivities (1.0)
After 30+ Signals: Review agent win rates, consider increasing sensitivity of top performers or locking to dominant agent
Alert Configuration
The script includes built-in alert conditions:
Long Signal: Fires when validated long entry confirmed
Short Signal: Fires when validated short entry confirmed
Alerts fire once per bar (after confirmation requirements met)
Set alert to "Once Per Bar Close" for reliability
Taking you to school. — Dskyz, Trade with insight. Trade with anticipation.
ATM Premium Difference (Call - Put) Plots call-put difference of two different option contracts. Inspired by @TailThatWagsDog work
Commodity Channel Index Trend | DextraOverview
A smart, noise-filtered CCI that transforms chaotic oscillations into clear trend states. Instead of flipping constantly, CCI Trend locks into bullish or bearish mode only when momentum truly breaks out — using hysteresis to eliminate false signals.
Instant visual feedback via fully colored candles:
- Emerald Green = Bullish trend locked
- Hot Pink = Bearish trend locked
How It Works
1. Calculates standard CCI using EMA and price deviation
2. Triggers trend only when CCI exits the neutral zone
3. Locks the state until CCI breaks the opposite threshold
4. Updates CCI line color and candle appearance in real time
Williams Percent Range + MAA modernized take on the classic Williams %R oscillator — enhanced with a configurable moving average (SMA, EMA, RMA, WMA, HMA, or KAMA) for trend confirmation. Overbought and oversold zones are fully adjustable, and background highlights appear when momentum shifts: green for bullish crosses in oversold areas, red for bearish crosses in overbought zones.
Squeeze Momentum Early In and Out CandlesJohn Carter presented some candles called "Early In and Out Candles". Although I couldn't imitate the exact candles and warnings I create better indications and bars in my opinion.
When the Candles are above Donchian MA then we have a bullish Momentum.
When the Candles are bellow Donchian MA then we have bearish momentum.
This indicator works best to get an WARNING to enter and close EARLY positions.
Bullish:
When the candles are Light Blue then we have early warning to enter.
When the candles are Dark Blue then we have early warning to close the position.
Bearish:
When the candles are Red then we have early warning to enter.
When the candles are Yellow then we have early warning to close the position.
IMPORTANT NOTES:
Always combine it with the Squeeze Pro indicator.
Suggested Donchian MA: 5 (You can adjust it).
Don't let candles only to be your closing indication once again there are EARLY WARNINGS therefore can move your stop loses to maximize your profits when you are exiting.
I tested my self and I found that is the best strategy when we get Dark Blue candle in the Bullish move I move my stop loss little bit bellow the candle.
Therefore here we go we have early warnings for In and Out.
Thank you and Good Luck.
Chande Momentum Oscillator Trend | DextraOverview
A momentum-driven trend filter that turns the powerful Chande Momentum Oscillator (CMO) into a clean, actionable trend signal. ChandeMO Trend uses hysteresis locking to stay in bullish or bearish mode only when true momentum confirms direction. Instant visual clarity with fully colored candles:
Emerald Green → Bullish momentum locked
Hot Pink → Bearish momentum locked
How It Works
Calculates Chande Momentum Oscillator using EMA-smoothed upside/downside momentum
Triggers trend only when CMO exits the neutral zone
Locks the state until opposite threshold is broken
Updates CMO line color and candle appearance in real time
Market Profile Dominance Analyzer# Market Profile Dominance Analyzer
## 📊 OVERVIEW
**Market Profile Dominance Analyzer** is an advanced multi-factor indicator that combines Market Profile methodology with composite dominance scoring to identify buyer and seller strength across higher timeframes. Unlike traditional volume profile indicators that only show volume distribution, or simple buyer/seller indicators that only compare candle colors, this script integrates six distinct analytical components into a unified dominance measurement system.
This indicator helps traders understand **WHO controls the market** by analyzing price position relative to Market Profile key levels (POC, Value Area) combined with volume distribution, momentum, and trend characteristics.
## 🎯 WHAT MAKES THIS ORIGINAL
### **Hybrid Analytical Approach**
This indicator uniquely combines two separate methodologies that are typically analyzed independently:
1. **Market Profile Analysis** - Calculates Point of Control (POC) and Value Area (VA) using volume distribution across price channels on higher timeframes
2. **Multi-Factor Dominance Scoring** - Weights six independent factors to produce a composite dominance index
### **Six-Factor Composite Analysis**
The dominance score integrates:
- Price position relative to POC (equilibrium assessment)
- Price position relative to Value Area boundaries (acceptance/rejection zones)
- Volume imbalance within Value Area (institutional bias detection)
- Price momentum (directional strength)
- Volume trend comparison (participation analysis)
- Normalized Value Area position (precise location within fair value zone)
### **Adaptive Higher Timeframe Integration**
The script features an intelligent auto-selection system that automatically chooses appropriate higher timeframes based on the current chart period, ensuring optimal Market Profile structure regardless of the trading timeframe being analyzed.
## 💡 HOW IT WORKS
### **Market Profile Construction**
The indicator builds a Market Profile structure on a higher timeframe by:
1. **Session Identification** - Detects new higher timeframe sessions using `request.security()` to ensure accurate period boundaries
2. **Data Accumulation** - Stores high, low, and volume data for all bars within the current higher timeframe session
3. **Channel Distribution** - Divides the session's price range into configurable channels (default: 20 rows)
4. **Volume Mapping** - Distributes each bar's volume proportionally across all price channels it touched
### **Key Level Calculation**
**Point of Control (POC)**
- Identifies the price channel with the highest accumulated volume
- Represents the price level where the most trading activity occurred
- Serves as a magnetic level where price often returns
**Value Area (VA)**
- Starts at POC and expands both upward and downward
- Includes channels until reaching the specified percentage of total volume (default: 70%)
- Expansion algorithm compares adjacent volumes and prioritizes the direction with higher activity
- Defines the "fair value" zone where most market participants agreed to trade
### **Dominance Score Formula**
```
Dominance Score = (price_vs_poc × 10) +
(price_vs_va × 5) +
(volume_imbalance × 0.5) +
(price_momentum × 100) +
(volume_trend × 5) +
(va_position × 15)
```
**Component Breakdown:**
- **price_vs_poc**: +1 if above POC, -1 if below (shows which side of equilibrium)
- **price_vs_va**: +2 if above VAH, -2 if below VAL, 0 if inside VA
- **volume_imbalance**: Percentage difference between upper and lower VA volumes
- **price_momentum**: 5-period SMA of price change (directional acceleration)
- **volume_trend**: Compares 5-period vs 20-period volume averages
- **va_position**: Normalized position within Value Area (-1 to +1)
The composite score is then smoothed using EMA with configurable sensitivity to reduce noise while maintaining responsiveness.
### **Market State Determination**
- **BUYERS Dominant**: Smooth dominance > +10 (bullish control)
- **SELLERS Dominant**: Smooth dominance < -10 (bearish control)
- **NEUTRAL**: Between -10 and +10 (balanced market)
## 📈 HOW TO USE THIS INDICATOR
### **Trend Identification**
- **Green background** indicates buyers are in control - look for long opportunities
- **Red background** indicates sellers are in control - look for short opportunities
- **Gray background** indicates neutral market - consider range-bound strategies
### **Signal Interpretation**
**Buy Signals** (green triangle) appear when:
- Dominance crosses above -10 from oversold conditions
- Previous state was not already bullish
- Suggests shift from seller to buyer control
**Sell Signals** (red triangle) appear when:
- Dominance crosses below +10 from overbought conditions
- Previous state was not already bearish
- Suggests shift from buyer to seller control
### **Value Area Context**
Monitor the information table (top-right) to understand market structure:
- **Price vs POC**: Shows if trading above/below equilibrium
- **Volume Imbalance**: Positive values favor buyers, negative favors sellers
- **Market State**: Current dominant force (BUYERS/SELLERS/NEUTRAL)
### **Multi-Timeframe Strategy**
The auto-timeframe feature analyzes higher timeframe structure:
- On 1-minute charts → analyzes 2-hour structure
- On 5-minute charts → analyzes Daily structure
- On 15-minute charts → analyzes Weekly structure
- On Daily charts → analyzes Yearly structure
This higher timeframe context helps avoid counter-trend trades against the dominant force.
### **Confluence Trading**
Strongest signals occur when multiple factors align:
1. Price above VAH + positive volume imbalance + buyers dominant = Strong bullish setup
2. Price below VAL + negative volume imbalance + sellers dominant = Strong bearish setup
3. Price at POC + neutral state = Potential breakout/breakdown pivot
## ⚙️ INPUT PARAMETERS
- **Higher Time Frame**: Select specific HTF or use 'Auto' for intelligent selection
- **Value Area %**: Percentage of volume contained in VA (default: 70%)
- **Show Buy/Sell Signals**: Toggle signal triangles visibility
- **Show Dominance Histogram**: Toggle histogram display
- **Signal Sensitivity**: EMA period for dominance smoothing (1-20, default: 5)
- **Number of Channels**: Market Profile resolution (10-50, default: 20)
- **Color Settings**: Customize buyer, seller, and neutral colors
## 🎨 VISUAL ELEMENTS
- **Histogram**: Shows smoothed dominance score (green = buyers, red = sellers)
- **Zero Line**: Neutral equilibrium reference
- **Overbought/Oversold Lines**: ±50 levels marking extreme dominance
- **Background Color**: Highlights current market state
- **Information Table**: Displays key metrics (state, dominance, POC relationship, volume imbalance, timeframe, bars in session, total volume)
- **Signal Shapes**: Triangle markers for buy/sell signals
## 🔔 ALERTS
The indicator includes three alert conditions:
1. **Buyers Dominate** - Fires on buy signal crossovers
2. **Sellers Dominate** - Fires on sell signal crossovers
3. **Dominance Shift** - Fires when dominance crosses zero line
## 📊 BEST PRACTICES
### **Timeframe Selection**
- **Scalping (1-5min)**: Focus on 2H-4H dominance shifts
- **Day Trading (15-60min)**: Monitor Daily and Weekly structure
- **Swing Trading (4H-Daily)**: Track Weekly and Monthly dominance
### **Confirmation Strategies**
1. **Trend Following**: Enter in direction of dominance above/below ±20
2. **Reversal Trading**: Fade extreme readings beyond ±50 when diverging with price
3. **Breakout Trading**: Look for dominance expansion beyond ±30 with increasing volume
### **Risk Management**
- Avoid trading during NEUTRAL states (dominance between -10 and +10)
- Use POC levels as logical stop-loss placement
- Consider VAH/VAL as profit targets for mean reversion
## ⚠️ LIMITATIONS & WARNINGS
**Data Requirements**
- Requires sufficient historical data on current chart (minimum 100 bars recommended)
- Lower timeframes may show fewer bars per HTF session initially
- More accurate results after several complete HTF sessions have formed
**Not a Standalone System**
- This indicator analyzes market structure and participant control
- Should be combined with price action, support/resistance, and risk management
- Does not guarantee profitable trades - past dominance does not predict future results
**Repainting Characteristics**
- Higher timeframe levels (POC, VAH, VAL) update as new bars form within the session
- Dominance score recalculates with each new bar
- Historical signals remain fixed, but current session data is developing
**Volume Limitations**
- Uses exchange-provided volume data which varies by instrument type
- Forex and some CFDs use tick volume (not actual transaction volume)
- Most accurate on instruments with reliable volume data (stocks, futures, crypto)
## 🔍 TECHNICAL NOTES
**Performance Optimization**
- Uses `max_bars_back=5000` for extended historical analysis
- Efficient array management prevents memory issues
- Automatic cleanup of session data on new period
**Calculation Method**
- Market Profile uses actual volume distribution, not TPO (Time Price Opportunity)
- Value Area expansion follows traditional Market Profile auction theory
- All calculations occur on the chart's current symbol and timeframe
## 📚 EDUCATIONAL VALUE
This indicator helps traders understand:
- How institutional traders use Market Profile to identify fair value
- The relationship between price, volume, and market acceptance
- Multi-factor analysis techniques for assessing market conditions
- The importance of higher timeframe structure in trade planning
## 🎓 RECOMMENDED READING
To better understand the concepts behind this indicator:
- "Mind Over Markets" by James Dalton (Market Profile foundations)
- "Markets in Profile" by James Dalton (Value Area analysis)
- Volume Profile analysis in institutional trading
## 💬 USAGE TERMS
This indicator is provided as an educational and analytical tool. It does not constitute financial advice, investment recommendations, or trading signals. Users are responsible for their own trading decisions and should conduct their own research and due diligence.
Trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
Mom(5) SMA(3)Plots 5-period Momentum and its 3-period SMA to smooth swings and highlight short-term trend shifts.
Alpha-Weighted RSIDescription:
The Alpha-Weighted RSI is a next-generation momentum oscillator that redefines the classic RSI by incorporating the mathematical principles of Lévy Flight. This advanced adaptation applies non-linear weighting to price changes, making the indicator more sensitive to significant market moves and less reactive to minor noise. It is designed for traders seeking a clearer, more powerful view of momentum and potential reversal zones.
🔍 Key Features & Innovations:
Lévy Flight Alpha Weighting: At the core of this indicator is the Alpha parameter (1.0-2.0), which controls the sensitivity to price changes.
Lower Alpha (e.g., 1.2): Makes the indicator highly responsive to recent price movements, ideal for capturing early trend shifts.
Higher Alpha (e.g., 1.8): Creates a smoother, more conservative output that filters out noise, focusing on stronger momentum.
Customizable Smoothing: The raw Lévy-RSI is smoothed by a user-selectable moving average (8 MA types supported: SMA, EMA, SMMA, etc.), allowing for further customization of responsiveness.
Intuitive Centered Oscillator: The RSI is centered around a zero line, providing a clean visual separation between bullish and bearish territory.
Dynamic Gradient Zones: Subtle, colour coded gradient fills in the overbought (>+25) and oversold (<-25) regions enhance visual clarity without cluttering the chart.
Modern Histogram Display: Momentum is plotted as a sleek histogram that changes color between bright cyan (bullish) and magenta (bearish) based on its position relative to the zero line.
🎯 How to Use & Interpret:
Zero-Line Crossovers: The most basic signals. A crossover above the zero line indicates building bullish momentum, while a crossover below suggests growing bearish momentum.
Overbought/Oversold Levels: Use the +25/-25 and +35/-35 levels as dynamic zones. A reading above +25 suggests strong bullish momentum (overbought), while a reading below -25 indicates strong bearish momentum (oversold).
Divergence Detection: Look for divergences between the Alpha-Weighted RSI and price action. For example, if price makes a new low but the RSI forms a higher low, it can signal a potential bullish reversal.
Alpha Tuning: Adjust the Alpha parameter to match market volatility. In choppy markets, increase alpha to reduce noise. In trending markets, decrease alpha to become more responsive.
⚙️ Input Parameters:
RSI Settings: Standard RSI inputs for Length and Calculation Source.
Lévy Flight Settings: The crucial Alpha factor for response control.
MA Settings: MA Type and MA Length for smoothing the final output.
By applying Lévy Flight dynamics, this indicator offers a nuanced perspective on momentum, helping you stay ahead of the curve. Feedback is always welcome!
RADAR Oscillator (Regime Adaptive Directional Analysis)RADAR (Regime Adaptive Directional Analysis)
This script is available by invitation only.
What is it?
The RADAR Oscillator is a multi-layered decision support oscillator designed to filter market noise and detect high-probability trend resumptions. It combines multiple analytical engines that analyze different aspects of the market (Structure, Momentum, Trend Strength, Rhythm) to eliminate the weaknesses of a single indicator. Final buy/sell signals are generated only when a consensus is reached between these engines.
This is not a "strategy," but a signal-generating oscillator. Therefore, it does not provide backtest results (profit/loss, drawdown, etc.) as seen in TradingView's strategy tester. Its purpose is to add clarity and accuracy to the investor's decision-making process.
What Does It Promise, and What Does It Not Promise?
• What Does It Promise:
o Clarity and Noise Filtering: Aims to significantly reduce misleading signals in sideways and unstable markets.
o High-Probability Setup Detection: Thanks to its multiple confirmation mechanism, it generates signals only during strong and distinct market conditions.
o Adaptation to Market Conditions: It offers the ability to automatically adjust the analysis method based on the market's current "regime" (trend or sideways).
• What It Doesn't Promise:
o Guaranteed Profit: No financial instrument can guarantee future profits. RADAR is a probability-enhancing tool, not a magic formula.
o Automatic Wealth: Successful use requires proper risk management, market experience, and user discipline.
o Backtest Results: Because it is an oscillator, it does not provide historical performance metrics. Its value should be measured by its effectiveness in real-time market analysis.
Which Well-Known Indicators Are Used For What Purpose?
While RADAR creates a unique decision-making mechanism, it utilizes the fundamental building blocks of technical analysis. However, these indicators are never used directly to generate signals; instead, they serve as data sources and filters for our unique algorithm.
• ADX and DMI: Used to measure the strength and directional dominance of a trend. RADAR uses this data as a filter to confirm only the existence of a sufficiently strong trend.
• Moving Averages (EMA and SMA): Used as primary inputs to smooth price data and determine overall direction. Their outputs are processed in the consensus engine along with other filters.
• ATR (Average True Range): Does not directly generate signals, but measures market volatility. This data forms the basis of the oscillator's dynamic volatility smoothing engine, helping to adjust risk to market conditions.
Original Methodology and Proprietary Logic
This algorithm is not based on any open-source strategy code. The author's unique methodology combines multi-filter consensus, adaptive thresholding, statistical noise filtering, and market structure-based execution logic. Specifically, the oscillator's ability to analyze market characteristics (trending or sideways) and automatically adjust filtering multipliers accordingly forms the basis of its trading value. This combination is the author's original work, and preserving the source code is preferred.
What Problems Does It Solve?
Problem 1: Misleading Signals and Market Noise
o RADAR Solution: Consensus-Based Decision Mechanism. RADAR never relies on a single signal. No signal is generated unless the different analytical engines agree on the same direction. This filters out market noise, ensuring only high-probability signals are processed.
Problem 2: Static Analysis and Changing Market Conditions
o RADAR Solution: Adaptive Regime Shifting. The Oscillator actively analyzes whether the market is in "Trend Mode" or "Sideways Mode" using its proprietary market character analysis engine. It adapts to conditions like a chameleon, automatically adjusting signal generation rules and filter sensitivity according to the current regime.
Problem 3: Fixed Parameters and Declining Performance
o RADAR Solution: Full Adaptation Principle. To reduce reliance on fixed settings, it dynamically adjusts analysis speed and filter sensitivity based on the market's natural rhythm and volatility.
Automation Ready: Customizable Webhook Alerts
RADAR is more than just a visual analysis tool; it's designed to work seamlessly with full automation systems.
The oscillator generates alert messages in fully configurable JSON format for buy (long) and sell (short) signals. This feature allows you to easily connect RADAR signals to popular automation platforms like 3Commas, PineConnector, Tickeron, or your own custom bots. This allows you to execute your strategy 24/7 without manual intervention.
Why Released "By Invitation Only"?
• Protecting Proprietary Intellectual Property: RADAR is the product of hundreds of hours of research and development. Its consensus logic, regime detection, and engine integration are unique. Opening the source code would instantly destroy this intellectual property and competitive advantage.
• Maintaining Performance Integrity: Uncontrolled distribution can lead to misuse or theft and resale of signals by malicious actors. The invitation model protects the integrity of the oscillator.
• Business Model and Support: RADAR is a premium analysis tool. Access by invitation reflects its value and compensates the developer for ongoing maintenance, support, and future improvements.
____________________________
This indicator is for educational purposes only. Past performance does not guarantee future results. Always practice appropriate risk management and protect your capital.
DAO - Demand Advanced Oscillator# DAO - Demand Advanced Oscillator
## 📊 Overview
DAO (Demand Advanced Oscillator) is a powerful momentum oscillator that measures buying and selling pressure by analyzing consecutive high-low relationships. It helps identify market extremes, divergences, and potential trend reversals.
**Values range from 0 to 1:**
- **Above 0.70** = Overbought (potential reversal down)
- **Below 0.30** = Oversold (potential reversal up)
- **0.30 - 0.70** = Neutral zone
---
## ✨ Key Features
✅ **Automatic Divergence Detection**
- Bullish divergences (price lower low + DAO higher low)
- Bearish divergences (price higher high + DAO lower high)
- Visual lines connecting divergence points
✅ **Multi-Timeframe Analysis**
- View higher timeframe DAO on current chart
- Perfect for trend alignment strategies
✅ **Signal Line (EMA)**
- Customizable EMA for trend confirmation
- Crossover signals for momentum shifts
✅ **Real-Time Statistics Dashboard**
- Current DAO value
- Market status (Overbought/Oversold/Neutral)
- Trend direction indicator
✅ **Complete Alert System**
- Overbought/Oversold signals
- Bullish/Bearish divergences
- Signal line crosses
- Level crosses
✅ **Fully Customizable**
- Adjustable periods and levels
- Customizable colors and zones
- Toggle features on/off
---
## 📈 Trading Signals
### 1. Divergences (Most Powerful)
**Bullish Divergence:**
- Price makes lower low
- DAO makes higher low
- Signal: Strong reversal up likely
**Bearish Divergence:**
- Price makes higher high
- DAO makes lower high
- Signal: Strong reversal down likely
### 2. Overbought/Oversold
**Overbought (>0.70):**
- Market may be overextended
- Consider taking profits or looking for shorts
- Can remain overbought in strong trends
**Oversold (<0.30):**
- Market may be oversold
- Consider buying opportunities
- Can remain oversold in strong downtrends
### 3. Signal Line Crossovers
**Bullish Cross:**
- DAO crosses above signal line
- Momentum turning positive
**Bearish Cross:**
- DAO crosses below signal line
- Momentum turning negative
### 4. Level Crosses
**Cross Above 0.30:** Exiting oversold zone (potential uptrend)
**Cross Below 0.70:** Exiting overbought zone (potential downtrend)
---
## ⚙️ Default Settings
📊 Oscillator Period: 14
Number of bars for calculation
📈 Signal Line Period: 9
EMA period for signal line
🔴 Overbought Level: 0.70
Upper threshold
🟢 Oversold Level: 0.30
Lower threshold
🎯 Divergence Detection: ON
Auto divergence identification
⏰ Multi-Timeframe: OFF
Higher TF overlay (optional)
All parameters are fully customizable!
---
## 🔔 Alerts
Six pre-configured alerts available:
1. DAO Overbought
2. DAO Oversold
3. DAO Bullish Divergence
4. DAO Bearish Divergence
5. DAO Signal Cross Up
6. DAO Signal Cross Down
**Setup:** Right-click indicator → Add Alert → Choose condition
---
## 💡 How to Use
### Best Practices:
✅ Focus on divergences (strongest signals)
✅ Combine with support/resistance levels
✅ Use multiple timeframes for confirmation
✅ Wait for price action confirmation
✅ Practice proper risk management
### Avoid:
❌ Trading on indicator alone
❌ Fighting strong trends
❌ Ignoring market context
❌ Overtrading
### Recommended Settings by Trading Style:
**Day Trading:** Period 7-10, All alerts ON
**Swing Trading:** Period 14-21, Divergence alerts
**Scalping:** Period 5-7, Signal crosses
**Position Trading:** Period 21-30, Weekly/Daily TF
---
## 🌍 Markets & Timeframes
**Works on all markets:**
- Forex (all pairs)
- Stocks (all exchanges)
- Cryptocurrencies
- Commodities
- Indices
- Futures
**Works on all timeframes:** 1m to Monthly
---
## 📊 How It Works
DAO calculates the ratio of buying pressure to total market pressure:
1. **Calculate Buying Pressure (DemandMax):**
- If current high > previous high: DemandMax = difference
- Otherwise: DemandMax = 0
2. **Calculate Selling Pressure (DemandMin):**
- If previous low > current low: DemandMin = difference
- Otherwise: DemandMin = 0
3. **Apply Smoothing:**
- Calculate SMA of DemandMax over N periods
- Calculate SMA of DemandMin over N periods
4. **Final Formula:**
```
DAO = SMA(DemandMax) / (SMA(DemandMax) + SMA(DemandMin))
```
This produces a normalized value (0-1) representing market demand strength.
---
## 🎯 Trading Strategies
### Strategy 1: Divergence Trading
- Wait for divergence label
- Confirm at support/resistance
- Enter on confirming candle
- Stop loss beyond recent swing
- Target: opposite level or 0.50
### Strategy 2: Overbought/Oversold
- Best for ranging markets
- Wait for extreme readings
- Enter on reversal from extremes
- Target: middle line (0.50)
### Strategy 3: Trend Following
- Identify trend direction first
- Use DAO to time entries in trend direction only
- Enter on pullbacks to oversold (uptrend) or overbought (downtrend)
- Trade with the trend
### Strategy 4: Multi-Timeframe
- Enable MTF feature
- Trade only when both timeframes align
- Higher TF = trend direction
- Lower TF = precise entry
---
## 📂 Category
**Primary:** Oscillators
**Secondary:** Statistics, Volatility, Momentum
---
## 🏷️ Tags
dao, oscillator, momentum, overbought-oversold, divergence, reversal, demand-indicator, price-exhaustion, statistics, volatility, forex, stocks, crypto, multi-timeframe, technical-analysis
---
## ⚠️ Disclaimer
**This indicator is for educational purposes only.** It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research, use proper risk management, and consult with financial professionals before making trading decisions. Past performance does not guarantee future results.
---
## 📄 License
Open source - Free to use for personal trading, modify as needed, and share with attribution.
---
**Version:** 1.0
**Status:** Production Ready ✅
**Pine Script:** v5
**Trademark-Free:** 100% Safe to Publish
---
*Made with 💙 for traders worldwide*
VW Z-score of WMA | OquantOverview
The VW Z-score of WMA is an indicator designed to identify potential trading opportunities by analyzing price momentum through a volume-weighted lens. It combines a weighted moving average (WMA) with a customized Z-score metric that incorporates volume data, providing signals for long and short positions based on user-defined thresholds. Beyond signaling, the indicator offers comprehensive performance metrics, including risk-adjusted returns like Sharpe and Sortino ratios, drawdown statistics, and profitability measures(remember past performance doesn’t guarantee future results). It also visualizes an equity curve and displays results in intuitive tables for quick assessment. This tool is ideal for traders seeking to incorporate their strategies with volume-informed deviation analysis, while comparing indicator performance against a simple buy-and-hold approach(remember past performance doesn’t guarantee future results).
Key Factors/Components
Core Signal Generation: Utilizes a WMA as the base, incorporated with a volume-weighted Z-score to gauge volume weighted deviations from the mean, triggering long or short signals when thresholds are crossed.
Trade Management Options: Allows toggling of long and short trades, defaulting to cash positions if disabled, ensuring flexibility in bullish, or bearish markets.
Performance Metrics: Calculates metrics such as Maximum Drawdown (including intra-trade), Sharpe Ratio, Sortino Ratio, Omega Ratio, Percent Profitable, Profit Factor, and Net Profit.
Visualization Tools: Plots the volume weighted Z-score of WMA with color-coded signals, optional equity curve, and bar coloring for easy interpretation. Includes two tables: one for indicator metrics and another for buy-and-hold benchmarks.
Alert Conditions: Built-in alerts for bullish and bearish crossovers to notify users of potential entry/exit points.
Backtesting Elements: Simulates strategy equity from a user-defined start date, incorporating rate of change for return calculations.
How It Works
The indicator starts by smoothing the input source (default: close price) with a WMA to capture trend direction. It then applies a volume-weighted Z-score to this WMA, measuring how far the current value deviates from its recent volume-adjusted average, normalized by volume weighted standard deviation. Signals are generated when this Z-score exceeds an upper threshold (indicating potential longs) or falls below a lower threshold (for potential shorts). The system tracks position allocation (long, short, or cash) and computes an equity curve based on daily returns, adjusting for enabled trade directions. Performance metrics are derived from this equity curve, focusing on risk-reward balance, downside protection, and overall efficiency(remember past performance doesn’t guarantee future results). Tables provide a side-by-side comparison with asset buy-and-hold stats, helping users evaluate the indicator against simple buy&hold strategy(remember past performance doesn’t guarantee future results).
For Who Is Best/Recommended Use Cases
This indicator is best suited for swing traders, position traders, and day traders—particularly those who follow trends and integrate volume and statistical deviation into their strategies. It's recommended for:
Trend-Following Traders: Ideal for capturing momentum shifts in trending markets, such as entering longs during upward deviations or shorts during downside deviations.
Swing Traders: Swing traders can use the volume weighted Z-score signals and thresholds for entries and exits during trending environments.
Position Traders: Those maintaining trades for longer periods, using the indicator's trend confirmation and performance metrics to align with potential market directions.
Day Traders: Those operating on intraday timeframes, using alerts for potential quick momentum plays while monitoring performance metrics to manage risk during sessions.
Remember past performance doesn’t guarantee future results!
Settings and Default Settings
Start Date: Defines the backtesting start period (default: January 1, 2018).
Source: Input data for calculations (default: close price).
WMA Length: Period for the weighted moving average (default: 20).
Volume Weighted Z-score Length: Lookback for volume weighted Z-score computation (default: 30).
Upper Threshold: Level for long signals (default: 0.7).
Lower Threshold: Level for short signals (default: 0.0).
Allow Long Trades: Enables/disables longs (default: true).
Allow Shorts: Enables/disables shorts (default: false).
Show Indicator Metrics Table: Toggles the performance table (default: true).
Show Buy&Hold Table: Toggles the benchmark table (default: true).
Plot Equity Curve: Displays the strategy's equity line (default: false).
These defaults provide a balanced starting point for momentum trading; adjust thresholds for sensitivity and lengths for smoother signals.
Conclusion
The VW Z-score of WMA is a tool that blends stats with practical trading insights, helping users incorporate data-driven elements into their decisions while being mindful of potential drawdowns. By integrating volume-weighted analysis with metrics, it aids in evaluating strategy viability against passive investing.
Remember past performance doesn’t guarantee future results!
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
RSI + ADX + ATR Strength GaugeThis indicator combines Relative Strength Index (RSI), Average Directional Index (ADX), and Average True Range (ATR) into a unified strength gauge that identifies high-quality trending conditions while filtering out choppy, low-volatility markets.
RSI measures momentum and overbought/oversold conditions.
ADX confirms trend strength (not direction), highlighting when price movement has strong follow-through.
ATR captures volatility expansion, filtering out flat, low-range candles where fake signals occur.
When the components diverge or show contraction, the gauge warns of market chop, suggesting it’s better to avoid entries or reduce position size.
Purpose:
To keep you out of sideways markets and confirm entries only when momentum, trend strength, and volatility all agree — reducing whipsaws and improving trade quality.
Tweak to your liking.
NQ Gamma LevelsNQ Gamma Levels - Dynamic Options Flow Visualization
This indicator displays gamma exposure levels from QQQ options data, automatically scaled to NQ/MNQ futures prices. Simply copy gamma data from your dashboard and paste it into the indicator to see key support and resistance levels based on dealer positioning.
Features:
- Automatic QQQ to NQ price conversion using live 1-minute ratios
- Visual strength indicators - thicker/longer lines show stronger gamma concentrations
- Customizable colors for positive and negative gamma levels
- Dotted reference lines extending across the chart for easy price tracking
- Updates every minute to prevent chart clutter and jumping levels
- Filters to show only significant levels above your threshold
- Strongest positive and negative levels are automatically highlighted
The solid colored lines represent gamma strength - longer lines indicate higher concentration at that price level. Dotted lines provide continuous reference points across your chart. Green levels typically act as support (dealers long gamma), while red levels often act as resistance (dealers short gamma).
Best used on 1-5 minute timeframes for intraday trading. Paste fresh data from your options flow dashboard whenever you want updated levels.
Atilla Pump & Reverse PRO v3.2 ⚡️Erken Tespit Sürümü
🇬🇧 Description (English):
Atilla Pump & Reverse PRO v3.2 ⚡️ Early Detection Edition is a professional indicator built to detect early Pump & Dump and reversal movements with precision.
It combines EMA, ATR and volatility analysis to identify both trend continuations and potential reversals in real time.
📊 Main Features:
Early detection of Pump & Dump movements
Sideways filter with “NO SIGNAL” label
Entry alerts: GİR (LONG / SHORT)
ADX + ATR based trend strength validation
Volume spike detection for confirmation
Clean and visually professional design
Works perfectly on all timeframes
💡 Usage Tips:
“GİR (LONG)” → potential start of an uptrend
“GİR (SHORT)” → possible reversal or downtrend
“NO SIGNAL” → ranging or unclear market condition
Recommended for confirmation on 1H or 15M charts,
and precise entries on 3M–5M scalping charts.
---
✨ Geliştirici / Developer:
🧠 Designed & Coded by Atilla Gençay
For early scalpers and smart trend catchers.
Screener (MC) [AlgoAlpha]🟠 OVERVIEW
This script is a multi-symbol scanner that works as a companion to the "Momentum Concepts" indicator. It provides a comprehensive dashboard view, allowing traders to monitor the momentum signals of up to 18 different assets in real-time from a single chart. The main purpose is to offer a bird's-eye view of the market, helping you quickly identify assets with strong momentum confluence or potential reversal opportunities without having to switch between different charts.
The screener displays the status of all key components from the Momentum Concepts indicator, including the Fast Oscillator, Scalper's Momentum, Momentum Impulse Oscillator, and Hidden Liquidity Flow, organizing them into a clear and easy-to-read table.
🟠 CONCEPTS
The core of this screener is built upon the analytical framework of the "Momentum Concepts" indicator, which evaluates market momentum across multiple layers: short-term, medium-term, and long-term. This screener applies those complex, proprietary calculations to each symbol in your watchlist and visualizes the current state of each component.
Each column in the table represents a specific aspect of momentum analysis:
Fast Oscillator Columns: These columns reflect the short-term momentum. They show the immediate trend direction, whether the asset is in an overbought or oversold condition, and flag high-probability events like divergences, reversals, or diminishing momentum.
Scalper's Momentum Column: This column gives insight into medium-term momentum. It distinguishes between strong, sustained moves and weakening, corrective moves, which is useful for gauging the health of a trend.
Momentum Impulse Column: This column represents the dominant, long-term trend bias. It helps you understand the underlying market regime (bullish, bearish, or consolidating) to align your trades with the bigger picture.
Hidden Liquidity Flow Column: This column provides a unique view into the market's underlying liquidity dynamics. It signals whether there is net buying or selling pressure and uses special coloring to highlight periods of unusually high liquidity activity, which often precedes volatile price movements.
By combining these perspectives, the screener justifies its utility by enabling traders to make more informed decisions based on multi-layered signal confluence.
🟠 FEATURES
This screener organizes momentum data into several key columns. Here is a breakdown of each column and its possible values:
Asset: Displays the symbol for the asset being analyzed in that row.
Fast Oscillator Trend: Shows the immediate, short-term momentum direction.
▲: Indicates a bullish short-term trend.
▼: Indicates a bearish short-term trend.
–: Indicates a neutral or transitional state.
Fast Oscillator Valuation: Measures whether the asset is in a short-term overbought or oversold state.
OB: Signals an "Overbought" condition, often associated with bullish exhaustion.
OS: Signals an "Oversold" condition, often associated with bearish exhaustion.
Neutral: The asset is trading in a neutral zone, neither overbought nor oversold.
Scalper's Momentum: Assesses the strength and direction of medium-term momentum.
Strong▲: Strong bullish momentum.
Weak▲: Bullish momentum exists but is weakening or corrective.
Strong▼: Strong bearish momentum.
Weak▼: Bearish momentum exists but is weakening or corrective.
–: Neutral or no clear medium-term momentum.
Momentum Impulse: Identifies the dominant, long-term trend bias. A colored background indicates that the momentum is in a strong "impulse" phase.
▲: Indicates a bullish long-term bias.
▼: Indicates a bearish long-term bias.
0: Indicates a neutral or ranging market condition.
Hidden Liquidity Flow: Tracks underlying buying and selling pressure. The background color highlights periods of unusual liquidity activity.
▲: Positive liquidity flow, suggesting net buying pressure.
▼: Negative liquidity flow, suggesting net selling pressure.
–: Neutral liquidity flow.
Dim. Momentum: Provides an early warning that short-term momentum is beginning to fade.
● (Bullish Color): Bullish momentum is weakening.
● (Bearish Color): Bearish momentum is weakening.
–: No diminishing momentum detected.
Divergence: Flags classic or hidden divergences between price and the Fast Oscillator.
Div▲: A bullish divergence has been detected.
Div▼: A bearish divergence has been detected.
–: No active divergence signal.
Reversal: Signals a potential reversal when the Fast Oscillator crosses its trend line from an overbought or oversold zone.
Rev▲: A bullish reversal signal has occurred.
Rev▼: A bearish reversal signal has occurred.
–: No active reversal signal.
🟠 USAGE
The primary function of this screener is to quickly identify trading opportunities and filter setups based on momentum confluence across your watchlist.
1. Setup and Configuration:
Add the indicator to your chart.
Go into the script settings and populate the "Watchlist" group with the symbols you wish to monitor.
Adjust the settings for the various momentum components (Fast Oscillator, Scalper's Momentum, etc.) to align with your trading strategy. These settings will be universally applied to all symbols in the screener.
2. Interpreting the Columns for Trading Decisions:
Momentum Impulse & Hidden Liquidity Flow: Use these columns to establish a directional bias. A bullish "▲" in both columns on an asset suggests a strong underlying uptrend with supportive buying pressure, making it a good candidate for long positions.
Scalper's Momentum: Use this for entry timing and trend health. A "Strong▲" reading can confirm the strength of an uptrend, while a shift to "Weak▲" might suggest it's time to tighten stops or look for an exit.
Fast Oscillator Trend & Valuation: These are best for precise entry triggers. For a "buy the dip" strategy in an uptrend, you could wait for the Fast Oscillator to show "OS" (Oversold) and then enter when the "Trend" column flips back to "▲".
Dim. Momentum: This is an excellent take-profit signal. If you are in a long position and a bullish-colored "●" appears, it's a warning that the upward move is losing steam, and you might consider closing your trade.
Divergence & Reversal: These columns are for identifying potential turning points. A "Div▲" or "Rev▲" signal is a strong alert that a downtrend might be ending, making the asset a prime candidate to watch for a long entry.
3. Finding High-Probability Setups:
Trend Confluence: Look for assets where multiple components show alignment. For example, an ideal long setup might show a bullish "Momentum Impulse" (▲), a "Strong▲" reading in "Scalper's Momentum," and a bullish trend in the "Fast Oscillator." This indicates that the long-term, medium-term, and short-term momentums are all in agreement.
Reversal and Exhaustion: Use the "Divergence" and "Reversal" columns to spot potential turning points. A "Div▲" signal appearing in an asset that is in an oversold "Fast Oscillator Valuation" zone can be a strong indication of an upcoming bounce.
Paid script
Relational RSI - Trend IdentifierThis indicator analyzes the relationship between Price and RSI. It doesn't just show you the current RSI value; it compares the current Price-to-RSI relationship against thousands of historical examples to see if the market is behaving "normally."
The core idea is to identify when this historical relationship "decays" or breaks.
Positive (Green): Price is higher than it "should be" for the current RSI level, based on history. This is a sign of bullish strength or over-exuberance.
Negative (Red): Price is lower than it "should be" for the current RSI level. This is a sign of bearish weakness or being oversold.
Zero Line: Price is exactly where history suggests it should be for the current RSI. This is the "normal" or equilibrium state.
Think of it as an "expectations" indicator. Is the price over-performing or under-performing relative to its typical momentum signature?
How to Read the Indicator
1. The Main Oscillator (Relational Decay)
This is the central line that moves above and below zero.
Rising (Bullish Decay): When the line moves up, it means bulls are in control, pushing price higher than the RSI momentum would normally suggest.
Falling (Bearish Decay): When the line moves down, it means bears are in control, suppressing price lower than the RSI momentum would normally suggest.
Extreme Readings (> 2.0 or < -2.0): These are the dotted/dashed lines. Reaching these zones means the market is in an "extreme" state of deviation—either extremely over-extended (top) or extremely oversold (bottom) relative to its own history.
2. Background Color (Relationship Strength)
The background color tells you how reliable the indicator's main signal is right now.
Blue Background: High strength. The historical Price-RSI relationship is stable and consistent. The oscillator's readings are reliable.
Orange Background: Low strength. The historical relationship is weak, volatile, or inconsistent. The oscillator's readings are less reliable—the market is choppy or "out of character."
3. Diamonds (Extreme Reversal Signals)
These diamonds appear at potential exhaustion points.
Aqua Diamond (at bottom): An "Extreme Bullish Reversal." This appears when the indicator was at an extremely negative (bearish) level and has just started to turn up. It's a potential bottoming signal.
Fuchsia Diamond (at top): An "Extreme Bearish Reversal." This appears when the indicator was at an extremely positive (bullish) level and has just started to turn down. It's a potential topping signal.
4. The Info Table (Top Right)
This table provides a snapshot of the current state:
RSI/Price: Your current values.
Expected Price: The price the indicator "expects" to see based on the current RSI and historical data. This is the most important number.
Relational Decay: The main oscillator's value. It's essentially the difference between the Current Price and the Expected Price, normalized.
State: A simple text description (e.g., "Stable," "Strong Bullish Decay").
Matches Found: How many historical data points the script found to make its calculation.
Strength: The "Relationship Strength" (background color) as a percentage.
Key User Inputs
RSI Period (14): The lookback for the standard RSI calculation.
Historical Lookback (500): How many past bars the indicator should analyze to build its "normal" model. A larger number gives it more historical context.
RSI Similarity Threshold (3.0): How close the current RSI must be to a historical RSI to be considered a "match."
Normalization Method (Z-Score): The statistical method used to scale the output. Z-Score is standard and robust. "Percentile" and "Raw" are other options for different ways of viewing the deviation.
Fibonacci Golden Wave (Qcore + Flux Charts)🚀 Overview
Fibonacci Golden Wave (Qcore + Flux Charts) blends the original Flux Golden Zone with Qcore enhancements for actionable signals. It keeps the core logic intact while adding clean alerts, LTF-weighted multi-timeframe confirmation, and a compact MTF dashboard. Built for fast, confident decision-making without clutter.
✨ Key Features
> Original Flux Golden Zone preserved — identical zones/behavior.
> Adaptive Golden Wave Color (toggle): zone turns green after sustained strength above; red after sustained weakness below (≥25% of swing range, fully outside).
> Golden Zone alerts:
Entered Golden Zone / Exited Golden Zone.
> EMA module: Plot EMA1/EMA2 (default 50/200) with EMA Cross-UP / Cross-Down alerts.
> MTF Table (H4, H1, M30, M15, M5, M1):
TREND: EMA1 vs EMA2 + price filter (UP/DOWN/SW).
RSI(14): value + adaptive background (OverB/OverS).
Stochastic (Slow %K): value + adaptive background (OverB/OverS).
Size + corner toggles.
> Alignment Alerts (no chart/table clutter):
Find BUY! / Find SELL! fire when LTF-weighted alignment confirms.
Modes: H-Risk, Balance (default), L-Risk.
Built-in cooldown (M5 clock) + state-flip guard + optional persistence per mode.
🛠 How to Use
1. Add to chart on your instrument/timeframe.
2. Golden Zone: trade reactions around the 0.5–0.618 band; use the Entered/Exited alerts to automate notifications.
3. EMAs: keep 50/200 defaults or customize lengths. Watch EMA Cross-UP/Down alerts for trend shifts.
4.MTF Dashboard: read TREND / RSI / STOCH alignment across H4→M1. The table updates in real time but doesn’t affect drawings.
5. Alignment Alerts (Signals only):
Choose Mode (Inputs → Alignment Alerts):
H-Risk: earliest, looser threshold.
Balance (default): early + LTF confirmation + 1-bar hold.
L-Risk: cleanest, strictest + 2-bar hold.
Set alert on Find BUY! / Find SELL! (Once-Per-Bar-Close recommended).
⚙️ Settings
General Configuration
Swing Range (default 20)
(DEV) Use Pivots (hidden unless debug)
Golden Zone / Style
Fib band choices (0.236–0.786)
Line/area/text styles
Adaptive Golden Wave Color (toggle)
EMAs
Show EMA 1 / Len (default 50)
Show EMA 2 / Len (default 200)
MTF Dashboard
Show MTF Table
Table Size: Tiny / Normal
Corner: Top-Right / Bottom-Right
MTF RSI Settings
RSI Length (default 14)
OverB / OverS (default 70 / 30)
MTF Stoch Settings
%K Length / Smooth K / %D Length (defaults 14 / 3 / 3)
OverB / OverS (default 80 / 20)
Alignment Alerts
Mode: H-Risk / Balance (default) / L-Risk
Cooldown (M5 bars): default 2
Alerts Available
Entered Golden Zone
Exited Golden Zone
EMA Cross-UP
EMA Cross-Down
Find BUY! (alignment)
Find SELL! (alignment)
📈 Trading Concepts
> Golden Ratio Reaction: price often reacts inside 0.5–0.618 retracement bands.
> Regime Confirmation: sustained closes fully outside the band suggest continuation; adaptive color highlights this.
> Trend Filter: EMA1 vs EMA2 plus price location reduces false reads.
> Multi-Timeframe Confluence: LTFs (M1/M5/M15) drive timing; HTFs (H1/H4) provide context and weight.
> Risk-First Execution: Alignment modes balance speed vs. quality and add cooldown to avoid over-signaling.
Note: This is a technical analysis tool. Always practice proper risk management and combine with other analysis techniques for best results.
Category: Volatility / Risk Management / Grid Support
Version: 3.0
Developer: Quant Core
SUN Signal Systems - Momentum-Based indicator
🌟 SUN SIGNAL — Momentum-Based indicator
Momentum-Based indicator using proprietary adaptive algorithms
to transform market noise into trading opportunities.
🎯 **KEY FEATURES:**
✅ **Color-Coded Momentum Line** — Visual clarity at a glance
🟢 Lime = Uptrend | 🔴 Pink = Downtrend |
✅ **Turbo Acceleration** — Catch explosive moves with spike detection
✅ **Reversal Detection** — Intra Bar reversal entries
✅ **Volatility Intelligence** — Auto-adapts to market conditions
✅ **MTF Analysis** — 7-timeframe confluence with Stochastic/RSI
✅ **Live Performance Dashboard** — Real-time win rate & profit tracking
✅ **Trend Filter** — Minimize counter-trend losses
✅ **Session Visualization** — Trade optimal times with session boxes
🎓 **Suitable for:** Scalpers • Day Traders • Swing Traders • Automated Trading
═══════════════════════════════════════════════════════════
🚀 **START YOUR FREE 7-DAY TRIAL**
Get complete access to the SUN Signal ecosystem:
• TradingView Indicator (this script)
• MetaTrader 5 Expert Advisor (fully automated)
• Complete strategy guide & tutorials
🔒 INVITE-ONLY ACCESS — Request access at our website www.sunsignalsystem.com
═══════════════════════════════════════════════════════════
⚠️ RISK DISCLAIMER: Trading involves substantial risk. Past performance
does not guarantee future results. Use proper risk management.
Liquidity Absorption OscillatorDescription:
The Liquidity Absorption Oscillator (LAO) is a sophisticated momentum indicator that measures how efficiently price moves relative to trading range while confirming momentum with volume-based liquidity flows. By combining price efficiency analysis with volume velocity, the LAO provides earlier and more reliable signals than traditional price-only oscillators, helping traders identify high-probability trend initiations and reversals.
🔍 Core Technology & Innovation:
Tri-Component Signal Processing:
Price Efficiency Ratio (PER): Measures how "cleanly" price moves by comparing net displacement to total trading range over the lookback period. High PER indicates trending markets with directional conviction.
Volume Velocity Ratio (VVR): Combines price momentum with volume confirmation, normalized by ATR to ensure consistent behavior across different instruments and volatility regimes.
Adaptive Smoothing: Dynamically adjusts responsiveness based on market conditions - becoming more stable during noisy periods and more responsive in clean trends.
Multi-Layer Signal Detection:
Confirmed Crossovers: Traditional zero-line crosses filtered by efficiency thresholds
Early Momentum Signals: Detects momentum shifts BEFORE zero-line crosses for optimal entry timing
Smart Divergence Detection: Identifies hidden bullish/bearish divergences with built-in quality filters
🎯 Trading Signals & Interpretation:
🟢 BULLISH SIGNALS:
Strong Buy: LAO crosses above zero line with medium/high efficiency (PER)
Early Buy: Momentum accelerates while LAO is still negative (anticipates reversal)
Divergence Buy: Price makes lower low while LAO forms higher low
🔴 BEARISH SIGNALS:
Strong Sell: LAO crosses below zero line with medium/high efficiency
Early Sell: Momentum decelerates while LAO is still positive (anticipates top)
Divergence Sell: Price makes higher high while LAO forms lower high
⚪ SIGNAL QUALITY FILTERING:
Automatic signal suppression during low-efficiency (choppy) market conditions
Configurable PER threshold ensures only high-quality signals are considered
📊 Visual Features:
Clean Oscillator Display: Smooth line plot with gradient fills above/below zero line
Multiple Coloring Options: Choose between no coloring, trend-based, or slope-based bar coloring
Professional Styling: Inspired by institutional-grade indicator design with subtle visual cues
Non-Repainting Logic: All signals confirmed on bar close for reliable backtesting
⚙️ Input Parameters:
Core Settings:
Lookback Period: Base period for efficiency and velocity calculations (default: 24)
Base Smooth Period: Starting point for adaptive smoothing (default: 8)
Min Efficiency for Signals: PER threshold for signal validation (default: 35)
Divergence Lookback: Bars to search for divergence patterns (default: 5)
UI Options:
Bar Coloring: Choose visual style (None, Trend, Slope)
🔔 Alert Conditions:
Buy/Sell Signal: Traditional zero-line crosses with quality filtering
Early Buy/Early Sell: Momentum-based signals before traditional crosses
All alerts use confirmed, non-repainting logic
Dynamic Momentum OscillatorDescription:
The Dynamic Momentum Oscillator is a statistically-driven momentum tool that goes beyond traditional oscillators. Instead of using raw price, it analyzes the momentum of a DEMA (Double Exponential Moving Average) itself, creating a smoother, more refined signal. Its innovative approach incorporates volatility-weighted z-scoring, allowing the indicator to automatically adjust its sensitivity based on market conditions, helping to identify both the strength and sustainability of momentum shifts.
🔍 How It Works:
DEMA Momentum Core: The indicator first calculates a DEMA of the price. It then analyzes the momentum of this DEMA, effectively creating a "momentum of momentum" measure that filters out market noise.
Volatility-Adaptive Z-Score: The core signal is a statistical z-score, which measures how many standard deviations the DEMA is from its mean. This tells you not just the direction, but the statistical significance of the move.
Dynamic Volatility Weighting: The unique addition is a normalized standard deviation component that weights the z-score. In high volatility periods, this amplifies the signal, making strong trends more pronounced. In low volatility, it provides a more muted, conservative output.
🎯 Interpreting the Oscillator:
Zero Line: The baseline. Momentum is considered neutral here.
Orange Histogram (Above Zero): Indicates bullish momentum. The further the bar extends above zero, the stronger and more statistically significant the bullish momentum.
Purple Histogram (Below Zero): Indicates bearish momentum. The further the bar extends below zero, the stronger and more statistically significant the bearish momentum.
Signal Strength: The height of the histogram bars reflects the combined momentum and volatility, giving you a direct visual gauge of momentum strength.
⚙️ Input Parameters (Group: Core Settings):
DEMA Length: The period for the primary Double Exponential Moving Average.
Standard Deviation Length: The lookback period for calculating volatility and the z-score.
StDev Weight: Controls the influence of volatility on the final signal (0.1 = minimal, 1.0 = maximum). Adjust this to fine-tune the indicator's responsiveness.
By focusing on the statistical properties of price momentum, the Dynamic Momentum Oscillator offers a unique lens for pinpointing high-probability trend continuations and reversals. It's a powerful tool for traders who appreciate quantitative methods.





















