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.
動量指標(MOM)
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.
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.
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.
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.
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.
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.
Nexus v10Nexus v10 - Confluence-Driven Trading Indicator
The Nexus v10 is a sleek, modern, and versatile trading indicator that delivers precise buy and sell signals by synthesizing a confluence of technical factors, including Heikin Ashi candles, RSI, ADX, and EMA crossovers. The name "Nexus" captures its core strength—connecting and synthesizing multiple signals into a cohesive trading decision point. The term evokes a central hub or convergence, reflecting the script’s confluence-based approach, dynamic adaptability, and real-time precision for scalping. Designed for traders seeking clarity and efficiency, it’s a powerful tool for navigating dynamic markets.
Key Features:
Confluence-Based Signals: Combines weighted signals from Heikin Ashi, RSI, ADX, and EMA crossovers to generate high-probability buy/sell signals.
Neutral Status Logic: Limits consecutive signals to two per direction, requiring a "Neutral" status before the second signal to ensure disciplined trading.
Clean Visualization: Displays only the two most recent buy/sell signals, keeping the chart uncluttered and focused on current opportunities.
Dynamic Adaptability: Offers customizable RSI thresholds, EMA lengths, MTF settings, and dynamic overbought/oversold levels to fit any market or style.
Candle Coloring & Inside Bars: Highlights overbought/oversold conditions and inside bars with customizable colors for enhanced context.
Real-Time Debug Table: Provides live insights into signal status, RSI, MTF trends, and ADX for informed decision-making.
How It Works:
Nexus v10 integrates multiple technical factors, including MTF analysis (default: 3m, 15m, 240m, D), RSI, ADX, and EMA crossovers, to produce signals when confluence criteria are met. Signals appear as circles on the chart, with a maximum of two visible signals per direction (buy or sell). A second signal in the same direction requires a neutral status, ensuring precision. Ideal for scalping, swing, and trend trading across stocks, forex, futures, and more.
Usage Tips:
Customize settings like RSI thresholds and MTF periods to align with your trading strategy.
Use the debug table to monitor confluence factors and signal status in real-time.
Pair with sound risk management and personal analysis for optimal results.
Note:
Always backtest thoroughly in your trading environment to validate performance. Let the Nexus v10 guide your next trade with precision and clarity!
Nexus v10Nexus v10 - Confluence-Driven Trading Indicator
The Nexus v10 is a sleek, modern, and versatile trading indicator that delivers precise buy and sell signals by synthesizing a confluence of technical factors, including Heikin Ashi candles, RSI, ADX, and EMA crossovers. The name "Nexus" captures its core strength—connecting and synthesizing multiple signals into a cohesive trading decision point. The term evokes a central hub or convergence, reflecting the script’s confluence-based approach, dynamic adaptability, and real-time precision for scalping. Designed for traders seeking clarity and efficiency, it’s a powerful tool for navigating dynamic markets.
Key Features:
Confluence-Based Signals: Combines weighted signals from Heikin Ashi, RSI, ADX, and EMA crossovers to generate high-probability buy/sell signals.
Neutral Status Logic: Limits consecutive signals to two per direction, requiring a "Neutral" status before the second signal to ensure disciplined trading.
Clean Visualization: Displays only the two most recent buy/sell signals, keeping the chart uncluttered and focused on current opportunities.
Dynamic Adaptability: Offers customizable RSI thresholds, EMA lengths, MTF settings, and dynamic overbought/oversold levels to fit any market or style.
Candle Coloring & Inside Bars: Highlights overbought/oversold conditions and inside bars with customizable colors for enhanced context.
Real-Time Debug Table: Provides live insights into signal status, RSI, MTF trends, and ADX for informed decision-making.
How It Works:
Nexus v10 integrates multiple technical factors, including MTF analysis (default: 3m, 15m, 240m, D), RSI, ADX, and EMA crossovers, to produce signals when confluence criteria are met. Signals appear as circles on the chart, with a maximum of two visible signals per direction (buy or sell). A second signal in the same direction requires a neutral status, ensuring precision. Ideal for scalping, swing, and trend trading across stocks, forex, futures, and more.
Usage Tips:
Customize settings like RSI thresholds and MTF periods to align with your trading strategy.
Use the debug table to monitor confluence factors and signal status in real-time.
Pair with sound risk management and personal analysis for optimal results.
Note:
Always backtest thoroughly in your trading environment to validate performance. Let the Nexus v10 guide your next trade with precision and clarity!
[volfgang] wave.liteThe wave.lite indicator is a simplified version of my WAVE momentum tracker indicator, designed to help traders identify market trends by analysing price action across multiple timeframes. As a simplified version of my full WAVE script, it focuses on core momentum signals and confluence for the current timeframe only.
Quick Summary
The Lite WAVE features a signal line that alternates between Red (bearish) and Blue (bullish).
It turns Blue when the WAVE line crosses above the signal and holds for 1 bar.
It turns Red when the WAVE line crosses below the signal and holds for 1 bar.
Under The Hood
The Lite WAVE aggregates close, high, low, and EMA data over a set period to measure recent price extremes and midpoint deviations, emphasizing newer action. It calculates averages for high-to-high and low-to-low differences to derive the WAVE value, smoothed for trend determination.
This lite version omits advanced divergence, specialist info box, confluence scanner and signal features from the full WAVE, focusing on momentum tracking for simplicity. It's suitable for all markets and assets; always combine with other analysis—past performance doesn't guarantee future results.
Momentum Candle ProjectionThis indicator projects future price momentum by calculating a directional vector from recent price movements. It uses a custom implementation of the atan2 function to create a vector average of the last N candles and visualizes this projection as a synthetic future candle.
🔍 What It Does:
✅ Tracks recent momentum using geometric vectors from price change.
✅ Projects a synthetic "momentum candle" one bar ahead, showing anticipated direction and magnitude.
✅ Optionally plots a secondary "future candle" based on a smoothed estimate of projected price vs. real current close.
⚙️ Settings:
Vector Lookback (bars): Controls how many bars are used to calculate the momentum vector.
Projection Length Multiplier: Adjusts how far forward the vector is projected based on its strength.
🟢 How To Use:
Use the lime/red projection candle to anticipate short-term directional bias.
Use the orange/maroon future candle to compare projected continuation vs. current closing price.
Spot early reversals, continuation zones, and momentum decay in real-time.
TrendShift [MOT]📈 TrendShift – Multi-Factor Momentum & Trend Signal Suite
TrendShift is a precision-built momentum and confluence tool designed to highlight directional shifts in price action. It combines EMA slope structure, oscillator confirmation, volume behavior, and dynamic SL/TP logic into one cohesive system. Whether you're trading with the trend or catching reversals, TrendShift provides data-backed clarity and visual confidence — and it’s available free to the public.
🔍 Core Signal Logic
Buy (🟢 Long) and Sell (🔴 Short) signals are triggered when multiple conditions align within a set bar window (default: 5 bars):
Stochastic RSI K/D cross
RSI crosses above 20 (long) or below 80 (short)
Stochastic RSI breaks 20 (long) or 80 (short)
Volume exceeds 20-bar average
🧭 Visual Trend Dashboard – Signal Table
A real-time on-chart dashboard displays:
EMA Trend: Bullish / Bearish / Mixed (based on 4 EMA slopes)
Stoch RSI: Oversold / Overbought / Neutral
RSI: Exact value with zone label
Volume: Above or Below average
Dashboard theme and position are fully customizable.
📐 Trend Structure with EMA Slope Logic
Plots four EMAs (21, 50, 100, 200) color-coded by slope:
Green = Rising
Red = Falling
These feed into the dashboard's EMA Trend display.
🎯 Optional Take Profit / Stop Loss Zones
When enabled, SL/TP lines plot automatically on valid signals:
Fixed-distance targets (e.g., 10pt TP, 5pt SL)
Auto-remove on TP or SL hit
Separate lines for long vs. short trades
Fully customizable styling
🔁 Trailing Stop Filter (Internal Logic)
A custom ATR-based trailing stop helps validate directional strength:
ATR period
HHV window
ATR multiplier
Used internally — not plotted — to confirm trend progression before entry.
⚙️ Customizable Parameters
Every core component is user-configurable:
EMA periods: 21 / 50 / 100 / 200
ATR trailing logic: period, HHV, multiplier
Oscillator settings: Stoch RSI & RSI
Volume length
SL/TP toggles and point values
Bar clustering window
Dashboard theme and location
🔔 Alerts Included
BUY Signal Triggered
SELL Signal Triggered
Compatible with webhook automation or mobile push notifications.
⚠️ Disclaimer
This tool is for educational purposes only and is not financial advice. Trading involves risk — always do your own research and consult a licensed professional before making trading decisions.
Pivot Squeeze IndicatorThe Pivot Squeeze Indicator is an oscillator that identifies when markets are "squeezed" between recent pivot highs and lows, then signals when they're ready to make their next big move.
How it Works
The indicator calculates the percentage distance between the current price and the most recent pivot high vs. pivot low. When this distance gets compressed (small), the market is "squeezed" and building energy. When it expands rapidly, you get your breakout signal.
The indicator adapts to current market volatility using four different modes:
- ATR-Based
- Bollinger Bands
- Keltner Channels
- Fixed %
What to Look For
🟠 Orange Background = Squeeze Zone
Market is compressed between recent pivots
Low volatility, building pressure
🟢 Green Breakout = Bullish Signal
Price breaking out above recent highs
Momentum shifting upward
Time to look for long opportunities
🔴 Red Breakout = Bearish Signal
Price breaking down below recent lows
Momentum shifting downward
Time to look for short opportunities
Using Histogram Colors:
Green bars = Bullish territory (closer to recent highs)
Red bars = Bearish territory (closer to recent lows)
Orange bars = Squeeze conditions (compressed between pivots)
Using MA Line:
When Histogram bars cross below or above MA Line in opposite direction, it might be good time to exit.
Default Settings: ATR-based thresholds with 14-period lookback - works great out of the box, but feel free to experiment with the different threshold modes to find what works best for your trading style! Recommended to use with other indicators to confirm signals
RSI with 2-Pole FilterA momentum indicator that tells you if a stock is overbought or oversold.
RSI goes between 0 and 100.
70 = overbought (might fall)
<30 = oversold (might rise)
It often looks jagged or choppy on volatile days.
Think of this filter like a momentum smoother:
It still follows RSI closely,
But it doesn’t react to every little jiggle in price,
Which helps avoid false signals.
it keeps track of:
The current RSI,
The last 2 RSI values (inputs), and
The last 2 outputs (filtered RSIs).
It uses feedback to shape the output based on previous values, making it smoother than a simple moving average.
Pure Price Action Momentum OscillatorComplete Trading Guide: Pure Price Action Momentum Oscillator
1. Script Overview
What It Does
Tracks real-time momentum strength (bullish/bearish acceleration)
Identifies dynamic support/resistance zones for momentum (not price)
Alerts when momentum breaks or holds critical levels
What It Doesn’t Do
Predict long-term trends (use with trend indicators)
Replace price-based S/R levels (use alongside them)
Work well in extreme choppiness (adjust settings or avoid)
2. Key Features & Components
Feature Purpose Visual Cue
Momentum Histogram Shows strength/direction of price acceleration Color-coded bars
Zero Line Bullish/bearish momentum baseline Gray line (0 level)
Support Zone (Blue) Momentum floor where bounces happen Blue horizontal line
Resistance Zone (Orange) Momentum ceiling where pullbacks start Orange horizontal line
Stateful Alerts Persistent signals until conditions reverse Green/Red labels
3. Best Timeframes & Markets
Market Recommended Timeframe Notes
Stocks 5min - 1H Works best with high liquidity
Forex 15min - 4H Avoid during major news spikes
Crypto 1H - 4H Use with volume confirmation
Futures 5min - 1H Ideal for intraday momentum trades
❌ Avoid: Tick charts, <1min (too noisy), >Daily (loses sensitivity).
4. Confirmation Tools (Must-Use Combos)
A. Trend Confirmation
200 EMA (Price Chart)
Only trade longs if price > 200 EMA + momentum supports
Only trade shorts if price < 200 EMA + momentum confirms
ADX (14)
Use when ADX > 25 (strong trend) + momentum aligns
B. Volume Confirmation
Volume Profile
Enter longs only if momentum breaks resistance at high-volume nodes
VWAP
Buy pullbacks when momentum holds support and price is above VWAP
C. Price Structure
Fibonacci Retracements
Look for momentum breaks at 61.8% Fib levels for high-probability trades
Market Structure (Higher Lows/Lower Highs)
Momentum breakouts work best when price confirms trend
5. Trading Signals & Execution Rules
A. Breakout Trades (High Momentum)
Signal Conditions Action
Resistance Broken Histogram > Orange Zone + Price > Key S/R Enter Long
Support Broken Histogram < Blue Zone + Price < Key S/R Enter Short
Stop Loss:
Longs: 1 tick below nearest swing low
Shorts: 1 tick above nearest swing high
Take Profit:
Trail using the opposite zone (exit long when momentum drops below support)
B. Reversal Trades (Momentum Exhaustion)
Signal Conditions Action
Resistance Holding Histogram rejects Orange Zone + Bearish candle Short Entry
Support Holding Histogram bounces off Blue Zone + Bullish candle Long Entry
Stop Loss:
Beyond the recent swing high/low
Take Profit:
At next key S/R level
6. Advanced Interpretation
A. Divergence Trading
Hidden Bullish Divergence:
Price makes higher low, but momentum makes lower low → Potential reversal up
Hidden Bearish Divergence:
Price makes lower high, but momentum makes higher high → Potential reversal down
B. Session-Based Trading
London Open (3 AM EST): Watch for momentum breaks with volume surge
NY Midday (10 AM - 12 PM EST): Best for trend continuation
Crypto (UTC Midnight): Often sees volatility spikes
7. Risk Management & Position Sizing
Risk per trade: 1-2% of account
Leverage: ≤5x for intraday, ≤2x for swing
Avoid trading:
First 15 mins after major news
Low-volume periods (e.g., forex after 5 PM EST)
8. Pro Tips for Consistency
✅ Wait for Close: Don’t trade wicks, wait for candle close beyond zones.
✅ Combine with Price Action: Only trade if momentum aligns with candlestick patterns (e.g., pin bars, engulfing).
✅ Adjust Lookback: Increase in choppy markets, decrease in trends.
9. Limitations & Fixes
Issue Solution
Whipsaws in choppy markets Increase Min Lookback to 30+
Slow reaction in trends Reduce Max Lookback to 50
False breakouts Require volume confirmation
Final Verdict
This script is best used as a momentum filter – not a standalone system. Combine with:
✔ Trend indicators (200 EMA, ADX)
✔ Volume analysis (VWAP, Volume Profile)
✔ Price structure (S/R, Fibs)
Spread AnalysisSpread Analysis - Futures vs Spot Price Analysis
Advanced spread analysis tool that compares futures/perp prices with spot prices across multiple exchanges, providing insights into market sentiment and potential trading opportunities.
Multi-Asset Support: Automatically detects and analyzes crypto perpetual vs spot spreads, index futures vs cash indices (ES/SPX, NQ/NDX, YM/DJI), and commodity futures vs spot prices (GC/GOLD, CL/USOIL)
Multi-Exchange Aggregation: For crypto, aggregates prices from Binance, BitMEX, Kraken, Bybit, OKX, and Coinbase to calculate mean perp and spot prices
Z-Score Based Alerts: Uses statistical Z-score analysis to identify extreme spread conditions that may signal potential reversals or continuation patterns
Visual Histogram Display: Shows spread differences as colored columns - green for futures premium, red for futures discount
Flexible Calculation Methods: Supports absolute price differences, percentage spreads, or basis point calculations
Trading Applications: Identify market sentiment divergence, spot potential reversal opportunities, and confirm trend strength
Risk Management: Use extreme Z-scores to identify overvalued conditions and potential mean reversion setups
Market Analysis: Understand the relationship between futures and spot markets across different asset classes
Timing Tool: Spread momentum often precedes price moves, providing early signals for entry/exit decisions
Perfect for traders who want to understand the relationship between futures and spot markets, identify divergences, and spot potential reversal opportunities across crypto, indices, and commodities.
Key Features:
• Automatic asset detection and appropriate spread calculation
• Configurable Z-score alerts for extreme conditions
• Comprehensive tooltips and information guide
• Multiple calculation methods (absolute, percentage, basis points)
• Clean, customizable visual display
Use Cases:
• Crypto traders analyzing perp vs spot relationships
• Futures traders monitoring basis relationships
• Mean reversion strategies using extreme spreads
• Trend confirmation using spread momentum
• Market sentiment analysis across asset classes
RSI Mansfield +RSI Mansfield+ – Adaptive Relative Strength Indicator with Divergences
Overview
RSI Mansfield+ is an advanced relative strength indicator that compares your instrument’s performance against a configurable benchmark index or asset (e.g., Bitcoin Dominance, S&P 500). It combines Mansfield normalization, adaptive smoothing techniques, and automatic detection of bullish and bearish divergences (regular and hidden), delivering a comprehensive tool for assessing relative strength across any market and timeframe.
Originality and Motivation
Unlike traditional relative strength scripts, this indicator introduces several distinctive improvements:
Mansfield Normalization: Scales the ratio between the asset and the benchmark relative to its moving average, transforming it into a normalized oscillator that fluctuates around zero, making it easier to spot outperformance or underperformance.
Adaptive Smoothing: Automatically selects whether to use EMA or SMA based on the market type (crypto or stocks) and timeframe (intraday, daily, weekly, monthly), avoiding manual configuration and providing more robust results under varying volatility conditions.
Divergence Detection: Identifies four types of divergences in the Mansfield oscillator to help anticipate potential reversal points or trend confirmations.
Multi-Market Support: Offers benchmark selection among major crypto and global stock indices from a single input.
These enhancements make RSI Mansfield+ more practical and powerful than conventional relative strength scripts with static benchmarks or without divergence capabilities.
Core Concepts
Relative Strength (RS): Compares price evolution between your asset and the selected benchmark.
Mansfield Normalization: Measures how much the RS deviates from its historical moving average, expressed as a scaled oscillator.
Divergences: Detects regular and hidden bullish or bearish divergences within the Mansfield oscillator.
Timeframe Adaptation: Dynamically adjusts moving average lengths based on timeframe and market type.
How It Works
Benchmark Selection
Choose among over 10 indices or market domains (BTC Dominance, ETH Dominance, S&P 500, European indices, etc.).
Ratio Calculation
Computes the price-to-benchmark ratio and smooths it with the adaptive moving average.
Normalization and Scaling
Transforms deviations into a Mansfield oscillator centered around zero.
Dynamic Coloring
Green indicates relative outperformance, red signals underperformance.
Divergence Detection
Automatically identifies bullish and bearish (regular and hidden) divergences by comparing oscillator pivots against price pivots.
Baseline Reference
A clear zero line helps interpret relative strength trends.
Usage Guidelines
Benchmark Comparison
Ideal for traders analyzing whether an asset is outperforming or lagging its sector or market.
Divergence Analysis
Helps detect potential reversal or continuation signals in relative strength.
Multi-Timeframe Compatibility
Can be applied to intraday, daily, weekly, or monthly charts.
Interpretation
Oscillator >0 and green: outperforming the benchmark.
Oscillator <0 and red: underperforming.
Bullish divergences: potential relative strength reversal to the upside.
Bearish divergences: possible loss of momentum or reversal to the downside.
Credits
The concept of Mansfield Relative Strength is based on Stan Weinstein’s original work on relative performance analysis. This script was built entirely from scratch in TradingView Pine Script v6, incorporating original logic for adaptive smoothing, normalized scaling, and divergence detection, without reusing any external open-source code.
Adaptive Squeeze Momentum +Adaptive Squeeze Momentum+ (Auto-Timeframe Version)
Overview
Adaptive Squeeze Momentum+ is an enhanced volatility and momentum indicator designed to identify compression and expansion phases in price action. It is inspired by the classic Squeeze Momentum Indicator by LazyBear but introduces automatic parameter adaptation to any timeframe, making it simpler to use across different markets without manual configuration.
Concepts and Methodology
The script combines Bollinger Bands (BB) and Keltner Channels (KC) to detect periods when volatility contracts (squeeze) or expands (release).
A squeeze occurs when BB are inside KC, suggesting low volatility and potential breakout scenarios.
A squeeze release is detected when BB expand outside KC.
Momentum is derived using a linear regression applied to the difference between price and a midrange reference level.
Original Improvements
Compared to the original Squeeze Momentum Indicator, this version offers several enhancements:
Automatic Adaptation: BB and KC lengths and multipliers are dynamically adjusted based on the chart’s timeframe (from 1 minute up to 1 month), removing the need for manual tuning.
Simplified Visualization: A clean, minimalist histogram and clear squeeze state cross markers allow for faster interpretation.
Flexible Application: Designed to work consistently on intraday, daily, and higher timeframes across crypto, forex, stocks, and indices.
Features
Dynamic Squeeze Detection:
Gray Cross: Neutral (no squeeze detected)
Blue Cross: Active squeeze
Yellow Cross: Squeeze released
Momentum Histogram:
Positive/negative momentum shown with slope-based coloring.
Timeframe-Aware Parameters:
Automatically sets optimal BB/KC configurations.
Usage
Watch for blue crosses indicating an active squeeze phase that may precede a directional move.
Use the histogram color and slope to gauge momentum strength and direction.
Combine squeeze release signals with momentum confirmation for potential entries or exits.
Credits and Licensing
This script was inspired by LazyBear’s OLD “Squeeze Momentum Indicator” (). The implementation here significantly expands upon the original by introducing auto-adaptive parameters, restructured logic, and a new visualization approach. Published under the Mozilla Public License 2.0.
Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Use at your own risk.
Rifle UnifiedThis script is designed for use on 30-second charts of Dow Jones-related symbols (YM, MYM, US30). It provides automated buy and sell signals using a combination of price action, RSI (Relative Strength Index), and volume analysis. The script is intended for both live trading signals and backtesting, with configurable risk management and debugging features.
Core Functionality
1. Signal Generation Logic
Trigger: The algorithm looks for a sharp price move (drop or rise) of a user-defined threshold (default: 80 points) within a specified lookback window (default: 20 minutes).
Levels: It monitors for price drops below specific numerical levels ending in 23, 43, or 73 (e.g., 42223, 42273).
RSI Condition: When price falls below one of these levels and the RSI is below 30, the setup is considered active.
Buy Signal: A buy is triggered if, after setup:
Price rises back above the level,
The RSI rate of change (ROC) indicates exhaustion of the drop,
The current bar shows positive momentum.
2. Trade Management
Stop Loss & Take Profit: Configurable fixed or trailing stop loss and take profit levels are plotted and managed automatically.
Exit Signals: The script signals exit based on price action relative to these risk management levels.
3. Filters & Enhancements
Parabolic Move Filter: Prevents entries during extreme price moves.
Dead Cat Bounce Filter: Avoids false signals after sharp reversals.
Volume Filter: Optionally requires volume conditions for trade entries (especially for shorts).
Multiple Confirmation Layers : Includes checks for 5-minute RSI, momentum, and price retracement.
User Inputs & Customization
Trade Direction: Toggle between LONG and SHORT signal generation.
Trigger Settings: Adjust thresholds for price moves, lookback windows, RSI ROC, and volume requirements.
Trade Settings: Set take profit, stop loss, and trailing stop behavior.
Debug & Visualization: Enable or disable various plots, labels, and debug tables for in-depth analysis.
Backtesting: Integrated backtester with summary and detailed statistics tables.
Technical Features
Uses External Libraries: Relies on RifleShooterLib for core logic and BackTestLib for backtesting and statistics.
Multi-timeframe Analysis: Incorporates both 30-second and 5-minute RSI calculations.
Chart Annotations: Plots entry/exit points, risk levels, and debug information directly on the chart.
Alert Conditions: Built-in alert triggers for key events (initial move, stall, entry).
Intended Use
Markets: Dow Jones symbols (YM, MYM, US30, or US30 CFD).
Timeframe: 30-second chart.
Purpose: Automated signal generation for discretionary or algorithmic trading, with robust risk management and backtesting support.
Notable Customization & Extension Points
Momentum Calculation: Plans to replace the current momentum measure with "sqz momentum".
Displacement Logic: Future update to use "FVG concept" for displacement.
High-Contrast RSI: Optional visual enhancements for RSI extremes.
Time-based Stop: Consideration for adding a time-based stop mechanism.
This script is highly modular, with extensive user controls, and is suitable for both live trading and historical analysis of Dow Jones index movements
Institutional Momentum Scanner [IMS]Institutional Momentum Scanner - Professional Momentum Detection System
Hunt explosive price movements like the professionals. IMS identifies maximum momentum displacement within 10-bar windows, revealing where institutional money commits to directional moves.
KEY FEATURES:
▪ Scans for strongest momentum in rolling 10-bar windows (institutional accumulation period)
▪ Adaptive filtering reduces false signals using efficiency ratio technology
▪ Three clear states: LONG (green), SHORT (red), WAIT (gray)
▪ Dynamic volatility-adjusted thresholds (8% ATR-scaled)
▪ Visual momentum flow with glow effects for signal strength
BASED ON:
- Pocket Pivot concept (O'Neil/Morales) applied to price momentum
- Adaptive Moving Average principles (Kaufman KAMA)
- Market Wizards momentum philosophy
- Institutional order flow patterns (5-day verification window)
HOW IT WORKS:
The scanner finds the maximum price displacement in each 10-bar window - where the market showed its hand. An adaptive filter (5-bar regression) separates real moves from noise. When momentum exceeds the volatility-adjusted threshold, states change.
IDEAL FOR:
- Momentum traders seeking explosive moves
- Swing traders (especially 4H timeframe)
- Position traders wanting institutional footprints
- Anyone tired of false breakout signals
Default parameters (10,5) optimized for 4H charts but adaptable to any timeframe. Remember: The market rewards patience and punishes heroes. Wait for clear signals.
"The market is honest. Are you?"
ANDROMEDA - Directional Strength Matrix [Multi-Asset]ANDROMEDA - Directional Strength Matrix
Pedro Canto – Portfolio Manager | CGA/CGE
OVERVIEW
The Directional Strength Matrix is a multi-symbol indicator designed to track and compare the directional momentum of up to five financial instruments simultaneously.
It builds upon the logic of the classic Currency Strength Slope, but expands its utility beyond currencies—making it applicable to indices, commodities, stocks, and crypto assets. The core of the system relies on a normalized slope algorithm, using a TMA-compensated moving average and ATR-based scaling to deliver accurate, real-time momentum readings.
This tool is ideal for traders seeking a quantitative view of strength and weakness across multiple assets, enabling fast relative analysis and improved decision-making in both trend-following and mean-reversion strategies.
---
WALKTHROUGH
Each asset’s directional strength is calculated using the slope of a weighted moving average (WMA), adjusted for volatility using the Average True Range (ATR). To reduce lag while maintaining stability, a TMA-compensated formula is applied — replicating behavior seen in the classic MQL4 CSS Indicator.
The normalized slope values are plotted as independent lines in a dedicated window, making it easy to spot which assets are strengthening or weakening at any given moment.
Key logic flow:
i) Calculate a TMA-style WMA for each instrument
ii) Estimate directional slope via differential between current and previous weighted averages
iii) Normalize by ATR to make values comparable across different assets and price ranges
iv) Plot all slope values on a shared matrix
Traders can compare multiple symbols side by side and visually identify the relative direction, strength, and acceleration of each asset.
---
USE CASES
- Comparing strength across indices like US30, US500, NASDAQ, Oil and Crypto
- Detecting early momentum shifts between competing assets
- Timing entries based on momentum divergence or alignment
- Filtering out weaker assets in trend strategies
- Creating custom strength overlays in multi-asset dashboards
---
KEY FEATURES
1. Multi-Asset Capability
Analyze up to 5 assets in real time, including the chart’s native symbol plus 4 customizable inputs.
2. TMA-Compensated Slope Algorithm
Provides low-lag slope estimation with high reactivity and accuracy.
3. ATR-Based Normalization
Ensures comparability across assets with different price scales and volatility levels.
4. Customizable Color Scheme
Assign distinct colors to each asset line for clean visual separation.
5. Real-Time Responsiveness
Supports shift adjustments to align with candle timing (real-time or closed-bar mode).
6. Compatible with All Asset Classes
Works with forex, indices, commodities, stocks, and crypto (a major improvement from the original Currency Strength Slope Indicator).
---
INPUTS AND CUSTOMIZATION
- Moving Average Period: Adjustable WMA length
- ATR Period: Volatility scaling parameter
- Shift: Choose between real-time view (-1) or closed-candle confirmation (0)
- Asset Inputs: Symbol selection for Asset 2 to 5
- Colors: Fully customizable for each line
---
DISCLAIMER
This indicator is a tool for technical analysis and educational purposes only. It is not intended as financial advice or a trading signal provider. Always apply proper risk management and consider fundamental and macroeconomic context before making investment decisions.
Past performance does not guarantee future results.