Parabolic Stoch SAR VisualizerParabolic Stoch SAR Visualizer — Momentum-Driven Trend Precision Tool
Overview:
Parabolic Stoch SAR Visualizer is a thoughtfully engineered hybrid indicator that blends momentum oscillation and trend-following mechanics into one robust system. By applying a custom Parabolic SAR calculation directly on a double-smoothed stochastic oscillator (rather than on price), it generates cleaner signals with enhanced trend detection and fewer false positives than typical Parabolic RSI or standard SAR variants.
Unique Functionality:
Momentum smoothing : The base stochastic %K undergoes double smoothing via consecutive simple moving averages, significantly cutting down random noise and erratic swings common in raw stochastic readings. This stabilizes momentum tracking, isolating true price strength and weakness.
Custom Parabolic SAR on smoothed momentum : Traditional SAR algorithms operate on price data, acting as trailing stops. This indicator repurposes SAR to work on smoothed stochastic values, effectively converting it into a momentum-driven directional filter. This yields a more adaptive and responsive trend signal focused on genuine momentum shifts instead of price noise.
Bounded SAR range and adjustable acceleration : SAR values are mathematically restricted between 0 and 100, aligning with the stochastic scale to prevent distortions. Traders can customize acceleration parameters (start, increment, max) to fine-tune trend sensitivity relative to market volatility or specific strategies.
Signal clarity through filterin g: Minimum bar spacing and minimum SAR movement thresholds between plotted dots reduce chart clutter, highlighting only meaningful trend changes and filtering out insignificant fluctuations.
Enhanced visuals : The oscillator line smoothly transitions its color gradient between defined uptrend and downtrend hues, intuitively signaling momentum strength. Parabolic SAR dots are offset from the oscillator line with multi-layered glow effects, making trend flips easy to spot at a glance.
Trading Application:
Trend identification : Momentum-based SAR dots offer precise marking of trend shifts, helping traders avoid false breakouts and premature trades.
Entry and exit timing : Combining the double-smoothed stochastic oscillator and SAR dots creates a reliable framework to confirm momentum shifts and optimal trade entries or exits.
Customizable for volatility regimes : Adjustable acceleration and filtering parameters allow scalpers to increase signal sensitivity, while swing traders can dial back noise for smoother trend recognition.
Visual clarity for fast decisions : Gradient color coding and glowing SAR dots facilitate immediate momentum assessment without complex analysis, empowering quicker, more confident trade actions.
Advantages over Parabolic RSI and similar indicators:
Parabolic RSI’s direct application of SAR on RSI often results in noisy, choppy signals prone to whipsaws. This indicator’s double-smoothed stochastic foundation delivers a cleaner, steadier signal.
Applying SAR to smoothed momentum rather than price transforms it into a directional filter that better captures true market strength with reduced lag.
Adaptive plotting thresholds and enhanced visuals minimize clutter and ambiguity, improving trader focus and execution speed.
M-oscillator
Relative Volatility Mass [SciQua]The ⚖️ Relative Volatility Mass (RVM) is a volatility-based tool inspired by the Relative Volatility Index (RVI) .
While the RVI measures the ratio of upward to downward volatility over a period, RVM takes a different approach:
It sums the standard deviation of price changes over a rolling window, separating upward volatility from downward volatility .
The result is a measure of the total “volatility mass” over a user-defined period, rather than an average or normalized ratio.
This makes RVM particularly useful for identifying sustained high-volatility conditions without being diluted by averaging.
────────────────────────────────────────────────────────────
╭────────────╮
How It Works
╰────────────╯
1. Standard Deviation Calculation
• Computes the standard deviation of the chosen `Source` over a `Standard Deviation Length` (`stdDevLen`).
2. Directional Separation
• Volatility on up bars (`chg > 0`) is treated as upward volatility .
• Volatility on down bars (`chg < 0`) is treated as downward volatility .
3. Rolling Sum
• Over a `Sum Length` (`sumLen`), the upward and downward volatilities are summed separately using `math.sum()`.
4. Relative Volatility Mass
• The two sums are added together to get the total volatility mass for the rolling window.
Formula:
RVM = Σ(σ up) + Σ(σ down)
where σ is the standard deviation over `stdDevLen`.
╭────────────╮
Key Features
╰────────────╯
Directional Volatility Tracking – Differentiates between volatility during price advances vs. declines.
Rolling Volatility Mass – Shows the total standard deviation accumulation over a given period.
Optional Smoothing – Multiple MA types, including SMA, EMA, SMMA (RMA), WMA, VWMA.
Bollinger Band Overlay – Available when SMA is selected, with adjustable standard deviation multiplier.
Configurable Source – Apply RVM to `close`, `open`, `hl2`, or any custom source.
╭─────╮
Usage
╰─────╯
Trend Confirmation: High RVM values can confirm strong trending conditions.
Breakout Detection: Spikes in RVM often precede or accompany price breakouts.
Volatility Cycle Analysis: Compare periods of contraction and expansion.
RVM is not bounded like the RVI, so absolute values depend on market volatility and chosen parameters.
Consider normalizing or using smoothing for easier visual comparison.
╭────────────────╮
Example Settings
╰────────────────╯
Short-term volatility detection: `stdDevLen = 5`, `sumLen = 10`
Medium-term trend volatility: `stdDevLen = 14`, `sumLen = 20`
Enable `SMA + Bollinger Bands` to visualize when volatility is unusually high or low relative to recent history.
╭───────────────────╮
Notes & Limitations
╰───────────────────╯
Not a directional signal by itself — use alongside price structure, volume, or other indicators.
Higher `sumLen` will smooth short-term fluctuations but reduce responsiveness.
Because it sums, not averages, values will scale with both volatility and chosen window size.
╭───────╮
Credits
╰───────╯
Based on the Relative Volatility Index concept by Donald Dorsey (1993).
TradingView
SciQua - Joshua Danford
SMT Oscillator: Smarter Money Divergence Detector [PhenLabs]📊Phenlabs - SMT Oscillator: Smarter Money Divergence Detector
Version: PineScript™v6
📌Description
The SMT Oscillator is a sophisticated tool designed to identify smart money divergence between two correlated assets. By analyzing the momentum and volume-weighted price action of a primary and secondary symbol, traders can spot subtle shifts in market dynamics that often precede significant price movements. This indicator is built to provide a clearer, more filtered view of inter-market relationships, solving the common problem of false signals and market noise. Its primary purpose is to equip traders with a quantifiable edge in detecting potential reversals or continuations that are not obvious on a standard price chart.
🚀Points of Innovation
Dual-Symbol Divergence Core: Directly compares momentum (RSI or MACD) between two user-selected symbols to pinpoint true SMT divergence.
Volume-Weighted Analysis: Integrates volume delta into the divergence calculation, giving more weight to moves backed by significant market participation.
Entropy Filter for Noise Reduction: Employs an entropy calculation to filter out low-quality signals during choppy or consolidating market conditions.
Predictive Forecast Line: Utilizes a linear regression model to project the oscillator’s future trajectory, offering a forward-looking glimpse of potential momentum shifts.
Customizable Signal Sensitivity: Allows fine-tuning of overbought and oversold levels to adapt to different market volatilities and trading styles.
Integrated Signal Alerts: Provides built-in alerts for bullish/bearish zero crosses and overbought/oversold conditions.
🔧Core Components
Momentum Engine: The user can select either RSI or MACD as the underlying engine for the divergence calculation, allowing for flexibility in analysis.
Normalization Function: Price data from both symbols is normalized using percentage change to ensure a true “apples-to-apples” comparison, regardless of their nominal price differences.
Divergence Calculator: The core algorithm that subtracts the secondary symbol’s momentum from the primary’s and normalizes the result using the combined standard deviation.
Smoothing Mechanism: An Exponential Moving Average (EMA) is applied to the raw oscillator output to reduce choppiness and provide a clearer signal line.
🔥Key Features
Multi-Asset Comparison: Go beyond single-asset analysis by comparing correlated pairs like ES/NQ or BTC/ETH to uncover hidden trading opportunities.
Heatmap Visualization: An optional heatmap mode provides an intuitive visual representation of divergence strength, making it easier to gauge market sentiment at a glance.
Configurable Lookback and Timeframe: Adjust the lookback period and analysis timeframe to suit your specific strategy, from short-term scalping to long-term trend analysis.
Signal Markers: Visual markers are plotted directly on the chart for bullish and bearish zero-line crossovers, providing clear entry and exit signals.
🎨Visualization
SMT Oscillator Line: The primary visual element, colored blue for bullish (positive) divergence and orange for bearish (negative) divergence.
Zero Line: A solid horizontal line at the zero level, indicating the equilibrium point between the two assets. Crossovers of this line signal a shift in relative strength.
Overbought/Oversold Zones: Dotted lines at the +80 and -80 levels (customizable) that highlight extreme divergence readings, often indicating potential exhaustion points.
Forecast Line: A predictive line that plots the anticipated path of the oscillator, giving traders an advanced warning of potential changes in momentum.
📖Usage Guidelines
Setting Categories
Primary Symbol
Default: (Chart Symbol)
Description: The main asset you are analyzing. Leave blank to use the symbol currently on your chart.
Secondary Symbol
Default: CME_MINI:ES1! (used with NASDAQ futures due to inherent heavy correlation
Description: The asset to compare against the primary symbol.
Lookback Period
Default: 14
Range: 8-100
Description: Controls the calculation window for momentum (RSI/MACD). Higher values result in a smoother, less sensitive oscillator.
Divergence Type
Default: RSI
Options: RSI, MACD
Description: Choose the momentum indicator to use for the divergence calculation.
Enable Volume Weighting
Default: true
Description: When enabled, gives more weight to divergence signals that are accompanied by significant volume.
✅Best Use Cases
Identifying high-probability reversal points by spotting divergence in overbought or oversold territory.
Confirming the strength of a trend by observing sustained positive or negative divergence.
Pairs trading by taking a long position on the outperforming asset and a short position on the underperforming one during a divergence.
Risk management by recognizing when a current trend is losing its underlying momentum.
⚠️Limitations
Requires Correlated Assets: The indicator’s effectiveness is highly dependent on the selection of two assets with a known correlation (e.g., ES and NQ).
Not a Standalone System: Divergence signals should be used in conjunction with other forms of analysis (price action, market structure) and not as a complete trading system.
Lagging by Nature: As it is based on moving averages and past price data, the oscillator is inherently lagging and may not capture all rapid price changes.
💡What Makes This Unique
Combined Momentum & Volume: Unlike standard oscillators, it fuses momentum with volume delta for a more robust “Smart Money” perspective.
Noise-Filtering Mechanism: The proprietary entropy filter is a unique feature designed to weed out insignificant market chatter and focus on high-conviction signals.
🔬How It Works
Data Normalization:
The script first normalizes the price data of the two selected symbols into percentage changes. This ensures that the comparison is fair, regardless of the difference in their price scales.
Momentum Calculation:
It then calculates the chosen momentum value (either RSI or MACD histogram) for each of the normalized price series.
Divergence Computation:
The core of the indicator lies in subtracting the momentum of the secondary symbol from the primary one. This raw divergence is then optionally weighted by volume and filtered for market noise (entropy) to produce the final oscillator value.
💡Note:
For best results, use this indicator on adequate timeframes to filter out market noise. Always confirm signals with price action analysis before entering a trade.
EMA Deviation with Min/Max Levelshis indicator visualizes the percentage deviation of the closing price from its Exponential Moving Average (EMA), helping traders identify overbought and oversold conditions. It dynamically tracks the minimum and maximum deviation levels over a user-defined lookback period, highlighting extreme zones with color-coded signals:
• 🔵 Normal deviation range
• 🔴 Near historical maximum — potential sell zone
• 🟢 Near historical minimum — potential buy zone
Use it to spot price extremes relative to trend and anticipate possible reversals or mean reversion setups.
✨Smart Option MACD: Bullish, Bearish, Neutral Logic by AKM ✨The **Smart Option MACD: Bullish, Bearish, Neutral Logic by AKM** is an advanced indicator designed for TradingView, tailored for option traders on indices like NIFTY. It automates options trend scanning by applying MACD analysis to both Call (CE) and Put (PE) options near the ATM (At-The-Money) strike, providing actionable market states—Bullish, Bearish, or Neutral—using distinct logic for both strikes and overall market context.
***
### Core Features
- **Option Selection Logic:** The script dynamically calculates ATM, CE, and PE strike prices based on the underlying index spot price and customizable user inputs for expiry, strike distance, and OTM/ITM shift.
- **MACD on Option Prices:** For both CE and PE symbols, the indicator computes the MACD (Moving Average Convergence Divergence) and Signal lines. It uses standard MACD settings: 12-period EMA (fast), 26-period EMA (slow), and 9-period Signal.
- **Strike Status Classification:**
- AZL 🔼: Indicates MACD > 0 for that option, signifying positive momentum.
- BZL 🔽: Indicates MACD 0 & crossover up), PE is bearish (MACD<0 & crossover down).
- **Bearish:** PE is bullish & crossover up, CE is bearish & crossover down.
- **Neutral:** All other scenarios—including mixed or undefined signals.
***
### Table Output
A real-time table is displayed on the chart (top-right) with key option and market details:
- Spot price
- ATM Strike
- CE/PE strike status (momentum + crossover logic)
- Option prices
- Overall market state, color-coded for clarity
***
### How to Use This Indicator
- **Entry Signal:** Use the Bullish/Bearish status for directional trades or option strategies. Bullish calls for buying or selling upward momentum options; Bearish favors downside trades. Neutral advises caution or range-bound trades.
- **Customizability:** Expiry, strike width, OTM/ITM offset, and chart resolution are user-controlled, allowing adaptation to different market contexts.
- **Best Practice:** Use alongside price action, support/resistance zones and other indicators to confirm options momentum, as MACD is powerful yet not infallible.
***
### Who Is It For?
- **Option traders** who want to automate trend/momentum detection for CE/PE strikes instead of manual chart switching.
- **Index traders** (NIFTY, BANKNIFTY...) seeking systematic edge in intraday/positional strategies tied to option momentum.
- **Technical analysts** interested in visual, rule-based signals combining options data and classic MACD logic.
***
The Smart Option MACD indicator streamlines multi-strike, multi-option momentum analysis and presents clear actionable logic directly on your chart for enhanced decision-making. Use it as a core part of your TradingView toolkit for options-focused market views.
Buy/Sell Alert Strong Signals [TCMaster]This indicator combines Smoothed Moving Averages (SMMA), Stochastic Oscillator, and popular candlestick patterns (Engulfing, 3 Line Strike) to highlight potential trend reversal zones.
Main features:
4 SMMA lines (21, 50, 100, 200) for short-, medium-, and long-term trend analysis.
Trend Fill: Background shading when EMA(2) and SMMA(200) are aligned, visually confirming trend direction.
Stochastic Filter: Filters signals based on overbought/oversold conditions to help reduce noise.
Candlestick pattern recognition:
Bullish/Bearish Engulfing
Bullish/Bearish 3 Line Strike
Alerts for each pattern when Stochastic conditions are met.
⚠️ Note: This is a technical analysis tool. It does not guarantee accuracy and is not financial advice. Always combine with other analysis methods and practice proper risk management.
🛠 How to Use:
1. SMMA Settings
21 SMMA & 50 SMMA: Short- and medium-term trend tracking.
100 SMMA: Optional mid/long-term filter (toggle on/off).
200 SMMA: Major trend direction reference.
2. Trend Fill
EMA(2) > SMMA(200): Background shaded green (uptrend bias).
EMA(2) < SMMA(200): Background shaded red (downtrend bias).
Can be enabled/disabled in settings.
3. Stochastic Filter
K Length, D Smoothing, Smooth K: Adjust sensitivity.
Overbought & Oversold: Default 80 / 20 thresholds.
Buy signals only valid if Stochastic is oversold.
Sell signals only valid if Stochastic is overbought.
4. Candlestick Patterns
3 Line Strike:
Bullish: Three consecutive bullish candles followed by one bearish candle closing below the previous, with potential reversal.
Bearish: Three consecutive bearish candles followed by one bullish candle closing above the previous, with potential reversal.
Engulfing:
Bullish: Green candle fully engulfs the prior red candle body.
Bearish: Red candle fully engulfs the prior green candle body.
5. Alerts
Alerts available for each pattern when Stochastic conditions are met.
Example: "Bullish Engulfing + Stochastic confirm".
📌 Important Notes
Do not use this indicator as the sole basis for trading decisions.
Test on a demo account before applying to live trades.
Combine with multi-timeframe analysis, volume, and proper position sizing.
RSI (14) with Auto Zone Colors — Overbought/Oversold HighlighterThis indicator plots the Relative Strength Index (RSI 14) with dynamic color changes for instant visual clarity:
✅ Green line in overbought zone (≥70)
✅ Red line in oversold zone (≤30)
✅ White line in neutral range (30–70)
Includes reference lines at 70, 50, and 30 for quick decision-making. Perfect for spotting momentum extremes, divergences, and potential reversal points without squinting at numbers. Works on any timeframe.
Global Bond Yields Monitor [MarktQuant]Global Bond Yields Monitor
The Global Bond Yields Monitor is designed to help users track and compare government bond yields across major economies. It provides an at-a-glance view of short- and long-term interest rates for multiple countries, enabling users to observe shifts in global fixed-income markets.
Key Features:
Multi-Country Coverage: Includes major advanced and emerging economies such as the United States, China, Japan, Germany, United Kingdom, Canada, Australia, and more.
Multiple Maturities: Displays yields for the 2-year, 5-year, 10-year, and 30-year maturities (20-year for Russia).
Dynamic Yield Data: Plots real-time yields for the selected country directly from TradingView’s data sources.
Weekly Change Tracking: Calculates and displays the yield change from one week ago ( ) for each maturity.
Table Visualization: Option to display a compact data table showing current yields and weekly changes, color-coded for easier interpretation.
Visual Yield Curve Comparison: Plots yield lines for short- and long-term maturities, with shaded areas between curves for visual clarity.
Customizable Display: Choose table placement and whether to show or hide the weekly change table.
Use Cases
This script is intended for analysts, traders, and investors who want to monitor shifts in sovereign bond markets. Changes in yields can reflect adjustments in monetary policy expectations, inflation outlook, or broader macroeconomic trends.
❗Important Note❗
This indicator is for market monitoring and educational purposes only. It does not generate trading signals, and it should not be interpreted as financial advice. All data is sourced from TradingView’s available market feeds, and accuracy may depend on the source data.
RSI/Stoch RSI ComboIt shows both rsi and stoch rsi as one indicator. You need to select which one using checkbox.
Smart Money Proxy IndexOverview
The Smart Money Proxy Index (SMPI) is an educational tool that attempts to identify potential institutional-style behavior patterns using publicly available market data. This comprehensive tool combines multiple institutional analysis techniques into a single, easy-to-read 0-100 oscillator.
Important Disclaimer
This is an educational proxy indicator that analyzes volume and price patterns. It cannot identify actual institutional trading activity and should not be interpreted as tracking real "smart money." Use for educational purposes and combine with other analysis methods.
Inspiration & Methodology
This indicator is inspired by MAPsignals' Big Money Index (BMI) methodology but uses publicly available price and volume data with original calculations. This is an independent educational interpretation designed to teach smart money concepts to retail traders.
What It Analyzes
SMPI tracks potential "smart money" activity by combining:
Block Trading Detection - Identifies unusual volume surges with significant price impact
Money Flow Analysis - Volume-weighted price pressure using Money Flow Index
Accumulation/Distribution Patterns - Modified On-Balance Volume signals
Institutional Control Proxy - End-of-day positioning and control analysis
Key Features
– Multi-Component Analysis - Combines 4 different institutional detection methods
– BMI-Style 0-100 Scale - Familiar oscillator range with clear extreme levels
– Professional Visualization - Dynamic colors, gradient fills, and clean data table
– Comprehensive Alerts - Buy/sell signals plus divergence detection
– Fully Customizable - Adjust all parameters, colors, and display options
– Non-Repainting Signals - All alerts use confirmed data for reliability
– Educational Focus - Designed to teach institutional flow concepts
How to Interpret
Above 80: Potential smart money distribution phase (bearish pressure)
Below 20: Potential smart money accumulation phase (bullish opportunity)
Signal Generation: Buy signals when crossing above 20, sell signals when crossing below 80
Divergences: Price vs SMPI divergences can signal potential trend changes
Volume Confirmation: Higher volume ratios strengthen signal reliability
Best Practices
Timeframes: Works best on higher timeframes for institutional behavior analysis
Confirmation: Combine with other technical analysis tools and market context
Volume: Pay attention to volume confirmation in the data table
Context: Consider overall market conditions and fundamental factors
Risk Management: Not recommended as standalone trading system
Customizable Parameters
Block Volume Threshold: Sensitivity for unusual volume detection (default: 2.5x average)
SMPI Smoothing Period: Index calculation smoothing (default: 25 bars)
Extreme Levels: Overbought/oversold thresholds (default: 80/20)
Money Flow Length: MFI calculation period (default: 14)
Visual Options: Colors, signals, and display preferences
Available Alerts
Buy Signal: SMPI crosses above oversold level (20)
Sell Signal: SMPI crosses below overbought level (80)
Extreme Levels: Alerts when reaching overbought/oversold zones
Divergence Detection: Bullish and bearish price vs SMPI divergences
Educational Purpose & Limitations
This indicator is designed as an educational proxy for understanding institutional flow concepts. It analyzes publicly available price and volume data to identify potential smart money behavior patterns.
Cannot access actual institutional transaction data
Signals may be slower than day-trading indicators (intentionally designed for institutional timeframes)
Should be used in conjunction with other analysis methods
Past performance does not guarantee future results
What Makes This Different
Unlike simple volume or momentum indicators, SMPI combines multiple institutional analysis techniques into one comprehensive tool. The multi-component approach provides a more robust view of potential smart money activity.
MACD-V (Volatility-Normalised Momentum) — Spiroglou, 2022Volatility-normalized MACD per Alex Spiroglou (2022):
MACD-V = (EMA12 − EMA26) / ATR26 × 100, so momentum is expressed in ATR units and stays comparable across assets/timeframes.
What you get
• Trend-colored line: green when price ≥ EMA200, red otherwise.
• Guides: ±50 / ±100 / 0; Extremes: ±140 (editable).
• Regime shading: OB ≥ +140 shaded red; OS ≤ −140 shaded green.
• Clean, on-curve markers: small circles on the MACD-V line at the four edge events — OB (enter ≥ +threshold), OBX (cross back down), OS (enter ≤ −threshold), OSX (cross back up).
• Text labels are off by default; optional toggle only for OB/OBX.
• Signal & histogram: EMA(9) of MACD-V and (MACD-V − Signal) columns.
• Alerts: OB/OS entries & exits included.
How to use
• Favor longs when MACD-V > 0 (ideally > +50); respect OB for possible exhaustion.
• Favor shorts when MACD-V < 0 (ideally < −50); respect OS for possible exhaustion.
• Because it’s ATR-normalized, thresholds transfer well across symbols and timeframes.
Cycle Phase & ETA Tracker [Robust v4]
Cycle Phase & ETA Tracker
Description
The Cycle Phase & ETA Tracker is a powerful tool for analyzing market cycles and predicting the completion of the current cycle (Estimated Time of Arrival, or ETA). It visualizes the cycle phase (0–100%) using a smoothed signal and displays the forecasted completion date with an optional confidence band based on cycle length variability. Ideal for traders looking to time their trades based on cyclical patterns, this indicator offers flexible settings for robust cycle analysis.
Key Features
Cycle Phase Visualization: Tracks the current cycle phase (0–100%) with color-coded zones: green (0–33%), blue (33–66%), orange (66–100%).
ETA Forecast: Shows a vertical line and label indicating the estimated date of cycle completion.
Confidence Band (±σ): Displays a band around the ETA to reflect uncertainty, calculated using the standard deviation of cycle lengths.
Multiple Averaging Methods: Choose from three methods to calculate average cycle length:
Median (Robust): Uses the median for resilience against outliers.
Weighted Mean: Prioritizes recent cycles with linear or quadratic weights.
Simple Mean: Applies equal weights to all cycles.
Adaptive Cycle Length: Automatically adjusts cycle length based on the timeframe or allows a fixed length.
Debug Histogram: Optionally displays the smoothed signal for diagnostic purposes.
Setup and Usage
Add the Indicator:
Search for "Cycle Phase & ETA Tracker " in TradingView’s indicator library and apply it to your chart.
Configure Parameters:
Core Settings:
Track Last N Cycles: Sets the number of recent cycles used to calculate the average cycle length (default: 20). Higher values provide stability but may lag market shifts.
Source: Selects the data source for analysis (e.g., close, open, high; default: close price).
Use Adaptive Cycle Length?: Enables automatic cycle length adjustment based on timeframe (e.g., shorter for intraday, longer for daily) or uses a fixed length if disabled.
Fixed Cycle Length: Defines the cycle length in bars when adaptive mode is off (default: 14). Smaller values increase sensitivity to short-term cycles.
Show Debug Histogram: Enables a histogram of the smoothed signal for debugging signal behavior.
Cycle Length Estimation:
Average Mode: Selects the method for calculating average cycle length: "Median (Robust)", "Weighted Mean", or "Simple Mean".
Weights (for Weighted Mean): For "Weighted Mean", chooses "linear" (moderate emphasis on recent cycles) or "quadratic" (strong emphasis on recent cycles).
ETA Visualization:
Show ETA Line & Label: Toggles the display of the ETA line and date label.
Show ETA Confidence Band (±σ): Toggles the confidence band around the ETA, showing the uncertainty range.
Band Transparency: Adjusts the transparency of the confidence band (0 = fully transparent, 100 = fully opaque; default: 85).
ETA Color: Sets the color for the ETA line, label, and confidence band (default: orange).
Interpretation:
The cycle phase (0–100%) indicates progress: green for the start, blue for the middle, and orange for the end of the cycle.
The ETA line and label show the predicted cycle completion date.
The confidence band reflects the uncertainty range (±1 standard deviation) of the ETA.
If a warning "Insufficient cycles for ETA" appears, wait for the indicator to collect at least 3 cycles.
Limitations
Requires at least 3 cycles for reliable ETA and confidence band calculations.
On low timeframes or low-volatility markets, zero-crossings may be infrequent, delaying ETA updates.
Accuracy depends on proper cycle length settings (adaptive or fixed).
Notes
Test the indicator across different assets and timeframes to optimize settings.
Use the debug histogram to troubleshoot if the ETA appears inaccurate.
For feedback or suggestions, contact the author via TradingView.
Cycle Phase & ETA Tracker
Описание
Индикатор Cycle Phase & ETA Tracker предназначен для анализа рыночных циклов и прогнозирования времени завершения текущего цикла (ETA — Estimated Time of Arrival). Он отслеживает фазы цикла (0–100%) на основе сглаженного сигнала и отображает предполагаемую дату завершения цикла с опциональной доверительной полосой, основанной на стандартном отклонении длин циклов. Индикатор идеально подходит для трейдеров, которые хотят выявлять циклические закономерности и планировать свои действия на основе прогнозируемого времени.
Ключевые особенности
Фазы цикла: Визуализирует текущую фазу цикла (0–100%) с цветовой кодировкой: зеленый (0–33%), синий (33–66%), оранжевый (66–100%).
Прогноз ETA: Показывает вертикальную линию и метку с предполагаемой датой завершения цикла.
Доверительная полоса (±σ): Отображает зону неопределенности вокруг ETA, основанную на стандартном отклонении длин циклов.
Гибкие методы усреднения: Поддерживает три метода расчета средней длины цикла:
Median (Robust): Медиана, устойчивая к выбросам.
Weighted Mean: Взвешенное среднее, где недавние циклы имеют больший вес (линейный или квадратичный).
Simple Mean: Простое среднее с равными весами.
Адаптивная длина цикла: Автоматически подстраивает длину цикла под таймфрейм или позволяет задать фиксированную длину.
Отладочная гистограмма: Опционально отображает сглаженный сигнал для анализа.
Настройка и использование
Добавьте индикатор:
Найдите "Cycle Phase & ETA Tracker " в библиотеке индикаторов TradingView и добавьте его на график.
Настройте параметры:
Core Settings:
Track Last N Cycles: Количество последних циклов для расчета средней длины (по умолчанию 20). Большие значения дают более стабильные результаты, но могут запаздывать.
Source: Источник данных (по умолчанию цена закрытия).
Use Adaptive Cycle Length?: Включите для автоматической настройки длины цикла по таймфрейму или отключите для использования фиксированной длины.
Fixed Cycle Length: Длина цикла в барах, если адаптивная длина отключена (по умолчанию 14).
Show Debug Histogram: Включите для отображения сглаженного сигнала (полезно для отладки).
Cycle Length Estimation:
Average Mode: Выберите метод усреднения: "Median (Robust)", "Weighted Mean" или "Simple Mean".
Weights (for Weighted Mean): Для режима "Weighted Mean" выберите "linear" (умеренный вес для новых циклов) или "quadratic" (сильный вес для новых циклов).
ETA Visualization:
Show ETA Line & Label: Включите для отображения линии и метки ETA.
Show ETA Confidence Band (±σ): Включите для отображения доверительной полосы.
Band Transparency: Прозрачность полосы (0 — полностью прозрачная, 100 — полностью непрозрачная, по умолчанию 85).
ETA Color: Цвет для линии, метки и полосы (по умолчанию оранжевый).
Интерпретация:
Фаза цикла (0–100%) показывает прогресс текущего цикла: зеленый — начало, синий — середина, оранжевый — конец.
Линия и метка ETA указывают предполагаемую дату завершения цикла.
Доверительная полоса показывает диапазон неопределенности (±1 стандартное отклонение).
Если отображается предупреждение "Insufficient cycles for ETA", дождитесь, пока индикатор соберет минимум 3 цикла.
Ограничения
Требуется минимум 3 цикла для надежного расчета ETA и доверительной полосы.
На низких таймфреймах или рынках с низкой волатильностью пересечения нуля могут быть редкими, что замедляет обновление ETA.
Эффективность зависит от правильной настройки длины цикла (fixedL или адаптивной).
Примечания
Протестируйте индикатор на разных таймфреймах и активах, чтобы подобрать оптимальные параметры.
Используйте отладочную гистограмму для анализа сигнала, если ETA кажется неточным.
Для вопросов или предложений по улучшению свяжитесь через TradingView.
Energy Advanced Policy StrategyThis trading strategy emphasizes both technical trading as well as sentiment trading. Using news and government policy decisions, it can determine either positive or negative sentiment in the energy sector.
How the Strategy Works
This strategy has two main parts that work together to find good trades:
1. The "Policy & Sentiment Engine "
Policy Event Detection : The script spots potential big news or policy changes by looking for big, sudden price moves and huge trading volume. You can play with the Policy Event Volume Threshold and Policy Event Price Threshold (%) settings to make it more or less sensitive.
Sentiment Score : When the script finds a positive or negative event, it adds to a sentiment score. This score isn't forever, though; it fades over time, so the newest events matter the most.
Manual Override : The Manual News Sentiment setting lets you tell the script exactly what the market's mood is for a set time, which is perfect for when you already know about a big upcoming announcement.
The strategy only looks for a trade if the overall feeling is bullish enough. This makes sure you're trading with the big, fundamental forces of the market, not against them.
2. Technical Confirmation & Precision
After the policy and sentiment part gives a green light, the strategy uses a variety of technical indicators to confirm the trend and ideal entry positions.
Long-Term Trend : The script makes sure the market is in a strong uptrend by checking if the fast and medium-speed moving averages are going up, and if the price is above a long-term moving average.
Momentum : The MACD is used to make sure the price's upward momentum is getting stronger, not weaker.
Oscillator : It also uses the RSI to check if the market has gone up too much, too fast, which could mean it's about to turn around.
How to Use the Script
You can customize this strategy to fit your trading style and how much risk you're comfortable with. The inputs are grouped into logical sections for easy adjustment.
News & Policy Analysis : You can play with the Policy Event thresholds to make the script more or less sensitive to market shocks. And you can always use the Manual News Sentiment to take over when you're watching a specific news event.
Technical Analysis : Feel free to change the settings for things like the moving averages, RSI, and MACD to match what you like to trade and on what timeframe.
Mutanabby_AI | Ultimate Algo | Remastered+Overview
The Mutanabby_AI Ultimate Algo Remastered+ represents a sophisticated trend-following system that combines Supertrend analysis with multiple moving average confirmations. This comprehensive indicator is designed specifically for identifying high-probability trend continuation and reversal opportunities across various market conditions.
Core Algorithm Components
**Supertrend Foundation**: The primary signal generation relies on a customizable Supertrend indicator with adjustable sensitivity (1-20 range). This adaptive trend-following tool uses Average True Range calculations to establish dynamic support and resistance levels that respond to market volatility.
**SMA Confirmation Matrix**: Multiple Simple Moving Averages (SMA 4, 5, 9, 13) provide layered confirmation for signal strength. The algorithm distinguishes between regular signals and "Strong" signals based on SMA 4 vs SMA 5 relationship, offering traders different conviction levels for position sizing.
**Trend Ribbon Visualization**: SMA 21 and SMA 34 create a visual trend ribbon that changes color based on their relationship. Green ribbon indicates bullish momentum while red signals bearish conditions, providing immediate visual trend context.
**RSI-Based Candle Coloring**: Advanced 61-tier RSI system colors candles with gradient precision from deep red (RSI ≤20) through purple transitions to bright green (RSI ≥79). This visual enhancement helps traders instantly assess momentum strength and overbought/oversold conditions.
Signal Generation Logic
**Buy Signal Criteria**:
- Price crosses above Supertrend line
- Close price must be above SMA 9 (trend confirmation)
- Signal strength determined by SMA 4 vs SMA 5 relationship
- "Strong Buy" when SMA 4 ≥ SMA 5
- Regular "Buy" when SMA 4 < SMA 5
**Sell Signal Criteria**:
- Price crosses below Supertrend line
- Close price must be below SMA 9 (trend confirmation)
- Signal strength based on SMA relationship
- "Strong Sell" when SMA 4 ≤ SMA 5
- Regular "Sell" when SMA 4 > SMA 5
Advanced Risk Management System
**Automated TP/SL Calculation**: The indicator automatically calculates stop loss and take profit levels using ATR-based measurements. Risk percentage and ATR length are fully customizable, allowing traders to adapt to different market conditions and personal risk tolerance.
**Multiple Take Profit Targets**:
- 1:1 Risk-Reward ratio for conservative profit taking
- 2:1 Risk-Reward for balanced trade management
- 3:1 Risk-Reward for maximum profit potential
**Visual Risk Display**: All risk management levels appear as both labels and optional trend lines on the chart. Customizable line styles (solid, dashed, dotted) and positioning ensure clear visualization without chart clutter.
**Dynamic Level Updates**: Risk levels automatically recalculate with each new signal, maintaining current market relevance throughout position lifecycles.
Visual Enhancement Features
**Customizable Display Options**: Toggle trend ribbon, TP/SL levels, and risk lines independently. Decimal precision adjustments (1-8 decimal places) accommodate different instrument price formats and personal preferences.
**Professional Label System**: Clean, informative labels show entry points, stop losses, and take profit targets with precise price levels. Labels automatically position themselves for optimal chart readability.
**Color-Coded Momentum**: The gradient RSI candle coloring system provides instant visual feedback on momentum strength, helping traders assess market energy and potential reversal zones.
Implementation Strategy
**Timeframe Optimization**: The algorithm performs effectively across multiple timeframes, with higher timeframes (4H, Daily) providing more reliable signals for swing trading. Lower timeframes work well for day trading with appropriate risk adjustments.
**Sensitivity Adjustment**: Lower sensitivity values (1-5) generate fewer but higher-quality signals, ideal for conservative approaches. Higher sensitivity (15-20) increases signal frequency for active trading styles.
**Risk Management Integration**: Use the automated risk calculations as baseline parameters, adjusting risk percentage based on account size and market conditions. The 1:1, 2:1, 3:1 targets enable systematic profit-taking strategies.
Market Application
**Trend Following Excellence**: Primary strength lies in capturing significant trend movements through the Supertrend foundation with SMA confirmation. The dual-layer approach reduces false signals common in single-indicator systems.
**Momentum Assessment**: RSI-based candle coloring provides immediate momentum context, helping traders assess signal strength and potential continuation probability.
**Range Detection**: The trend ribbon helps identify ranging conditions when SMA 21 and SMA 34 converge, alerting traders to potential breakout opportunities.
Performance Optimization
**Signal Quality**: The requirement for both Supertrend crossover AND SMA 9 confirmation significantly improves signal reliability compared to basic trend-following approaches.
**Visual Clarity**: The comprehensive visual system enables rapid market assessment without complex calculations, ideal for traders managing multiple instruments.
**Adaptability**: Extensive customization options allow fine-tuning for specific markets, trading styles, and risk preferences while maintaining the core algorithm integrity.
## Non-Repainting Design
**Educational Note**: This indicator uses standard TradingView functions (Supertrend, SMA, RSI) with normal behavior patterns. Real-time updates on current candles are expected and standard across all technical indicators. Historical signals on closed candles remain fixed and unchanged, ensuring reliable backtesting and analysis.
**Signal Confirmation**: Final signals are confirmed only when candles close, following standard technical analysis principles. The algorithm provides clear distinction between developing signals and confirmed entries.
Technical Specifications
**Supertrend Parameters**: Default sensitivity of 4 with ATR length of 11 provides balanced signal generation. Sensitivity range from 1-20 allows adaptation to different market volatilities and trading preferences.
**Moving Average Configuration**: SMA periods of 8, 9, and 13 create multi-layered trend confirmation, while SMA 21 and 34 form the visual trend ribbon for broader market context.
**Risk Management**: ATR-based calculations with customizable risk percentage ensure dynamic adaptation to market volatility while maintaining consistent risk exposure principles.
Recommended Settings
**Conservative Approach**: Sensitivity 4-5, RSI length 14, higher timeframes (4H, Daily) for swing trading with maximum signal reliability.
**Active Trading**: Sensitivity 6-8, RSI length 8-10, intermediate timeframes (1H) for balanced signal frequency and quality.
**Scalping Setup**: Sensitivity 10-15, RSI length 5-8, lower timeframes (15-30min) with enhanced risk management protocols.
## Conclusion
The Mutanabby_AI Ultimate Algo Remastered+ combines proven trend-following principles with modern visual enhancements and comprehensive risk management. The algorithm's strength lies in its multi-layered confirmation approach and automated risk calculations, providing both novice and experienced traders with clear signals and systematic trade management.
Success with this system requires understanding the relationship between signal strength indicators and adapting sensitivity settings to match current market conditions. The comprehensive visual feedback system enables rapid decision-making while the automated risk management ensures consistent trade parameters.
Practice with different sensitivity settings and timeframes to optimize performance for your specific trading style and risk tolerance. The algorithm's systematic approach provides an excellent framework for disciplined trend-following strategies across various market environments.
Mutanabby_AI __ OSC+ST+SQZMOMMutanabby_AI OSC+ST+SQZMOM: Multi-Component Trading Analysis Tool
Overview
The Mutanabby_AI OSC+ST+SQZMOM indicator combines three proven technical analysis components into a unified trading system, providing comprehensive market analysis through integrated oscillator signals, trend identification, and volatility assessment.
Core Components
Wave Trend Oscillator (OSC): Identifies overbought and oversold market conditions using exponential moving average calculations. Key threshold levels include overbought zones at 60 and 53, with oversold areas marked at -60 and -53. Crossover signals between the two oscillator lines generate entry opportunities, displayed as colored circles on the chart for easy identification.
Supertrend Indicator (ST): Determines overall market direction using Average True Range calculations with a 2.5 factor and 10-period ATR configuration. Green lines indicate confirmed uptrends while red lines signal downtrend conditions. The indicator automatically adapts to market volatility changes, providing reliable trend identification across different market environments.
Squeeze Momentum (SQZMOM): Compares Bollinger Bands with Keltner Channels to identify consolidation periods and potential breakout scenarios. Black squares indicate squeeze conditions representing low volatility periods, green triangles signal confirmed upward breakouts, and red triangles mark downward breakout confirmations.
Signal Generation Logic
Long Entry Conditions:
Green triangles from Squeeze Momentum component
Supertrend line transitioning to green
Bullish crossovers in Wave Trend Oscillator from oversold territory
Short Entry Conditions:
Red triangles from Squeeze Momentum component
Supertrend line transitioning to red
Bearish crossovers in Wave Trend Oscillator from overbought territory
Automated Risk Management
The indicator incorporates comprehensive risk management through ATR-based calculations. Stop losses are automatically positioned at 3x ATR distance from entry points, while three progressive take profit targets are established at 1x, 2x, and 3x ATR multiples respectively. All risk management levels are clearly displayed on the chart using colored lines and informative labels.
When trend direction changes, the system automatically clears previous risk levels and generates new calculations, ensuring all risk parameters remain current and relevant to existing market conditions.
Alert and Notification System
Comprehensive alert framework includes trend change notifications with complete trade setup details, squeeze release alerts for breakout opportunity identification, and trend weakness warnings for active position management. Alert messages contain specific trading pair information, timeframe specifications, and all relevant entry and exit level data.
Implementation Guidelines
Timeframe Selection: Higher timeframes including 4-hour and daily charts provide the most reliable signals for position trading strategies. One-hour charts demonstrate good performance for day trading applications, while 15-30 minute timeframes enable scalping approaches with enhanced risk management requirements.
Risk Management Integration: Limit individual trade risk to 1-2% of total capital using the automatically calculated stop loss levels for precise position sizing. Implement systematic profit-taking at each target level while adjusting stop loss positions to protect accumulated gains.
Market Volatility Adaptation: The indicator's ATR-based calculations automatically adjust to changing market volatility conditions. During high volatility periods, risk management levels appropriately widen, while low volatility conditions result in tighter risk parameters.
Optimization Techniques
Combine indicator signals with fundamental support and resistance level analysis for enhanced signal validation. Monitor volume patterns to confirm breakout strength, particularly when Squeeze Momentum signals develop. Maintain awareness of scheduled economic events that may influence market behavior independent of technical indicator signals.
The multi-component design provides internal signal confirmation through multiple alignment requirements, significantly reducing false signal occurrence while maintaining reasonable trade frequency for active trading strategies.
Technical Specifications
The Wave Trend Oscillator utilizes customizable channel length (default 10) and average length (default 21) parameters for optimal market sensitivity. Supertrend calculations employ ATR period of 10 with factor multiplier of 2.5 for balanced signal quality. Squeeze Momentum analysis uses Bollinger Band length of 20 periods with 2.0 multiplication factor, combined with Keltner Channel length of 20 periods and 1.5 multiplication factor.
Conclusion
The Mutanabby_AI OSC+ST+SQZMOM indicator provides a systematic approach to technical market analysis through the integration of proven oscillator, trend, and momentum components. Success requires thorough understanding of each element's functionality and disciplined implementation of proper risk management principles.
Practice with demo trading accounts before live implementation to develop familiarity with signal interpretation and trade management procedures. The indicator's systematic approach effectively reduces emotional decision-making while providing clear, objective guidelines for trade entry, management, and exit strategies across various market conditions.
Information Theory Market AnalysisINFORMATION THEORY MARKET ANALYSIS
OVERVIEW
This indicator applies mathematical concepts from information theory to analyze market behavior, measuring the randomness and predictability of price and volume movements through entropy calculations. Unlike traditional technical indicators, it provides insight into market structure and regime changes.
KEY COMPONENTS
Four Main Signals:
• Price Entropy (Deep Blue): Measures randomness in price movements
• Volume Entropy (Bright Blue): Analyzes volume pattern predictability
• Entropy MACD (Purple): Shows relationship between price and volume entropy
• SEMM (Royal Blue): Stochastic Entropy Market Monitor - overall market randomness gauge
Market State Detection:
The indicator identifies seven distinct market states:
• Strong Trending (SEMM < 0.1)
• Weak Trending (0.1-0.2)
• Neutral (0.2-0.3)
• Moderate Random (0.3-0.5)
• High Randomness (0.5-0.8)
• Very Random (0.8-1.0)
• Chaotic (>1.0)
KEY FEATURES
Advanced Analytics:
• Signal Strength Confluence: 0-5 scale measuring alignment of multiple factors
• Entropy Crossovers: Detects shifts between accumulation and distribution phases
• Extreme Readings: Identifies statistical outliers for potential reversals
• Trend Bias Analysis: Directional momentum assessment
Information Dashboard:
• Real-time entropy values and market state
• Signal strength indicator with visual highlighting
• Trend bias with directional arrows
• Color-coded alerts for extreme conditions
Customizable Display:
• Adjustable SEMM scaling (5x to 100x) for optimal visibility
• Multiple line styles: Smooth, Stepped, Dotted
• 9 table positions with 3 size options
• Professional blue color scheme with transparency controls
Comprehensive Alert System - 15 Alert Types Including:
• Extreme entropy readings (price/volume)
• Crossover signals (dominance shifts)
• Market state changes (trending ↔ random)
• High confluence signals (3+ factors aligned)
HOW TO USE
Reading the Signals:
• Entropy Values > ±25: Strong structural signals
• Entropy Values > ±40: Extreme readings, potential reversals
• SEMM < 0.2: Trending market favors directional strategies
• SEMM > 0.5: Random market favors range/scalping strategies
Signal Confluence:
Look for multiple factors aligning:
• Signal Strength ≥ 3.0 for higher probability setups
• Background highlighting indicates confluence
• Table shows real-time strength assessment
Timeframe Optimization:
• Short-term (1m-15m): Entropy Length 14-22, Sensitivity 3-5
• Swing Trading (1H-4H): Default settings optimal
• Position Trading (Daily+): Entropy Length 34-55, Sensitivity 8-12
EDUCATIONAL APPLICATIONS
Market Structure Analysis:
• Understand when markets are trending vs. ranging
• Identify accumulation and distribution phases
• Recognize extreme market conditions
• Measure information content in price movements
Information Theory Concepts:
• Binary entropy calculations applied to financial data
• Probability distribution analysis of returns
• Statistical ranking and percentile analysis
• Momentum-adjusted randomness measurement
TECHNICAL DETAILS
Calculations:
• Uses binary entropy formula: -
• Percentile ranking across multiple timeframes
• Volume-weighted probability distributions
• RSI-adjusted momentum entropy (SEMM)
Customization Options:
• Entropy Length: 5-100 bars (default: 22)
• Average Length: 10-200 bars (default: 88)
• Sensitivity: 1.0-20.0 (default: 5.0, lower = more sensitive)
• SEMM Scaling: 5.0-100.0x (default: 30.0)
IMPORTANT NOTES
Risk Considerations:
• Indicator measures probabilities, not certainties
• High SEMM values (>0.5) suggest increased market randomness
• Extreme readings may persist longer than expected
• Always combine with proper risk management
Educational Purpose:
This indicator is designed for:
• Market structure analysis and education
• Understanding information theory applications in finance
• Developing probabilistic thinking about markets
• Research and analytical purposes
Performance Tips:
• Allow 200+ bars for proper initialization
• Adjust scaling and transparency for optimal visibility
• Use confluence signals for higher probability analysis
• Consider multiple timeframes for comprehensive analysis
DISCLAIMER
This indicator is for educational and analytical purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own research and consider your risk tolerance before making trading decisions.
Version: 5.0
Category: Oscillators, Volume, Market Structure
Best For: All timeframes, trending and ranging markets
Complexity: Intermediate to Advanced
[Stratégia] VWAP Mean Magnet v9 (Simple Alert)This strategy is specifically designed for a ranging (sideways-moving) Bitcoin market.
A trade is only opened and signaled on the chart if all three of the following conditions are met simultaneously at the close of a candle:
Zone Entry
The price must cross into the signal zone: the red band for a Short (sell) position, or the green band for a Long (buy) position.
RSI Confirmation
The RSI indicator must also confirm the signal. For a Short, it must go above 65 (overbought condition). For a Long, it must fall below 25 (oversold condition).
Volume Filter
The volume on the entry candle cannot be excessively high. This safety filter is designed to prevent trades during risky, high-momentum breakouts.
RS Ratio vs Benchmark (Colored)📈 RS Ratio vs Benchmark (with Color Change)
A simple but powerful tool to track relative strength against a benchmark like QQQ, SPY, or any other ETF.
🔍 What it Shows
RS Ratio (orange line): Measures how strong a stock is relative to a benchmark.
Moving Average (teal line): Smooths out RS to show trend direction.
Color-coded RS Line:
🟢 Green = RS is above its moving average → strength is increasing.
🔴 Red = RS is below its moving average → strength is fading.
📊 How to Read It
Above 100 = Stock is outperforming the benchmark.
Below 100 = Underperforming.
Rising & Green = Strongest signal — accelerating outperformance.
Above 100 but Red = Consolidating or losing momentum — potential rest period.
Crosses below 100 = Warning sign — underperformance.
✅ Best Uses
Spot leading stocks with strong momentum vs QQQ/SPY.
Identify rotation — when strength shifts between sectors.
Time entries and exits based on RS trends and crossovers.
EZSignals SuperTrend EMAA technical indicator, even with high accuracy, must be rigorously backtested to assess its stability across various market conditions. Its effectiveness depends not only on the algorithm itself but also on how it is integrated into the overall trading system. Proper usage, combined with risk management and a solid understanding of market context, is essential to convert theoretical accuracy into practical trading advantage.
EZSignals SuperTrend EMAA technical indicator, even with high accuracy, must be rigorously backtested to assess its stability across various market conditions. Its effectiveness depends not only on the algorithm itself but also on how it is integrated into the overall trading system. Proper usage, combined with risk management and a solid understanding of market context, is essential to convert theoretical accuracy into practical trading advantage.
Mean Reversion & Momentum Hybrid | D_QUANT 📌 Mean Reversion & Momentum Hybrid | D_QUANT
📖 Description:
This indicator combines mean reversion logic, volatility filtering, and percentile-based momentum to deliver clear, context-aware buy/sell signals designed for trend-following and contrarian setups.
At its core, it merges:
A Bollinger Band % Positioning Model (BB%)
A 75th/25th Percentile Momentum System
A Volatility-Adjusted Trend Filter using RMA + ATR
All tied together with a dynamic gradient-style oscillator that visualizes signal strength and persistence over time — making it easy to track high-conviction setups.
Signals only trigger when all three core components align, filtering out noise and emphasizing high-probability turning points or trend continuations.
⚙️ Methodology Overview:
Bollinger Bands % (BB%):
Price is measured as a percentage between upper and lower Bollinger Bands (based on OHLC4). Entries are only considered when price exceeds custom BB% thresholds — emphasizing market extremes.
Volatility-Based Trend Filter (RMA + ATR):
A smoothed RMA baseline is paired with ATR to define trend bias. This ensures signals only occur when price deviates meaningfully beyond recent volatility.
Percentile Momentum Model (75th/25th Rank):
Price is compared against its rolling 75th and 25th percentile. If price breaks these statistical boundaries (adjusted by ATR), it triggers a directional momentum condition.
Signal Consensus Engine:
All three layers must agree — BB% condition, trend filter, and percentile momentum — before a buy or sell signal is plotted.
Gradient Oscillator Visualization:
Signals appear as a fading oscillator line with a gradient-filled area beneath it. The color intensity represents how “fresh” or “strong” the signal is, fading over time if not reconfirmed, offering both clarity and signal aging at a glance.
🔧 User Inputs:
🧠 Core Settings:
Source: Select the price input (default: close)
Bollinger Bands Length: Period for BB basis and deviation
Bollinger Bands Multiplier: Width of the bands
Minimum BB Width (% of Price): Prevents signals during low-volatility chop
📊 BB% Thresholds:
BB% Long Threshold (L): Minimum %B to consider a long
BB% Short Threshold (S): Maximum %B to consider a short
🔍 Trend Filter Parameters:
RMA Length: Period for the smoothed trend baseline
ATR Length: Lookback for ATR in trend deviation filter
⚡️ Momentum Parameters:
Momentum Length: Period for percentile momentum calculation
Mult_75 / Mult_25: ATR-adjusted thresholds for breakout above/below percentile levels
🎨 Visualization:
Bar Coloring: Highlights candles during active signals
Background Coloring: Optional background shading for signals
Show Oscillator Plot: Toggle the gradient-style oscillator
🧪 Use Case:
This indicator works well across all assets for trend identification. It is particularly effective when used on higher timeframes (e.g. 12H, 1D,2D) to capture mean reversion bounces or confirm breakouts backed by percentile momentum and volatility expansion.
⚠️ Notes:
This is not financial advice. Use in combination with proper risk management and confluence from other tools.