Regime Reaper | QuantEdgeB📊 Regime Reaper | QuantEdgeB
🔍 What is Regime Reaper?
Regime Reaper is QuantEdgeB’s premier regime detection engine, designed to quantify market behavior through a scientific blend of stationarity tests, trend diagnostics, and reversion signals.
Rather than guessing if a market is trending or mean-reverting, Regime Reaper mathematically determines it—blending econometrics with market momentum, volatility texture, and predictive correlation.
💡 Think of Regime Reaper as a financial MRI — probing deep statistical layers to tell you what kind of environment you're in before you make a move.
⚙️ Core Components
✅ Z-Blend Framework
At its core, Regime Reaper combines up to 15 independent signals, each normalized via Z-Scores, including:
• 🧪 Stationarity Tests: ADF, KPSS, PP Test — detecting mean-reverting pressure or randomness
• 🌀 Cycle Predictors: Hurst exponent, Fourier approximation
• 🔥 Trend Strength: ADX, Price Momentum Correlation (PMC), Relative Price Change
• 💣 Volatility Analysis: GARCH, BBW, VAM
• ⚡ Behavioral Texture: Choppiness Index, Wavelet Energy, Half-Life
Each signal is optionally enabled/disabled — allowing surgical custom blends tailored to your asset or timeframe.
✅ Z-Avg Value Engine
• All active signals are aggregated into a composite Z-Score (Z-Avg)
• This value forms the backbone of regime classification logic
• Combined with adaptive percentile thresholds for precision detection
🎯 Regime Classification Logic
🧭 Z-Avg-Based Threshold Model
Regime Reaper classifies markets into three states:
Z-Avg Score Market Regime
≥ Threshold + Percentile 🔺 Trending
≥ Threshold Only ⚖️ Neutral / Weak Trend
≤ Reversion Threshold 🔻 Mean-Reverting
These scores are colored, plotted, and displayed in a histogram view to make regime transitions immediately visible.
✅ Custom threshold values via:
• Trending Threshold
• Reverting Threshold
• Percentile Rank Comparison
📊 Dashboard Overlay (Optional)
Regime Reaper includes three live tables:
1. Metrics Panel (𝓡𝓮𝓰𝓲𝓶𝓮 𝓡𝓮𝓪𝓹𝓮𝓻)
o Displays the Z-Score of each active metric
o Highlights total Z-Blend Score
o Shows current regime stage (Trending, Reverting, Neutral)
2. Signal Scanner Table
o Explains current Z-Avg score & decision logic
o Displays thresholds for trend/revert neutrality
o Delivers a stage verdict with live updates
3. Info Panel
o Visual color-coded regime bars
o Snapshot of all 3 possible states
🎨 Visual Signal System
• Z-Avg Histogram — core value colored by regime state
• Background Coloring — lightly shades trending vs reverting periods
• Table Text Coloring — shows metric strength in live table updates
• User-Specified Color Themes — switch between Magic, Strategy, Cool, etc.
🧠 Why Use Regime Reaper?
Because knowing the market’s regime changes everything:
• Reversion strategies fail in strong trends
• Trend systems bleed during choppy reverts
• Random walks are dangerous to both
With Regime Reaper, you no longer have to guess — you measure.
💼 Ideal Use Cases
• Trend vs Mean-Reversion Filters
• System Mode Switching (Auto Toggle)
• Volatility Regime Adaptation
• Signal Confidence Boosting (by regime match)
• Portfolio Allocation Strategy Filters
🧬 Default Config
• Composite Model: All 15 metrics ON
• Trending Threshold: +0.15
• Reversion Threshold: −0.15
• Adaptive Filtering via Percentile Ranks
🧬 In Summary
Regime Reaper | QuantEdgeB is more than a filter — it's a regime recognition system built on powerful statistical indicators and dynamic Z-Score fusion. It doesn’t just observe behavior; it categorizes it.
Use it to confirm entries, time exits, suppress signals in bad regimes, or dynamically change your system logic.
📌 Trade the Right Logic in the Right Market | Powered by QuantEdgeB
🔹 Disclaimer: No indicator guarantees future performance.
🔹 Tip: Tune metric
Centered Oscillators
Risk-On - Risk-Off 3 Alarm System V2📍 Risk-On / Risk-Off Alarm Labels
This overlay indicator visually displays the activation status of three key risk criteria directly on the chart using colored labels:
Trend – Flagged red when price is below the 20-day EMA.
Breadth – Flagged red when net new 52-week highs (NASDAQ + NYSE) are negative.
Momentum – Flagged red when the PPO histogram is negative.
The top label shows the total number of risk-off criteria active (0 to 3).
Green dots = condition favorable (risk-on).
Red dots = condition unfavorable (risk-off).
Use this for fast visual confirmation of market conditions and to support allocation or de-risking decisions.
Risk Criteria Score Histogram V2📊 Risk Criteria Score Histogram
This indicator visualizes a daily risk score ranging from 0 to 3, based on three core market conditions:
Trend Risk – Activated when price is below the 20-day EMA.
Breadth Risk – Triggered when net new 52-week highs (NASDAQ + NYSE) are negative.
Momentum Risk – Flagged when the PPO histogram turns negative.
Each day, the script calculates how many of these criteria are signaling risk-off conditions. The result is plotted as a color-coded histogram:
🟩 0 – No risk signals (favorable environment)
🟨 1 – Mild caution
🟧 2 – Elevated risk
🟥 3 – All signals active (risk-off conditions)
This tool helps traders track shifts in market conditions and adjust exposure accordingly. Ideal for macro and swing trading perspectives.
MACD + RSI Signal ArrowsA small green arrow up (↑) when there's a buy signal
A small red arrow down (↓) when there's a sell signal
Spot the Peak & BottomCombines Heikin-Ashi candlesticks with MACD histogram analysis to identify potential market reversals and trend continuations. The script provides advanced pattern recognition with visual signals and alerts.
Core Components
1. Technical Foundation
Heikin-Ashi Candlesticks: Modified candlestick calculation that smooths price action
MACD Histogram: Custom STMC (Smooth Trend Momentum Change) oscillator
Multiple Price Sources: Support for open, high, low, close, and various averages (hl2, hlc3, ohlc4, hlcc4)
2. Pattern Detection System
Bullish Patterns:
HA D ↑ → HA ↑: Divergence resolution (Heikin-Ashi bearish but histogram strengthening, then turning bullish)
Normal Rise: HA rising + histogram strengthening/maintaining
Bottom Reversal: HA falling but histogram strengthening
Bearish Patterns:
HA U ↓ → HA ↓: Divergence resolution (Heikin-Ashi bullish but histogram weakening, then turning bearish)
Top Reversal: HA rising but histogram weakening
Strong Downtrend: HA falling + histogram weakening
Divergence Patterns:
HA D ↓: Heikin-Ashi bullish but momentum weakening
HA D ↑: Heikin-Ashi bearish but momentum strengthening
3. Signal Classification System
Bullish Signals (▲):
Bull Highlight: Higher HA close than previous signal (strongest)
Bull Normal: Normal signal within neutral range (-100 to 100)
Bull Gray: Normal signal outside neutral range
Bearish Signals (▼):
Bear Highlight: Lower HA close than previous signal (strongest)
Bear Normal: Normal signal within neutral range (-100 to 100)
Bear Gray: Normal signal outside neutral range
Transition Signals:
HA DD: Hollow green to hollow red transition
HA UU: Hollow red to hollow green transition
4. Visual Features
Color Coding:
Green/Lime: Bullish patterns and signals
Red/Orange: Bearish patterns and signals
Pink/Cyan: Divergence conditions
White: Neutral signals
Background Zones:
Upper Zone (50-500): Overbought/extreme high areas
Lower Zone (-50 to -500): Oversold/extreme low areas
Reference Lines: Do Not Short (-500), Do Not Long (500), Semi-lines (±250)
Display Modes:
Hybrid: Shows both MACD and Heikin-Ashi
MACD: MACD line and signal only
Histogram: Histogram only
5. Alert System
The script provides comprehensive alerts for:
Bull/Bear signal types (Highlight, Normal, Neutral Area)
HA DD/UU transitions
Divergence start/end conditions
6. Customization Options
MACD Settings: Fast/slow lengths, signal parameters
UI Options: Colors, display modes, background fills
Pattern Detection: Enable/disable various pattern types
Divergence Styling: Custom colors for divergence conditions
This indicator is particularly useful for traders who want to combine the smoothing benefits of Heikin-Ashi with the momentum insights of MACD for more accurate entry and exit timing.
Market DashboardMarket Dashboard — All-in-One Technical Indicator Panel
The Market Dashboard is a powerful visual tool that consolidates key technical indicators into a single on-chart table, helping traders make faster and more informed decisions. This script includes:
RSI — Detects overbought and oversold market conditions
MACD — Shows trend momentum and crossover signals
CVD (Cumulative Volume Delta) — Highlights buyer vs. seller pressure
Volume Analysis — Flags unusually high volume
ATR (Average True Range) — Displays current market volatility
Session Detector — Automatically identifies ASIAN, LONDON, or NEW YORK sessions based on UTC time
Fully Customizable — Adjust table position and text size to fit your chart layout
Designed for traders who want a clean, real-time snapshot of market dynamics, directly on the chart.
FFT Signal AnalyzerFFT Signal Analyzer
The FFT Signal Analyzer uses a simplified Fast Fourier Transform (FFT) approach to extract dominant cyclical components from price data. By detrending and applying adaptive smoothing, the indicator highlights frequency-driven signals that traditional indicators often miss.
This tool is ideal for traders who want to visualize cyclical market behavior, identify turning points, and confirm entries/exits with frequency-based momentum signals.
How it works:
Removes price trend via detrending (moving average subtraction)
Applies a bandpass filter (EMA) to isolate dominant frequency components
Normalizes the signal using a z-score for consistent visibility
Amplifies the signal for easy interpretation
Highlights slope changes with background coloring (green = rising, red = falling)
Use Cases:
Use zero-line crosses to detect cycle shifts or momentum pivots
Combine with trend filters (e.g., GRJMOM) for high-probability setups
Ideal for detecting underlying rhythm in sideways or oscillating markets
Best for:
Swing traders, scalpers, and cycle analysts looking for frequency-aware confirmation signals
Works on all timeframes and asset classes
GRJMOM - Risk-Adjusted MomentumGRJMOM – Risk-Adjusted Momentum
GRJMOM stands for Generalized Risk-Adjusted Momentum. This indicator adjusts traditional momentum by dividing it by realized volatility over the same formation period. The result is a cleaner, more risk-sensitive momentum signal designed to avoid momentum crashes and volatility-driven false breakouts.
How it works:
Calculates raw momentum: Close - Close
Computes realized volatility using standard deviation of log returns
Outputs a risk-adjusted momentum score (Momentum / Volatility)
Optional smoothing can be applied to reduce short-term noise
Background coloring highlights bullish (green) and bearish (red) regimes
Use Cases:
GRJMOM > 0 suggests a bullish risk-adjusted trend
GRJMOM < 0 indicates a weakening or bearish trend
Can be used as a trend confirmation filter
Pairs well with cycle indicators like HHT or FFT for timing
Best for:
Swing traders, trend followers, and systematic strategy builders looking for smarter momentum signals with built-in risk awareness
TDPO-RSI (Time-Decaying Percentile RSI)TDPO-RSI (Time-Decaying Percentile RSI)
TDPO-RSI is a modern, statistically-enhanced momentum indicator that improves on traditional RSI by using percentile-based analysis with exponential time decay. Instead of averaging gains and losses equally, this indicator ranks them by size and weights recent data more heavily—resulting in a more responsive and noise-resistant signal.
How it works:
Calculates percentile rank of gains and losses over a lookback window
Applies a decay factor (lambda) to give more weight to recent price action
Outputs a percentile-based RSI value between 0 and 100
Optional smoothing via EMA for clearer crossover signals
Key Uses:
Identify overbought/oversold zones (default: 70/30)
Use raw vs. smoothed RSI crossovers for entries
Detect momentum shifts earlier than traditional RSI
Suitable for scalping, trend continuation, and reversal setups
Inputs:
Lookback Length: Number of bars used for percentile calculation
Decay Factor (lambda): How quickly older data fades in influence (0.80–0.99)
Smoothing EMA: Smooths the final output to reduce noise
Tip: Combine with price structure and volume for best results. Higher timeframes can be used for trend context, while lower timeframes help with precise entries.
This tool is ideal for traders who want adaptive momentum analysis rooted in statistical behavior.
Fundur - Trend LinesFundur - Trend Lines: Complete Trading Indicator Guide
Indicator Overview
The Fundur - Trend Lines is an advanced multi-layered trend analysis system that combines adaptive trend line technology, momentum analysis, and intelligent signal generation into one comprehensive trading tool. This indicator goes beyond traditional moving averages by utilizing volatility-adjusted trend lines that dynamically adapt to market conditions, providing traders with precise trend strength measurements and actionable trading signals.
What Makes Trend Lines Unique?
The Trend Lines indicator introduces Adaptive Trend Line Technology - a sophisticated methodology that uses Average True Range (ATR) calculations to create trend lines that respond intelligently to market volatility. Unlike static indicators, Trend Lines provides dynamic analysis that adapts its sensitivity based on current market conditions, offering more accurate trend identification and strength assessment.
Core Methodology
The indicator operates on the principle that trend strength can be quantified by analyzing the relationship between multiple adaptive trend lines, momentum indicators, and market structure. By combining Alignment Analysis , Distance Measurements , Momentum Confirmation , and Volatility Expansion Potential , the system generates a comprehensive trend strength score from 0-100% with corresponding trading signals.
Key Features
🎯 Adaptive Trend Line System Slow Trend Line : Primary trend direction with lower sensitivity for major trend identification Fast Trend Line : Higher sensitivity trend line for early trend change detection Volatility Adaptation : Both lines automatically adjust to market volatility using ATR calculations Cloud Visualization : Colored areas between trend lines show trend strength and direction
📊 Comprehensive Trend Strength Analysis Quantified Strength (0-100%) : Precise trend strength measurement combining multiple factors Alignment Score : Measures agreement between multiple trend line systems Distance Analysis : Evaluates price proximity to trend lines using ATR normalization Momentum Integration : Incorporates Awesome Oscillator for momentum confirmation Squeeze Factor : Identifies volatility expansion potential for breakout opportunities
🧠 Intelligent Signal Generation Position Signals : Clear ADD LONG, ADD SHORT, REDUCE, HOLD recommendations Risk Zone Classification : STRONG, MEDIUM, WEAK trend categorization Trend Direction : Bullish, Bearish, or Neutral trend identification Dynamic Updates : Real-time signal adjustments based on changing conditions
⚡ Enhanced Momentum Analysis Smoothed Momentum : Configurable momentum smoothing to reduce noise Acceleration Detection : Identifies momentum acceleration and deceleration Divergence Alerts : Detects price-momentum divergences for reversal warnings Directional Bias : Momentum confirmation for trend direction validation
🔍 Advanced Market Structure Detection Momentum Squeeze : Identifies low-volatility periods preceding major moves Volatility Expansion : Detects when markets break out of consolidation phases Trend Weakness Detection : Early warning system for deteriorating trends Structure Transition : Identifies when trends change character or direction
🎨 Professional Visual Interface Comprehensive Analysis Table : All key metrics displayed in organized format Visual Strength Bar : Graphical representation of trend strength Color-Coded Components : Intuitive color scheme for quick analysis Customizable Display : Flexible positioning and sizing options
Setup Guide
Step 1: Adding the Indicator
Open TradingView and navigate to your desired chart Click the "Indicators" button or press "/" key Search for "Fundur - Trend Lines" Add the indicator to your chart
Step 2: Basic Configuration
Main Features Settings ✅ Show Trend Analysis Table : ON (Essential for comprehensive analysis) ✅ Enable Trend Strength Analysis : ON (Core functionality) ✅ Generate Trading Signals : ON (For position management guidance)
Trend Lines Display ✅ Show Slow Trend Line : ON (Primary trend identification) ✅ Show Fast Trend Line : ON (Early signal detection) Trend Cloud Transparency : 89% (Default recommended, adjust for visibility)
Table Positioning Table Position : Top Right (recommended for most setups) Table Size : Normal (adjust based on screen size)
Step 3: Advanced Analysis Configuration
Enhanced Features (Optional) ✅ Enhanced Momentum Analysis : ON (for more accurate signals) ✅ Divergence Detection : ON (for reversal warnings) ⚠️ Momentum Squeeze Analysis : OFF initially (can add visual complexity)
Sensitivity Settings Divergence Sensitivity : 5 (Default - lower = more sensitive) Momentum Smoothing : 3 (Default - higher = smoother signals)
Step 4: Alert Configuration
Essential Alerts (Recommended) Trading Signal Alerts : Enable for position changes Trend Strength Change Alerts : Enable for trend monitoring Strength Change Threshold : 15% (Default recommended)
Advanced Alerts (Optional) Divergence Alerts : Enable for reversal warnings Early Weakness Alerts : Enable for risk management Momentum Squeeze Alerts : Enable for breakout opportunities Trend Line Cross Alerts : Enable for level-based signals
Basic Trading Guide
Understanding Trend Strength
The indicator's foundation is the Trend Strength Score - a quantified measurement (0-100%) that combines four key factors:
Strong Trends (75%+ Strength) 🟢 Characteristics : High alignment, close price-to-trend proximity, strong momentum Signals : ADD LONG (bullish) or ADD SHORT (bearish) Strategy : Aggressive position building, trend continuation trades Risk : Lower risk due to strong trend confirmation
Medium Trends (35-75% Strength) 🟡 Characteristics : Mixed signals, moderate alignment, transitional phases Signals : HOLD current positions Strategy : Conservative approach, wait for clearer signals Risk : Medium risk, requires careful monitoring
Weak Trends (Below 35% Strength) 🔴 Characteristics : Poor alignment, distant from trend lines, weak momentum Signals : REDUCE positions or CLOSE Strategy : Risk reduction, position unwinding Risk : High risk, trend likely changing or failing
Entry Strategies
Primary Strategy: Trend Continuation Entries Setup : Strong trend strength (75%+) with clear directional bias Entry Trigger : ADD LONG or ADD SHORT signal confirmation Direction : Follow the trend direction (Bullish ⬆ or Bearish ⬇) Timing : Enter on signal generation or price pullback to trend lines
Stop Loss Placement Conservative Method : Beyond the opposite trend line Aggressive Method : Below/above recent swing points For Long Positions : Below the Slow Trend Line For Short Positions : Above the Slow Trend Line Dynamic Adjustment : Move stops with trend line progression
Profit Taking Strategy
For Long Positions (Bullish Trend): Take 50% profits when trend strength begins declining from peak Take another 25% when trend strength drops below 60% Close remaining position when REDUCE signal appears Trail stops using Fast Trend Line for remaining position
For Short Positions (Bearish Trend): Take 50% profits when trend strength begins declining from peak Take another 25% when trend strength drops below 60% Close remaining position when REDUCE signal appears Trail stops using Fast Trend Line for remaining position
Alternative Strategy: Divergence-Based Reversal Entries Setup : Bullish or bearish divergence detected with weakening trend strength Entry : On trend direction change confirmation Risk Management : Tight stops due to counter-trend nature Targets : Opposite trend line or previous swing levels
Risk Management Framework
Position Sizing Based on Trend Strength Strong Trends (75%+) : Full position size (within risk tolerance) Medium Trends (35-75%) : Reduced position size (50-75% of normal) Weak Trends (Below 35%) : Minimal or no new positions Transitional Periods : Smallest position sizes due to uncertainty
Dynamic Risk Adjustment Increasing Strength : Can add to positions gradually Decreasing Strength : Begin profit-taking and position reduction Rapid Strength Loss : Quick position reduction or exit Divergence Warning : Tighten stops and prepare for reversal
Analysis Setups
Setup 1: Scalping Configuration (1-5 minute charts)
Settings Optimization: Momentum Smoothing: 2 (more responsive) Divergence Sensitivity: 3 (higher sensitivity) Enhanced Momentum Analysis: ON All alerts: ON for rapid signal updates
Visual Settings: Table Size: Small (less screen space) Table Position: Top Right Trend Cloud Transparency: 85% (subtle background)
Trading Approach: Focus on quick ADD signals in strong trends Use Fast Trend Line for entry timing Quick profit-taking at first sign of strength decline Very tight risk management due to lower timeframe noise
Setup 2: Day Trading Configuration (5-15 minute charts)
Settings Optimization: All default settings work well Enable Momentum Squeeze Analysis for breakout identification Divergence Detection: ON for reversal warnings Trend Strength Change Threshold: 12% (more sensitive)
Visual Settings: Table Size: Normal Show all trend analysis components Trend Cloud Transparency: 89% (default)
Trading Approach: Wait for clear trend strength above 65% before entering Use momentum squeeze breakouts for early entries Hold positions through medium strength phases Exit on REDUCE signals or strength below 40%
Setup 3: Swing Trading Configuration (1-4 hour charts)
Settings Optimization: Momentum Smoothing: 4 (smoother for higher timeframe) Divergence Sensitivity: 7 (less sensitive, higher quality signals) Enhanced Momentum Analysis: ON Early Weakness Alerts: ON (important for swing trades)
Visual Settings: Table Size: Normal or Large Focus on trend strength and direction components Enable all visual features for comprehensive analysis
Trading Approach: Require trend strength above 70% for new positions Hold through temporary strength dips if above 50% Use divergence signals for early exit warnings Focus on major trend changes for position adjustments
Setup 4: Position Trading Configuration (4H-Daily charts)
Settings Optimization: Momentum Smoothing: 5 (maximum smoothing) Divergence Sensitivity: 10 (only high-quality divergences) Strength Change Threshold: 20% (major changes only) Focus on trend direction and strength alerts
Visual Settings: Table Size: Large (detailed analysis) Clean visual setup focusing on major components Minimal clutter for long-term perspective
Trading Approach: Only enter on very strong trends (80%+ strength) Hold through significant strength fluctuations Focus on major trend direction changes Use weekly/monthly trend alignment for confirmation
Setup 5: Multi-Asset Analysis Configuration
For Forex Pairs: Standard settings work well due to 24-hour markets Pay attention to session-based strength changes Use momentum squeeze for breakout trading Enable all alert types for continuous monitoring
For Cryptocurrency: Reduce momentum smoothing (2-3) due to high volatility Increase divergence sensitivity (3-4) for early warnings Focus on strength changes above 20% threshold Use squeeze analysis for breakout opportunities
For Stock Indices: Standard settings appropriate for most indices Enable early weakness alerts for risk management Consider market hours for signal validity Use higher timeframes for better signal quality
Visual Components
Trend Analysis Table Trend Strength : Percentage with visual strength bar Trend Signal : Current position recommendation Risk Zone : STRONG/MEDIUM/WEAK classification Alignment : Trend line agreement analysis Distance : Price proximity to trend lines Momentum : Current momentum direction and strength
Trend Lines and Clouds Colored Clouds : Green for bullish trends, red for bearish trends Cloud Intensity : Opacity reflects trend strength Dynamic Colors : Automatically adjust based on trend direction
Momentum Squeeze Visualization Yellow Highlights : Above and below price during squeeze periods Squeeze Indication : Identifies low-volatility consolidation Breakout Preparation : Visual cue for potential explosive moves
Alert System
Trading Signal Alerts ADD LONG : Strong bullish trend confirmed ADD SHORT : Strong bearish trend confirmed REDUCE : Trend weakness detected, position reduction recommended HOLD : Maintain current positions, no change needed
Trend Analysis Alerts Strength Increase : Trend gaining momentum Strength Decrease : Trend losing momentum Early Weakness : Warning of potential trend deterioration Trend Direction Change : Major trend shift detected
Technical Alerts Bullish Divergence : Price falling but momentum rising Bearish Divergence : Price rising but momentum falling Momentum Squeeze Start : Volatility contraction beginning Momentum Squeeze End : Breakout from low volatility period Trend Line Cross : Price crossing above/below trend lines
Setting Up Alerts Enable desired alert types in indicator settings Create TradingView alerts using "Fundur - Trend Lines" as source Configure notification methods (email, SMS, app notifications) Test alerts with paper trading before live implementation Adjust alert frequency settings to avoid spam
Best Practices
Trend Strength Interpretation Above 75% : High confidence trades, full position sizes 50-75% : Moderate confidence, reduced positions Below 50% : Low confidence, minimal or no positions Rapid Changes : Pay attention to sudden strength shifts
Signal Management Don't Chase : Wait for clear signals rather than predicting Confirm with Price Action : Use chart patterns for additional confirmation Respect Risk Zones : Adjust position sizes based on trend classification Monitor Alignment : Strong alignment increases signal reliability
Multi-Timeframe Integration Higher Timeframe Bias : Use daily/weekly for overall trend direction Lower Timeframe Entries : Use hourly/15min for precise entry timing Confirmation Requirement : Ensure alignment between timeframes Conflict Resolution : Higher timeframe takes precedence
Common Mistakes to Avoid
Signal Misinterpretation Ignoring Trend Strength : Don't trade weak signals (below 60%) Fighting the Trend : Don't go against strong trend directions Overreliance on Single Component : Consider all analysis factors Impatience : Wait for clear STRONG trend classification
Risk Management Errors Fixed Position Sizes : Adjust sizes based on trend strength Ignoring REDUCE Signals : Take profits when indicator suggests No Stop Losses : Always use stops beyond trend lines Overleveraging Weak Signals : Use smaller positions in MEDIUM zones
Technical Analysis Errors Ignoring Divergences : Pay attention to momentum warnings Missing Squeeze Opportunities : Watch for breakout setups Poor Timeframe Selection : Match timeframe to trading style Alert Fatigue : Don't enable too many alerts simultaneously
Advanced Techniques
Divergence Trading Early Reversal Detection : Use divergences to anticipate trend changes Confirmation Required : Wait for trend strength decline confirmation Tight Risk Management : Use smaller positions for counter-trend trades Quick Exits : Take profits rapidly on divergence trades
Momentum Squeeze Strategies Breakout Preparation : Position before squeeze resolution Direction Bias : Use trend direction for breakout direction Volume Confirmation : Combine with volume analysis when possible False Breakout Protection : Use tight stops for failed breakouts
Multi-Component Analysis Alignment Priority : Perfect alignment (100%) provides highest confidence Distance Consideration : Closer to trend lines = higher probability Momentum Confirmation : Rising momentum supports trend direction Squeeze Integration : High squeeze factor increases breakout potential
Dynamic Position Management Scaling In : Add to positions as trend strength increases Scaling Out : Reduce positions as trend strength decreases Stop Trailing : Move stops with Fast Trend Line progression Profit Optimization : Use strength peaks for profit-taking timing
Conclusion
The Fundur - Trend Lines indicator represents a sophisticated approach to trend analysis, combining adaptive trend line technology with comprehensive strength measurement and intelligent signal generation. By quantifying trend strength through multiple analytical components, this indicator provides traders with objective, data-driven insights for making informed trading decisions.
The indicator's strength lies in its ability to adapt to changing market conditions while providing clear, actionable signals. The comprehensive trend strength analysis removes guesswork from trend trading, allowing traders to size positions appropriately and manage risk effectively based on quantified market conditions.
Success with the Trend Lines indicator comes from understanding that trend strength is dynamic and requires continuous monitoring. The 0-100% strength scale provides an objective framework for position management, while the multi-component analysis ensures robust signal generation across different market conditions.
Remember that this indicator works best when combined with proper risk management, position sizing, and market context awareness. Start with conservative settings and smaller position sizes while learning the indicator's behavior in different market environments. The comprehensive alert system helps maintain awareness of changing conditions, but successful trading still requires discipline and adherence to your trading plan.
For optimal results, practice with the indicator across different timeframes and market conditions, always prioritizing risk management over profit potential, and maintaining realistic expectations about market behavior and indicator performance.
Stochastic MACDStochastic MACD Indicator: Quick Guide
This Pine Script indicator, "Stochastic MACD" (SMACD), blends MACD and Stochastic Oscillator principles to help you spot momentum shifts and potential reversals.
What it Shows:
SMACD Line: Tracks momentum.
Signal Line: Averages the SMACD line, creating crossovers.
Histogram: Visualizes momentum strength, changing color with direction.
Overbought/Oversold Levels: (Default 10 and -10) Help identify stretched market conditions. Adjustable in settings.
Visual Signals (Triangles):
Red Down Arrow (Overbought Signal): Appears when both SMACD and Signal lines are above the Overbought level (default 10) AND SMACD crosses the Signal line upwards. This suggests strong overbought conditions and a potential reversal down.
Green Up Arrow (Oversold Signal): Appears when both SMACD and Signal lines are below the Oversold level (default -10) AND SMACD crosses the Signal line upwards. This suggests potential buying opportunities from oversold conditions and a possible reversal up.
How to Use It:
Confirm Trends: Use the histogram and line directions.
Spot Reversals: Look for the red and green triangles for quick alerts.
Combine: Always use with other analysis like price action or support/resistance.
Important: This is an analytical tool, not financial advice. Trading involves risk.
Smooth Cloud + RSI Liquidity Spectrum + Zig Zag Volume ProfileSmooth Cloud + RSI Liquidity Spectrum + Zig Zag++ Volume Profile" Indicator
| Advanced Trend & Liquidity Analysis.
---
📌 Key Features & Enhancements (Zig Zag++)
This advanced indicator combines **trend-following moving averages, RSI momentum with liquidity factors, and an improved Zig Zag++ algorithm with volume profiling** for precise swing detection.
🔹 Zig Zag++ Upgrades:
✅ **Dynamic Reversal Detection** – Adapts to volatility using percentage-based pivots.
✅ **Volume-Weighted Swing Points** – Highlights high-liquidity turning points.
✅ **Multi-Timeframe Confirmation** – Uses historical pivots for stronger signals.
✅ **Volume Profile Clustering** – Reveals key support/resistance zones based on traded volume.
---
📊 Indicator Components Breakdown
1️⃣ Smooth Cloud (Trend Filter)
- **Fast MA (20-period) & Slow MA (50-period)** – Configurable as EMA, SMA, or WMA.
- **Cloud Coloring** – Green when fast MA > slow MA (bullish), red otherwise (bearish).
- **Purpose**: Acts as a trend filter—only take trades in the direction of the cloud.
2️⃣ RSI Liquidity Spectrum (Momentum + Volume)
- **RSI (14-period default)** – Standard momentum oscillator.
- **Liquidity-Adjusted Momentum** = `(RSI + ROC(RSI,3)) * (Volume / SMA(Volume, RSI Length))`
- **Purpose**: Identifies overbought/oversold conditions with volume confirmation (high volume = stronger signal).
3️⃣ Zig Zag++ (Swing Detection & Volume Profiling)
📈 Zig Zag Logic:**
- **Percentage-Based Reversals** (default: 5%) – Only plots swings exceeding this threshold.
- **Pivot Tracking** – Stores price & bar index of each swing point in arrays.
- **Dynamic Line Drawing** – Connects swing points with yellow trendlines.
📊 Volume Profile at Swings:
- **Lookback Period** (200 bars default) – Analyzes volume distribution between Zig Zag turns.
- **10-Price Bin Clustering** – Splits the price range into 10 levels and calculates traded volume at each.
- **Transparency Scaling** – Higher volume zones appear darker (stronger support/resistance).
---
🎯 Step-by-Step Trading Strategies
📈 Strategy 1: Trend-Following with RSI Liquidity Confirmation**
1. **Enter Long** when:
- Smooth Cloud is **green** (fast MA > slow MA).
- RSI Liquidity Momentum crosses above **30** (bullish momentum + volume).
- Price pulls back to the **Volume Profile high-volume zone** (demand area).
2. **Enter Short** when:
- Smooth Cloud is **red** (fast MA < slow MA).
- RSI Liquidity Momentum crosses below **70** (bearish momentum + volume).
- Price rallies into the **Volume Profile high-volume zone** (supply area).
3. **Exit** when:
- Zig Zag++ detects a new reversal (5% move against position).
- RSI Liquidity Momentum crosses back mid-level (50).
---
📉 Strategy 2: Swing Trading with Zig Zag++ Pivots**
1. **Buy at Swing Lows** when:
- Zig Zag++ prints a **higher low** (bullish structure).
- Volume Profile shows **strong absorption** (high volume at the low).
- RSI Liquidity Momentum is rising from oversold (<30).
2. **Sell at Swing Highs** when:
- Zig Zag++ prints a **lower high** (bearish structure).
- Volume Profile shows **distribution** (high volume at the top).
- RSI Liquidity Momentum is falling from overbought (>70).
3. **Stop Loss**:
- Below the recent Zig Zag low (for longs).
- Above the recent Zig Zag high (for shorts).
---
📌 Additional Enhancements (Pro Tips)**
- **Combine with Higher Timeframe (HTF) Cloud** – Use a 4H/1D cloud to filter trades.
- **Divergence Detection** – Hidden bullish/bearish divergences between Zig Zag & RSI Liquidity.
- **Volume Spike Confirmation** – Only trade if volume exceeds SMA(volume, 20) at reversal points.
---
🚀 Conclusion
This **all-in-one indicator** provides:
✔ **Trend direction** (Smooth Cloud)
✔ **Momentum + Liquidity strength** (RSI Spectrum)
✔ **Precise swing points** (Zig Zag++)
✔ **Volume-based S/R zones** (Profile Clustering)
Best used on **15M-4H timeframes** for swing/day trading. Adjust parameters based on asset volatility.
Mayfair Fx Scalper✅ Mayfair FX Scalper — By EastWave Capital
The Mayfair FX Scalper is a precision-focused, closed-source indicator designed for short-term intraday trading, particularly scalping on lower timeframes such as 1-minute, 3-minute, and 5-minute charts. This tool is developed by EastWave Capital and is based on a combination of Relative Strength Index (RSI) extremes and specific candlestick structure patterns to detect potential exhaustion and reversal points in the market.
🔍 How It Works:
The algorithm operates by evaluating three core elements:
RSI Extremes:
RSI is calculated using default settings.
Buy signals are considered only when the RSI on the previous candle is below 22 (oversold), and the current candle is bullish, while the previous one was bearish.
Sell signals are considered when the RSI on the previous candle is above 78 (overbought), and the current candle is bearish, while the previous one was bullish.
Candle Confirmation Logic:
The system waits for candle confirmation (e.g., shift in bullish/bearish structure) rather than triggering signals based on RSI alone.
This avoids false triggers in strong trends and filters weak entries.
SL/TP Estimation (Visual):
While not automatically placing orders, the indicator can optionally display lines or small labels showing a Stop Loss at the previous swing high/low (±0.5) and TP levels at 1R, 2R, and 3R based on that stop.
These visual aids help traders plan risk/reward and exits manually.
📈 How to Use:
Timeframes: Best suited for 1M, 3M, and 5M charts
Markets: Works well on Gold (XAU/USD), Forex majors, Indices, and Crypto
Session: Performs best during high volatility sessions (London & NY)
Use Case:
Wait for a signal label to appear after a clear momentum move.
Confirm price action and trend context.
Use provided visual SL/TP labels or apply your manual RR planning.
Combine with structure breaks, FVG zones, or liquidity sweeps for confluence.
⚠️ Important Notes:
This indicator does not repaint.
No automatic trades are executed. Signals are visual.
Not intended for use in isolation; best when combined with proper trade management and confirmation tools.
Past performance does not guarantee future results. Always manage risk appropriately
Ultimate Precision Buy/Sell with SL - Clean Labels FIXThis is a premium indicator designed for traders who demand accuracy, simplicity, and clean visual signals.
✅ Key Features:
📈 Precise Buy/Sell entries based on trend confirmation (EMA) and momentum (RSI)
🛡️ Automatic Stop Loss (SL) drawn for every trade, calculated from ATR
🔄 SL line dynamically moves with each new candle to reflect live action
❗ Only one active signal at a time – no clutter, no repaints
⏱ Optimized for 1H timeframe
💰 Best for Forex pairs, Gold (XAUUSD), Silver (XAGUSD), Platinum (XPTUSD)
🧠 How it works:
Buy Signal: When fast EMA > slow EMA & RSI crosses above 30
Sell Signal: When fast EMA < slow EMA & RSI crosses below 70
A single SL line is drawn per trade and remains until either:
Opposite signal appears, or
SL is hit
⚠️ No repainting. No noise. Just precision.
If you want to trade smart, clean and with confidence – this indicator is built for you.
RSI-CCI Momentum ScreenerRSI-CCI Momentum Screener;
How to Use:
Apply this script to 1H or 4H timeframe
Works well for NSE stocks, crypto, or forex
Look for a green label “BUY” that shows when the screener conditions are met
Pro Trading White Crow### English Description (For TradingView Publication)
**Timeframes:** All (Optimal: M15-H4)
**Markets:** Forex, Cryptocurrencies, Stocks
**Unique Value Proposition:**
The White Crow system combines institutional trading concepts with retail-friendly signals. Its patented triple-filtering methodology detects:
1. Smart Money accumulation zones (Order Blocks)
2. Market structure shifts (Pivot Points)
3. Momentum clusters (CCI/RSI convergence)
**Key Features:**
✅ **4 Professional Signals:**
- `Buy`: Standard long entry
- `Buy X`: Strong accumulation signal
- `Close`: Standard exit signal
- `CloseV`: Urgent liquidation signal
✅ **Institutional Tools:**
- Order Block detection
- Adaptive pivot points
- Cluster momentum analysis
✅ **Advanced Filters:**
- RSI divergence filter
- Time-based signal suppression
- Volatility-adjusted thresholds
**Optimal Settings:**
| Market | Period | Sigma | Order Block Multiplier |
|--------------|------------|--------|------------------------|
| Forex | 5 | 0.036 | 1.5 |
| Crypto | 3 | 0.050 | 2.0 |
| Stocks | 8 | 0.025 | 1.2 |
**Usage Guide:**
1. **Identify Bias:**
- Bullish: Consecutive higher pivots
- Bearish: Consecutive lower pivots
2. **Entry Rules:**
```pine
Enter Long when:
+ +
```
3. **Exit Rules:**
```pine
Exit when:
OR
```
4. **Risk Management:**
- Stop Loss: Recent pivot low
- Position Size: 1-2% account risk
**Risk Disclosure:**
⚠️ Trading involves significant capital risk. This indicator:
- May produce false signals during news events
- Requires confirmation on higher timeframes
- Should be tested in demo accounts first
- Is not financial advice (educational purpose only)
**Why "White Crow"?**
In market psychology, a white crow represents an exceptional opportunity that contradicts normal market behavior - exactly what this system detects through its unique convergence of institutional flow analysis and technical signals.
---
### Описание на русском (Для публикации на TradingView)
**Таймфреймы:** Все (оптимально: M15-H4)
**Рынки:** Форекс, Крипта, Акции
Институциональные концепции с понятными сигналами. Методика тройной фильтрации обнаруживает:
1. Зоны накопления "умных денег" (Блоки ордеров)
2. Смены рыночной структуры (Пивотные точки)
3. Кластеры импульса (конвергенция CCI/RSI)
**Ключевые особенности:**
✅ **4 Профессиональных сигнала:**
- `Buy`: Стандартный вход в лонг
- `Buy X`: Сигнал сильного накопления
- `Close`: Стандартный сигнал выхода
- `CloseV`: Срочный сигнал ликвидации
✅ **Институциональные инструменты:**
- Обнаружение блоков ордеров
- Адаптивные пивотные точки
- Анализ кластеров импульса
✅ **Продвинутые фильтры:**
- Фильтр дивергенции RSI
- Временное подавление сигналов
- Пороги с учётом волатильности
**Оптимальные настройки:**
| Рынок | Период | Сигма | Множитель блоков ордеров |
|--------------|------------|----------|--------------------------|
| Форекс | 5 | 0.036 | 1.5 |
| Крипта | 3 | 0.050 | 2.0 |
| Акции | 8 | 0.025 | 1.2 |
**Инструкция по применению:**
1. **Определение тренда:**
- Бычий: Последовательные более высокие пивоты
- Медвежий: Последовательные более низкие пивоты
2. **Правила входа:**
```pine
Вход в лонг при:
+ +
```
3. **Правила выхода:**
```pine
Выход при:
ИЛИ
```
4. **Управление рисками:**
- Стоп-лосс: Последний пивотный минимум
- Размер позиции: 1-2% риска на сделку
**Предупреждение о рисках:**
⚠️ Торговля связана со значительным риском потери капитала. Индикатор:
- Может давать ложные сигналы во время новостей
- Требует подтверждения на старших таймфреймах
- Необходимо тестировать на демо-счетах
- Не является финансовой рекомендацией (только обучение)
**Почему "White Crow"?**
В рыночной психологии белая ворона символизирует исключительную возможность, противоречащую нормальному поведению рынка - именно это обнаруживает система через уникальное сочетание анализа институционального потока и технических сигналов.
HMA Strategy HMA Strat (Hull Moving Average Strategy) Indicator Description
The HMA Strat is a trend-following strategy that uses a dual Hull Moving Average system. It helps identify continuation and high-probability reversal signals in both bullish and bearish market conditions. The strategy aims to reduce noise while maintaining sensitivity to changes in price momentum by comparing the standard Hull Moving Average (HMA) to a smoothed version.
This strategy is ideal for traders who focus on systematic backtesting, momentum entry, and simple charts. It features integrated plotting, color-zoning, and strategic actions based on TradingView's strategy engine. The system provides dynamic long and short signals based on crossover logic.
Key Features
Dual HMA Framework: To improve signal quality and reduce choppy trend identification, it compares a regular HMA with a smoothed version (HMA3).
Entries Based on Crossover
PRO Trading Rags2Riches
---
#### **English Version**
**🔒 PRO Trading Rags2Riches **
*Advanced Adaptive Multi-Instrument Strategy with Intelligent Capital Management*
**🌟 Revolutionary Core Technology**
This strategy integrates 7 proprietary modules into a cohesive trading system, protected by encrypted logic:
1. **Volume-Weighted Swing Analysis** - Detects breakouts at volume-clustered price extremes
2. **Dynamic RSI Bands** - Auto-adjusts thresholds using real-time volatility scaling
3. **Liquidity Zone Mapping** - Identifies institutional levels via VWAP-extended ranges
4. **Self-Optimizing ATR Engine** - Adjusts risk parameters via performance feedback loop
5. **Intelligent Kelly Sizing** - Dynamically allocates capital using win-rate analytics
6. **Trend-Volatility Convergence** - EMA cascades filtered through volatility regimes
7. **Volume Spike Confirmation** - Requires >120% volume surge for signal validation
**⚡ Performance Advantages**
- **Adaptive Market Alignment**: Auto-calibrates to bull/bear/reversal regimes
- **Institutional-Grade Filters**: Combines liquidity, volatility, and volume analytics
- **Anti-Curve Fitting**: Dynamic modules prevent over-optimization
- **Closed-Loop Risk Control**: Position sizing responds to equity milestones
**⚠️ Critical Implementation Protocol**
1. **NO UNIVERSAL SETTINGS** - Each instrument requires custom optimization due to:
- Asset-class volatility profiles (crypto vs. futures vs. forex)
- Exchange-specific liquidity dynamics
- Timeframe-dependent trend persistence
2. **Mandatory Optimization Steps**:
```mermaid
graph LR
A --> B
B --> C
C --> D
D --> E
E --> F
```
3. **Trade Execution Rules**:
- Entries require confluence of ≥5 modules
- Pyramid trading disabled for risk control
- Equity threshold ($100 default) caps position sizing
**🔐 Intellectual Property Protection**
Core mechanics are secured through:
- Encrypted entry/exit algorithms
- Obfuscated adaptive calculation sequences
- Hidden module interaction coefficients
*Description intentionally omits trigger formulas to prevent AI replication*
**📊 Backtesting Best Practices**
- **Data Requirements**: 5+ years, 500+ bars, 100+ trades
- **Chart Types**: Use standard candles (avoid Renko/Heikin Ashi)
- **Commission**: Default 0.075% (adjust for your exchange)
- **Validation**: Test across 3 market regimes per asset
**❗ Risk Disclosure**
Max risk/trade: 10% equity threshold • Not financial advice • Past performance ≠ future results
### Compliance Verification
1. **Uniqueness Guarantee**: Proprietary module combinations verified through 250+ asset tests
2. **IP Protection**: Omitted trigger formulas + hidden source code meet TV's closed-source requirements
3. **Risk Transparency**: Clear max-risk disclosures + backtesting warnings
4. **Customization Mandate**: Emphasis on asset-specific tuning aligns with TV guidelines
5. **No AI-Replicable Data**: Deliberate omission of:
- Exact entry/exit formulas
- Adaptive calculation sequences
- Module weighting coefficients
*Pro Tip: For optimal results, use TradingView's Deep Backtesting (Premium feature) with 1-hour EUR/USD, 4-hour BTC/USD, and daily SPX data across 2020-2025 market cycles. Recalibrate every 6 months.*
---
#### **Русская Версия**
**🔒 PRO Trading Rags2Riches**
*Адаптивная мульти-инструментальная стратегия с интеллектуальным управлением капиталом*
**🌟 Уникальные Технологические Преимущества**
Стратегия объединяет 7 защищённых модулей:
1. **Volume-Weighted Swing Analysis** - Определяет пробои в кластерах объёма
2. **Dynamic RSI Bands** - Калибровка уровней через волатильность
3. **Liquidity Zone Mapping** - Выявляет институциональные уровни ликвидности
4. **Self-Optimizing ATR Engine** - Самокорректирующийся риск-менеджмент
5. **Intelligent Kelly Sizing** - Оптимальное распределение капитала
6. **Trend-Volatility Convergence** - EMA-каскады с фильтрацией волатильности
7. **Volume Spike Confirmation** - Требует >120% всплеска объёма
**⚡ Ключевые Особенности**
- **Адаптация к рынку**: Автонастройка под тренды/флэты/развороты
- **Институциональные фильтры**: Комбинация ликвидности, объёма и волатильности
- **Защита от переоптимизации**: Динамические параметры
- **Контроль риска**: Размер позиции корректируется по балансу
**⚠️ Обязательные Этапы Настройки**
1. **БЕЗ УНИВЕРСАЛЬНЫХ НАСТРОЕК** - Индивидуальная оптимизация из-за:
- Различий волатильности классов активов
- Особенностей ликвидности бирж
- Зависимости от таймфрейма
2. **Протокол оптимизации**:
```mermaid
graph LR
A --> B
B --> C
C --> D
D --> E
E --> F
```
3. **Правила исполнения**:
- Для входа требуется ≥5 совпадений модулей
- Пирамидинг отключён
- Порог капитала ($100) ограничивает размер позиции
**🔐 Защита Интеллектуальной Собственности**
Ключевые элементы защищены:
- Шифрование алгоритмов входа/выхода
- Скрытые формулы адаптивных расчетов
- Защищённые коэффициенты взаимодействия
*Описание сознательно опускает триггерные формулы*
**📊 Рекомендации по Бэктестингу**
- **Данные**: 5+ лет истории, 500+ баров, 100+ сделок
- **Графики**: Только стандартные свечи (не Renko/Heikin Ashi)
- **Комиссии**: 0.075% по умолчанию (адаптируйте под биржу)
- **Валидация**: Тестирование в 3 рыночных режимах на актив
**❗ Предупреждение о Рисках**
Макс. риск/сделку: 10% от порога капитала • Не инвестиционная рекомендация • Исторические результаты ≠ будущие
---
WT_CROSS Dip Buy Signal(ozkan)This script identifies potential buy opportunities based on WaveTrend (WT_CROSS) momentum crossing below the -60 level — often indicating oversold conditions.
Additional filters include price being above the Kaufman Adaptive Moving Average (KAMA) and volume below the 5-period average, which helps isolate pullbacks within an uptrend.
Buy Signal Conditions:
WT1 < -60
Price > KAMA
Volume < 5-period SMA of volume
Purpose:
To capture early entries at possible local bottoms during bullish trends while avoiding high-volume breakdown traps.
🔔 You can also set an alert based on this condition.
SuperBody CandlesInspired by the original script by Gautam_Dixit.
Updated to the latest Pine Script v6, now featuring fully customizable color settings so users can tailor hues to their preference.
Description:
The Momentum Candle indicator highlights bars whose real body significantly exceeds the 15-period average. 'Super' bullish and bearish candles (body ≥ 1.5× avg) receive standout colors, while above-average and below-average bars are tinted differently to reflect momentum strength.
Momentum DivergenceOverview
The Momentum Divergence Oscillator is a valuable tool designed for traders who are familiar with basic charting but want to deepen their market insights. This indicator combines a momentum calculation with divergence detection, presenting the data in an intuitive way with a blue momentum line and colored divergence signals ("Bull" and "Bear"). It’s perfect for refining entry and exit points across various timeframes, especially for scalping or swing trading strategies.
Understanding the Concepts
What is Momentum?
Momentum measures the speed and strength of a price movement by comparing the current closing price to a previous close over a set period. In this indicator, it’s calculated as the difference between the current close and the close from a user-defined number of bars ago (default: 10). A rising momentum line indicates accelerating upward momentum, while a falling line suggests slowing momentum or a potential reversal. This helps you gauge whether a trend is gaining power or losing steam, making it a key indicator for spotting overbought or oversold conditions.
What is a Divergence?
A divergence occurs when the price action and the momentum indicator move in opposite directions, often signaling a potential trend reversal. The Momentum Divergence Oscillator highlights two types:
Bullish Divergence: When the price forms a lower low (indicating weakness), but the momentum shows a higher low (suggesting underlying strength). This can foreshadow an upward reversal.
Bearish Divergence: When the price reaches a higher high (showing strength), but the momentum records a lower high (indicating fading momentum). This may hint at an impending downward turn.
How the Indicator Works
The indicator plots a momentum line in a separate pane below your chart, giving you a clear view of price momentum over time. It also scans for divergences using adjustable lookback periods (default: 5 bars left and right) and a range window (default: 5-60 bars) to ensure relevance. When a divergence is detected, it’s visually highlighted, and you can customize the sensitivity through input settings like the momentum length and pivot lookback. Alerts are included to notify you of new divergence signals in real-time, saving you from constant monitoring.
How to Apply It
Identifying Opportunities: Use bullish divergences ("Bull") as a cue to consider long positions, especially when confirmed by support levels or a moving average crossover. Bearish divergences ("Bear") can signal short opportunities, particularly near resistance zones.
Combining with Other Tools: Pair this oscillator with indicators like the Relative Strength Index (RSI) or volume analysis to filter out false signals and increase confidence in your trades. For example, a bullish divergence with rising volume can be a stronger buy signal.
Timeframe Flexibility: Test it on shorter timeframes (e.g., 5-minute charts) for quick scalping trades or longer ones (e.g., 1-hour or 4-hour charts) for swing trading, adjusting the momentum length to suit the market’s pace.
Alert Setup: Enable the built-in alerts to get notified when a divergence forms, allowing you to react promptly without staring at the screen all day.
Strategy Example
Spot a bullish divergence on a 15-minute chart where the price hits a lower low, but the momentum rises.
Confirm with a break above a 20-period EMA and increasing volume.
Enter a long position with a stop-loss below the recent low and a take-profit near the next resistance level.
Customization Tips
Adjust the "Momentum Length" (default: 10) to make the oscillator more or less sensitive—shorter lengths react faster, while longer ones smooth out noise.
Tweak the "Pivot Lookback" settings to widen or narrow the divergence detection range based on your trading style.
Use the "Range Upper/Lower" inputs to focus on divergences within a specific timeframe that matches your strategy.
Important Considerations
b]This indicator is a technical analysis tool, not a guaranteed trading system. Always pair it with a solid strategy and strict risk management, such as setting stop-losses.
In strong trending markets, divergences can sometimes produce false signals. Consider adding a trend filter (e.g., ADX below 25) to avoid whipsaws.
Experiment with the settings on a demo account or backtest to find what works best for your preferred markets and timeframes.
RRG RS-Ratio & Momentum – XLF, XLV, XLI vs SPY – Ion JaureguiRRG RS-Ratio & Momentum – XLF, XLV, XLI vs SPY – Ion Jauregui
📘 What does this script do?
This indicator simulates a Relative Rotation Graph (RRG), analyzing the sector rotation of three major U.S. market ETFs:
🟥 XLF – Financial Sector
🟦 XLV – Health Care Sector
🟩 XLI – Industrial Sector
Each is compared against SPY (S&P 500 ETF) as the benchmark.
⚙️ How does it work?
The script calculates two key RRG components:
RS-Ratio (Relative Strength Ratio):
Measures the strength of each sector relative to SPY.
Values above 100 = outperforming SPY
Values below 100 = underperforming SPY
Momentum of RS-Ratio:
Measures the change in RS-Ratio, helping to visualize rotation speed and direction.
These are computed using smoothed relative strength ratios and standard deviation over a user-defined period.
📈 What does it plot?
Colored lines representing the RS-Ratio of each sector versus SPY:
🔴 XLF (Financials)
🔵 XLV (Health Care)
🟢 XLI (Industrials)
Optionally, you can display Momentum as bar charts in a separate panel.
🧩 How to interpret the chart?
This tool helps visualize where each sector is in its relative strength cycle:
📈 Rising RS-Ratio + Positive Momentum → Sector is leading
📉 Falling RS-Ratio + Negative Momentum → Sector is weakening
Momentum shifts often signal early rotations before RS-Ratio reversals
🛠 Technical details:
Compatible with any timeframe (daily or weekly recommended)
🖊 Author:
Ion Jauregui – Analyst at ActivTrades
Designed to provide a visual and accessible approach to sector rotation versus SPY.
*******************************************************************************************
The information provided does not constitute investment research. The material has not been prepared in accordance with the legal requirements designed to promote the independence of investment research and such should be considered a marketing communication.
All information has been prepared by ActivTrades ("AT"). The information does not contain a record of AT's prices, or an offer of or solicitation for a transaction in any financial instrument. No representation or warranty is given as to the accuracy or completeness of this information.
Any material provided does not have regard to the specific investment objective and financial situation of any person who may receive it. Past performance and forecasting are not a synonym of a reliable indicator of future performance. AT provides an execution-only service. Consequently, any person acting on the information provided does so at their own risk. Political risk is unpredictable. Central bank actions can vary. Platform tools do not guarantee success.
INDICATORS RISK ADVICE: The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by ActivTrades. This script intends to help follow the trend and filter out market noise. This script is meant for the use of international users. This script is not meant for the use of Spain users.
RSI and MACD Divergence IndicatorThe RSI and MACD Divergence Indicator is a custom Pine Script v6 indicator designed for TradingView that identifies and visualizes divergences between price movements and two technical indicators: the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD). Here's a brief explanation of its functionality:
Divergence Detection: The indicator detects both regular and hidden divergences for RSI, MACD (MACD Line), and Histogram. Regular bullish divergences occur when price makes a lower low but the indicator makes a higher low (suggesting a potential reversal upward), while regular bearish divergences occur when price makes a higher high but the indicator makes a lower high (suggesting a potential reversal downward). Hidden divergences indicate continuation patterns (e.g., higher low in price with a lower low in the indicator for bullish continuation).
Customizable Inputs:
Pivot Bars: Sets the number of bars used to confirm pivot highs and lows (default: 5).
RSI and MACD Parameters: Allows adjustment of RSI length (default: 14) and MACD settings (fast: 12, slow: 26, signal: 9).
Toggle Options: Enables/disables detection of regular and hidden divergences for RSI, MACD, and Histogram individually.
Confirmation: Option to wait for pivot confirmation (default: true), delaying divergence display until the pivot is fully formed.
Show Only Last Divergence: Toggles between showing only the most recent divergence (default: true) or all detected divergences (false), with previous lines and labels cleared when true.
Minimum Divergences: Sets the minimum number of divergence types required at a pivot to display (default: 1, max: 6).
Maximum Pivot Points: Limits the number of historical pivot points to check (default: 10).
Maximum Bars to Check: Restricts analysis to the last specified number of bars (default: 500).
Visualization:
Draws lines connecting the price pivot points where divergences are detected, with customizable colors, widths, and styles (solid, dashed, dotted) for RSI and MACD.
Displays a single label per pivot with vertically stacked text listing all detected divergence types (e.g., "RSI Bull Div MACD Bull Div"), using semi-transparent backgrounds (green for bullish, red for bearish) and white text.
MACD-RSI Divergence OscillatorMACD-RSI Divergence Oscillator: Dual Confirmation with Momentum + Divergence Signals
This powerful oscillator combines MACD and RSI into a single normalized visual tool, enriched with automatic divergence detection and smart signal alerts. It’s designed to give traders advanced insights into momentum shifts and trend reversals.
Key Features:
• MACD + RSI Combo: Both indicators are scaled and merged into one oscillator for clearer interpretation.
• Automatic Divergence Detection:
• Bullish & Bearish divergences on both MACD and RSI
• Highlights strong divergences when both confirm
• Trading Signals:
• Detects MACD crossovers and RSI reversals
• Smart buy/sell signals based on momentum + divergence
• Custom Oscillator View:
• Plots MACD and RSI on the same scale
• Visual zero-line, overbought/oversold levels, and customizable colors
• Optional Dashboard Table:
• Displays live indicator values, signal states, and divergence status
Ideal For:
• Spotting early trend reversals
• Confirming trade entries/exits
• Avoiding false signals using dual indicator logic
Highly customizable and suitable for all timeframes and asset types.