Advanced Range Analyzer ProAdvanced Range Analyzer Pro – Adaptive Range Detection & Breakout Forecasting
Overview
Advanced Range Analyzer Pro is a comprehensive trading tool designed to help traders identify consolidations, evaluate their strength, and forecast potential breakout direction. By combining volatility-adjusted thresholds, volume distribution analysis, and historical breakout behavior, the indicator builds an adaptive framework for navigating sideways price action. Instead of treating ranges as noise, this system transforms them into opportunities for mean reversion or breakout trading.
How It Works
The indicator continuously scans price action to identify active range environments. Ranges are defined by volatility compression, repeated boundary interactions, and clustering of volume near equilibrium. Once detected, the indicator assigns a strength score (0–100), which quantifies how well-defined and compressed the consolidation is.
Breakout probabilities are then calculated by factoring in:
Relative time spent near the upper vs. lower range boundaries
Historical breakout tendencies for similar structures
Volume distribution inside the range
Momentum alignment using auxiliary filters (RSI/MACD)
This creates a live probability forecast that updates as price evolves. The tool also supports range memory, allowing traders to analyze the last completed range after a breakout has occurred. A dynamic strength meter is displayed directly above each consolidation range, providing real-time insight into range compression and breakout potential.
Signals and Breakouts
Advanced Range Analyzer Pro includes a structured set of visual tools to highlight actionable conditions:
Range Zones – Gradient-filled boxes highlight active consolidations.
Strength Meter – A live score displayed in the dashboard quantifies compression.
Breakout Labels – Probability percentages show bias toward bullish or bearish continuation.
Breakout Highlights – When a breakout occurs, the range is marked with directional confirmation.
Dashboard Table – Displays current status, strength, live/last range mode, and probabilities.
These elements update in real time, ensuring that traders always see the current state of consolidation and breakout risk.
Interpretation
Range Strength : High scores (70–100) indicate strong consolidations likely to resolve explosively, while low scores suggest weak or choppy ranges prone to false signals.
Breakout Probability : Directional bias greater than 60% suggests meaningful breakout pressure. Equal probabilities indicate balanced compression, favoring mean-reversion strategies.
Market Context : Ranges aligned with higher timeframe trends often resolve in the dominant direction, while counter-trend ranges may lead to reversals or liquidity sweeps.
Volatility Insight : Tight ranges with low ATR imply imminent expansion; wide ranges signal extended consolidation or distribution phases.
Strategy Integration
Advanced Range Analyzer Pro can be applied across multiple trading styles:
Breakout Trading : Enter on probability shifts above 60% with confirmation of volume or momentum.
Mean Reversion : Trade inside ranges with high strength scores by fading boundaries and targeting equilibrium.
Trend Continuation : Focus on ranges that form mid-trend, anticipating continuation after consolidation.
Liquidity Sweeps : Use failed breakouts at boundaries to capture reversals.
Multi-Timeframe : Apply on higher timeframes to frame market context, then execute on lower timeframes.
Advanced Techniques
Combine with volume profiles to identify areas of institutional positioning within ranges.
Track sequences of strong consolidations for trend development or exhaustion signals.
Use breakout probability shifts in conjunction with order flow or momentum indicators to refine entries.
Monitor expanding/contracting range widths to anticipate volatility cycles.
Custom parameters allow fine-tuning sensitivity for different assets (crypto, forex, equities) and trading styles (scalping, intraday, swing).
Inputs and Customization
Range Detection Sensitivity : Controls how strictly ranges are defined.
Strength Score Settings : Adjust weighting of compression, volume, and breakout memory.
Probability Forecasting : Enable/disable directional bias and thresholds.
Gradient & Fill Options : Customize range visualization colors and opacity.
Dashboard Display : Toggle live vs last range, info table size, and position.
Breakout Highlighting : Choose border/zone emphasis on breakout events.
Why Use Advanced Range Analyzer Pro
This indicator provides a data-driven approach to trading consolidation phases, one of the most common yet underutilized market states. By quantifying range strength, mapping probability forecasts, and visually presenting risk zones, it transforms uncertainty into clarity.
Whether you’re trading breakouts, fading ranges, or mapping higher timeframe context, Advanced Range Analyzer Pro delivers a structured, adaptive framework that integrates seamlessly into multiple strategies.
التقلب
Peak Reversal v3# Peak Reversal v3
## Summary
Peak Reversal v3 adds new configurability, clearer visuals, and a faster trader workflow. The release introduces a new Squeeze Detector , expanded Keltner Channels , and streamlined Momentum signals , with no repaints and improved performance. The menus have been reorganized and simplified. Color swatches have been added for better customization. All other colors will be derived from these swatches.
## Highlights
New Squeeze Detector to mark low-volatility periods and prepare for breakouts.
New: Bands are now fully configurable with independent MA length, ATR length, and multipliers.
Five moving average bases for bands: EMA (from v2), SMA, RMA, VMA, HMA.
Simplified color system: three swatches drive candles, on-chart marks, and band fill.
Reorganized menu with focused sections and tooltips for each parameter making the entire trader experience more intuitive.
No repaints and faster performance across calculations.
## Overview
Configuration : Pick from three color swatches and apply them to candles, plotted characters, and band fill for consistent chart context. Use the reorganized menu to reach Keltner settings, momentum signals, and squeeze detection without extra clicks; tooltips clarify each input.
Bands and averages: Choose the band basis from EMA, SMA, RMA, VMA, or HMA to match your strategy. Configure two bands independently by setting MA length, ATR length, and band multipliers for the inner and outer envelopes.
Signals : Select the band responsible for momentum signals. Choose wick or close as the price source for entries and exits. Control the window for extreme momentum with “Max Momentum Bars,” a setting now exposed in v3 for direct tuning.
Squeeze detection : The Squeeze Detector normalizes band width and uses percentile ranking to highlight volatility compression. When the market falls below a user-defined threshold, the indicator colors the region with a gradient to signal potential expansion.
## Details about major features and changes
### New
Squeeze Detector to highlight low-volatility conditions.
Five MA bases for bands: EMA, SMA, RMA, VMA, HMA.
“Max Momentum Bars” to cap the bars used for extreme momentum.
### Keltner channel improvements
Refactored Keltner settings for flexible inner and outer band control.
MA type selection added; band calculations updated for consistency.
Removed the third Keltner band to reduce noise and simplify setup.
### Display and signals
Gradient fills for band breakouts, mean deviations, and squeeze periods.
“Show Mean EMA?” set to true and default “Signal Band” set to “Inner.”
Clearer tooltips and input descriptions.
### Reliability and performance
No more repaints. The indicator waits for confirmation before drawing occurs.
Faster execution through targeted refactors.
All algorithms have been reviewed and now use a consistent logic, naming, and structure.
Extreme Zone Volume ProfileExtreme Zone Volume Profile (EZVP)
Originality & Innovation
The Extreme Zone Volume Profile (EZVP) revolutionizes traditional volume profile analysis by applying statistical zone classification to volume distribution. Unlike standard volume profiles that display raw volume data, EZVP segments the price range into statistically meaningful zones based on percentile thresholds, allowing traders to instantly identify where volume concentration suggests strong support/resistance versus areas of potential breakout.
Technical Methodology
Core Algorithm:
Distributes volume across user-defined bins (20-200) over a lookback period
Calculates volume-weighted price levels for each bin
Applies percentile-based zone classification to the price range (not volume ranking)
Zone B (extreme zones): Outer percentile tails representing potential rejection areas
Zone A (significant zones): Secondary percentile bands indicating strong interest levels
Center Zone: Bulk trading range where most price discovery occurs
Mathematical Foundation:
The script uses price-range percentiles rather than volume percentiles. If the total price range is divided into 100%, Zone B captures the extreme price tails (default 2.5% each end ≈ 2 standard deviations), Zone A captures the next significant bands (default 14% each ≈ 1 standard deviation), leaving the center for normal distribution trading.
Key Calculations:
POC (Point of Control): Price level with maximum volume accumulation
Volume-weighted mean price: Total volume × price / total volume
Median price: Geometric center of the price range
Rightward-projected bars: Volume bars extend forward from current time to avoid historical chart clutter
Trading Applications
Zone Interpretation:
Zone B (Red/Green): Extreme price levels where volume suggests strong rejection potential. Price reaching these zones often indicates overextension and possible reversal points.
Zone A (Orange/Teal): Significant support/resistance areas with substantial volume interest. These levels often act as intermediate targets or consolidation zones.
Center (Gray): Fair value area where most trading occurs. Price tends to return to this range during normal market conditions.
Strategic Usage:
Reversal Trading: Look for rejection signals when price enters Zone B areas
Breakout Confirmation: Volume expansion beyond Zone B boundaries suggests genuine breakouts
Support/Resistance: Zone A boundaries often provide reliable entry/exit levels
Mean Reversion: Price tends to gravitate toward the volume-weighted mean and POC lines
Unique Value Proposition
EZVP addresses three key limitations of traditional volume profiles:
Visual Clarity: Standard profiles can be cluttered and difficult to interpret quickly. EZVP's color-coded zones provide instant visual feedback about price significance.
Statistical Framework: Rather than relying on subjective interpretation of volume nodes, EZVP applies objective percentile-based classification, making support/resistance identification more systematic.
Forward-Looking Display: Rightward-projecting bars keep historical price action clean while maintaining current market structure visibility.
Configuration Guide
Lookback Period (10-1000): Controls the historical depth of volume calculation. Shorter periods for intraday scalping, longer for swing trading.
Number of Bins (20-200): Resolution of volume distribution. Higher values provide more granular analysis but may create noise on lower timeframes.
Zone Percentages:
Zone B: Extreme threshold (default 2.5% = ~2σ statistical significance)
Zone A: Significant threshold (default 14% = ~1σ statistical significance)
Visual Controls: Toggle individual elements (POC, median, mean, zone lines) to customize display complexity for your trading style.
Technical Requirements
Pine Script v6 compatible
Maximum bars back: 5000 (ensures sufficient historical data)
Maximum boxes: 500 (supports high-resolution bin counts)
Maximum lines: 50 (accommodates all zone and reference lines)
This indicator synthesizes volume profile theory with statistical zone analysis, providing a quantitative framework for identifying high-probability support/resistance levels based on volume distribution patterns rather than arbitrary price levels.
DBG X WOLONG
Overview
DBG X Wolong is a feature-rich Pine Script v5 indicator/strategy designed to provide a systematic, configurable approach to detecting trade opportunities and managing positions. This free edition combines trend detection, momentum confirmation, volatility sizing and an adaptive grid/TP system into a single workflow that is intended to add practical value beyond a simple indicator mashup
What makes this script original & useful
Integrated workflow (not a mere mashup): indicators are assigned clear roles in a pipeline — trend → momentum → volatility → scaling/exit — so their outputs interact deterministically to form signals.
Adaptive grid + ATR sizing: grid spacing and stop/TP levels adapt to market volatility via ATR, reducing arbitrary parameter dependence.
MA cloud & Braid filter: the multi-MA cloud (supporting many MA types) is used as a structural trend/range detector; the Braid filter suppresses noise and confirms stronger trend regimes.
Multi-timeframe dashboard: compact view of trend across many TFs to avoid single-TF false signals.
Conceptual workflow (how it works, high level)
Trend detection: SuperTrend + MA cloud determine the primary bias (bull/bear).
Momentum confirmation: RSI and MACD histogram confirm momentum direction or reversals.
Volatility sizing: ATR is used to calculate stop levels and to scale position sizing and grid spacing (higher ATR → wider stops & grid)
Signal gating / filter: Braid filter and multi-TF confirmation reduce false entries and ensure higher-probability setups..
Grid / TP engine: when a signal triggers, the system can scale into positions across predefined grid steps and compute TP1/TP2/TP3 based on measured move (VWAP/regression or pivot logic), with labels on chart.
Visual outputs: colorized candles, entry/stop/take labels, pullback marks and a configurable table/dashboards.
Key components & role (concise)
SuperTrend: primary trend filter and main signal trigger.
MA Cloud / Ribbon (many MA types available): structure, support/resistance, trend validation
Braid Filter: noise suppression and signal confirmation.
FRAMA / JMA / advanced MA routines: adaptive smoothing options for different market regimes.
ATR: volatility measure for dynamic stops and grid spacing.
TP Engine / Regression-VWAP logic: adaptive take profit placement and multi-level exits.
Dashboard / Multi-TF checks: present TF consensus to avoid contradictory signals.
How signals are generated (conceptual)
Primary buy: SuperTrend flips bullish + price above short SMA + braid filter confirms + multi-TF bias mostly bullish.
Primary sell: SuperTrend flips bearish + price below short SMA + braid filter confirms + multi-TF bias mostly bearish.
Reversal/pullback markers: RSI crossing thresholds with additional confirmations.
(Exact thresholds and gating are configurable in inputs.).
Inputs summary (important ones to show in the publish dialog)
Sensitivity (SuperTrend tuning): 1–20 (default 6)
MA cloud cycles & ribbon choices (8 cycle settings)
Braid filter type & strength (percent)
ATR length & ATR risk multiplier (for SL and sizing).
Dashboard: enable/position/size, show/hide signals, pullback toggles.
TP mode (pivot/regression), TP multiplier and lengths
Recommended usage & presets
Sensitivity (SuperTrend tuning): 1–20 (default 6)
MA cloud cycles & ribbon choices (8 cycle settings)
Braid filter type & strength (percent)
ATR length & ATR risk multiplier (for SL and sizing).
Dashboard: enable/position/size, show/hide signals, pullback toggles.
TP mode (pivot/regression), TP multiplier and lengths
Recommended usage & presets
Scalping: TF 1–5 minutes; sensitivity higher (8–12); use only SuperTrend + Braid filters; TP1 only.
Intraday: TF 15–60 minutes; sensitivity medium (6–8); use full grid with ATR-based stops.
Swing: TF H1–D1; sensitivity lower (4–6); enable full indicators and multi-TF confirmations.
Always backtest and demo-trade settings before using live.
Limitations & safeguards
Market conditions (thin liquidity, news) can still produce false signals; use multi-TF filter and turn off signals near major events.
This free edition is intended for learning; advanced/premium variants may include additional proprietary optimizations.
Not investment advice — use proper money management and test before trading real capital.
Backtesting & validation
Backtest over multiple symbols and regimes (trending vs ranging) to find robust settings..
Use the dashboard to visualize TF alignment and exclude signals when mismatch occurs.
Keep trade frequency reasonable to avoid overfitting small sample sets.
Publishing notes (for moderators/reviewers)
This description explains how indicators combine in a defined workflow and why each component is used; it demonstrates originality (adaptive grid + ATR-based sizing + MA cloud + Braid filter as a cohesive strategy), not just a superficial mashup.
The code exposes configurable inputs and visual outputs; the long description gives sufficient conceptual detail for users and moderators to evaluate the script without exposing proprietary implementation details.
Rayner Teo's EMA SettingCollection of Indicators for Rayner Teo's Strategy
- Displays the 20, 50, and 200 EMA s.
- Highlights the bar when the price enters the area between the 20 EMA and the 50 EMA .
- A green signal appears when the 20, 50, and 200 EMAs are aligned .
- A red signal appears when the price crosses down the 20 EMA during a bullish trend.
- The dim steplines below and above price bar show the 1.5 x ATR(20) used for stop loss .
RICHI ATR LONG+SHORT STOP LOSSATR (14) + 10%
Long+Short
Not financial advice and not a call to action
/////////////
SMA MAD SuperTrend | OquantThe SMA MAD SuperTrend | Oquant is an trend-following indicator designed to help traders identify potential trend directions and reversals using a unique combination of a Simple Moving Average (SMA), Mean Absolute Deviation (MAD), and a SuperTrend mechanism. This script aims to provide clear visual signals for trend entries and exits, making it suitable for traders looking to capture trends.
This indicator innovatively combines the smoothing properties of an SMA with the volatility-adaptive qualities of MAD to create dynamic SuperTrend bands. Unlike traditional SuperTrend indicators that rely on Average True Range (ATR) for volatility, this script uses Mean Absolute Deviation(MAD) to measure the average absolute deviation from the mean price, providing a different perspective on price volatility. The result is a SuperTrend system that adapts to market conditions with a focus on price deviation, offering a unique tool for trend detection.
Components and Calculations
Simple Moving Average (SMA):
The SMA is a widely used indicator that calculates the average of a specified number of closing prices. It smooths price data to identify the overall trend direction. In this script, the SMA serves as the baseline for calculating dynamic upper and lower bands.
Mean Absolute Deviation (MAD):
MAD measures the average absolute deviation of the price from its mean. It quantifies volatility by calculating how far prices deviate from the mean price, offering an alternative to ATR.
SuperTrend Mechanism:
This SuperTrend indicator generates dynamic upper and lower bands around the Simple Moving Average (SMA) using mean absolute deviation as measure of volatility.
It tracks trend direction by comparing the close price to the bands:
If the price crosses above the upper band, the trend turns bullish, and the SuperTrend follows the lower band.
If the price crosses below the lower band, the trend turns bearish, and the SuperTrend follows the upper band.
The bands adjust based on their previous values, updating only when the price crosses a band or the band shifts in the correct direction, reducing false signals and ensuring stable trend detection.
How to Use the Indicator
Trend Signals:
Green Line: Indicates a bullish trend (price above the SuperTrend line).
Purple Line: Indicates a bearish trend (price below the SuperTrend line).
Bar and Candle Coloring: Bars and candles are colored green for bullish trends and purple for bearish trends, making it easy to visualize trend direction.
Filled Areas: The area between the price and the SuperTrend line is filled with transparent colors (green for bullish, purple for bearish) to highlight trend.
Inputs:
Source: Choose the price data for calculations.
SMA Length: Adjust the period for the SMA. Longer periods smooth the trend further.
MAD Length: Set the period for MAD calculation. Shorter periods make the MAD more sensitive.
Factor: Control the distance of the SuperTrend bands from the SMA. Higher values widen the bands, reducing sensitivity to price fluctuations.
Alerts:
The script includes alert conditions for trend changes:
SMA MAD SuperTrend Long: Triggered when the trend turns bullish.
SMA MAD SuperTrend Short: Triggered when the trend turns bearish.
Set up alerts in TradingView to receive notifications for these conditions.
Why Use This Script?
The SMA MAD SuperTrend | Oquant offers a fresh take on trend-following by integrating SMA as baseline and MAD for volatility measurement, providing an alternative to ATR-based SuperTrend indicators. Its clear visual signals, customizable inputs, and alert conditions make it versatile for traders of all levels.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
BB Expansion Oscillator (BEXO)BB Expansion Oscillator (BEXO) is a custom indicator designed to measure and visualize the expansion and contraction phases of Bollinger Bands in a normalized way.
🔹 Core Features:
Normalized BB Width: Transforms Bollinger Band Width into a 0–100 scale for easier comparison across different timeframes and assets.
Signal Line: EMA-based smoothing line to detect trend direction shifts.
Histogram: Highlights expansion vs contraction momentum.
OB/OS Zones: Detects Over-Expansion and Over-Contraction states to spot potential volatility breakouts or squeezes.
Dynamic Coloring & Ribbon: Visual cues for trend bias and crossovers.
Info Table: Displays real-time values and status (Expansion, Contraction, Over-Expansion, Over-Contraction).
Background Highlighting: Optional visual aid for trend phases.
🔹 How to Use:
When BEXO rises above the Signal Line, the market is in an Expansion phase → potential trend continuation.
When BEXO falls below the Signal Line, the market is in a Contraction phase → potential consolidation or trend weakness.
Overbought/Over-Expansion zone (above OB level): Signals high volatility; watch for possible reversal or breakout exhaustion.
Oversold/Over-Contraction zone (below OS level): Indicates a squeeze or low volatility; often precedes strong breakout moves.
🔹 Best Application:
Identify volatility cycles (squeeze & expansion).
Filter trades by volatility conditions.
Combine with price action, volume, or momentum indicators for confirmation.
⚠️ Disclaimer:
This indicator is for educational and research purposes only. It should not be considered financial advice. Always combine with proper risk management and your own trading strategy.
Dynamic Chandelier Exit Trader [KedArc Quant])Dynamic Chandelier Exit Trader (DCET)
The Dynamic Chandelier Exit Trader (DCET) builds upon the classical Chandelier Exit indicator by combining volatility-based stop placement with risk-reward exit logic. It is designed to provide clear buy/sell flip signals, making it adaptable across multiple trading environments.
Market Suitability
The DCET is most effective under the following market conditions:
1. Trending Markets (Upward or Downward)
- Strong performance when price is in a clear directional trend.
- Buy signals align with uptrends, sell signals align with downtrends.
- Works well on stocks, forex pairs, and crypto during trending phases.
2. Breakout Environments:
- Captures moves when price breaks out of consolidations.
- ATR-based stop dynamically adjusts to volatility expansion.
- Effective for traders who like catching the first move after breakouts.
3. Sideways / Range-Bound Markets:
- DCET tends to generate more frequent flip signals in sideways conditions.
- May lead to whipsaws, but can still be used with reduced ATR length or by combining with a trend filter (e.g., moving average direction).
4. All Markets (with Adjustments):
- Works universally but requires tuning.
- In highly volatile markets (e.g., crypto), a higher ATR multiplier may reduce false signals.
- In stable, slower-moving markets (e.g., large-cap equities), smaller ATR multipliers improve responsiveness.
Volatility % Bands (O→C)Volatility % Bands (O→C) is an indicator designed to visualize the percentage change from Open to Close of each candle, providing a clear view of short-term momentum and volatility.
**Histogram**: Displays bar-by-bar % change (Close vs Open). Green bars indicate positive changes, while red bars indicate negative ones, making momentum shifts easy to identify.
**Moving Average Line**: Plots the Simple Moving Average (SMA) of the absolute % change, helping traders track the average volatility over a chosen period.
**Background Bands**: Based on the user-defined Level Step, ±1 to ±5 zones are highlighted as shaded bands, allowing quick recognition of whether volatility is low, moderate, or extreme.
**Label**: Shows the latest candle’s % change and the current SMA value as a floating label on the right, making it convenient for real-time monitoring.
This tool can be useful for volatility breakout strategies, day trading, and short-term momentum analysis.
svm tikole ADX rsi How this works:
ADX checks trend strength. (Above 25 = strong trend)
RSI confirms momentum (above 50 = bullish, below 50 = bearish).
Strong Buy = ADX strong + DI+ > DI– + RSI > 50.
Strong Sell = ADX strong + DI– > DI+ + RSI < 50.
Buy/Sell labels are plotted on chart.
RSI panel included as optional.
👉 This script is error-free and gives clear strong buy/sell signals.
Volatility Forecast/*==============================================================================
Volatility Forecast — Publishable Documentation
Author: @BB_9791
License: Mozilla Public License 2.0
WHAT THIS INDICATOR SHOWS
- A daily volatility estimate in percent points, called sigma_day.
- A slow volatility anchor, the 10-year EMA of sigma_day.
- A blended volatility series in percent points:
sigma_blend = (1 − p) * sigma_day + p * EMA_10y(sigma_day)
where p is the Slow weight %, default 30.
- Optional annualization by multiplying by 16, this is a daily-to-annual
conversion used by Robert Carver in his writings.
METHODOLOGY, CREDIT
The estimator follows the approach popularized by Robert Carver
("Systematic Trading", "Advanced Futures Trading Strategies", blog qoppac).
Current daily volatility is computed as an exponentially weighted standard
deviation of daily percent returns, with alpha = 2 / (span + 1).
The slow leg is a long EMA of that volatility series, about 10 years.
The blend uses fixed weights. This keeps the slow leg meaningful through
large price level changes, since the blend is done in percent space first.
MATH DETAILS
Let r_t be daily percent return:
r_t = 100 * (Close_t / Close_{t−1} − 1)
EWMA mean and variance:
m_t = α * r_t + (1 − α) * m_{t−1}
v_t = α * (r_t − m_t)^2 + (1 − α) * v_{t−1}
where α = 2 / (span_current + 1)
Current daily sigma in percent points:
sigma_day = sqrt(v_t)
Slow leg:
sigma_10y = EMA(sigma_day, span_long)
Blend:
sigma_blend = (1 − p) * sigma_day + p * sigma_10y
Annualized option:
sigma_ann = 16 * sigma_blend
INPUTS
- Threshold (percent points): horizontal guide level on the chart.
- Short term span (days): EW stdev span for sigma_day.
- Long term span (days): EMA span for the slow leg, choose about 2500 for 10 years.
- Slow weight %: p in the blend.
- Annualize (x16): plot daily or annualized values.
- Show components: toggles Current and 10y EMA lines.
- The script uses the chart symbol by default.
PLOTS
- Blended σ% as the main line.
- Optional Current σ% and 10y EMA σ%.
- Editable horizontal threshold line in the same units as the plot
(percent points per day or per year).
- Optional EMA 9 and EMA 20 cloud on the blended series, green for uptrend
when EMA 9 is above EMA 20, red otherwise. Opacity is configurable.
HOW TO READ
- Values are percent points of movement per day when not annualized,
for example 1.2 means about 1.2% typical daily move.
- With annualize checked, values are percent points per year, for example 18
means about 18% annualized volatility.
- Use the threshold and the EMA cloud to mark high or low volatility regimes.
NOTES
- All calculations use daily data via request.security at the chart symbol.
- The blend is done in percent space, then optionally annualized, which avoids
bias from the price level.
- This script does not produce trading signals by itself, it is a risk and
regime indicator.
CREDITS
Volatility forecasting method and scaling convention credited to Robert Carver.
See his books and blog for background and parameter choices.
VERSION
v1.0 Initial public release.
==============================================================================*/
ATR Extension from Moving Average, with Robust Sigma Bands
# ATR Extension from Moving Average, with Robust Sigma Bands
**What it does**
This indicator measures how far price is from a selected moving average, expressed in **ATR multiples**, then overlays **robust sigma bands** around the long run central tendency of that extension. Positive values mean price is extended above the MA, negative values mean price is extended below the MA. The signal adapts to volatility through ATR, which makes comparisons consistent across symbols and regimes.
**Why it can help**
* Normalizes distance to an MA by ATR, which controls for changing volatility
* Uses the **bar’s extreme** against the MA, not just the close, so it captures true stretch
* Computes a **median** and **standard deviation** of the extension over a multi-year window, which yields simple, intuitive bands for trend and mean-reversion decisions
---
## Inputs
* **MA length**: default 50, options 200, 64, 50, 20, 9, 4, 3
* **MA timeframe**: Daily or Weekly. The MA is computed on the chosen higher timeframe through `request.security`.
* **MA type**: EMA or SMA
* **Years lookback**: 1 to 10 years, default 5. This sets the sample for the median and sigma calculation, `years * 365` bars.
* **Line width**: visual width of the plotted extension series
* **Table**: optional on-chart table that displays the current long run **median** and **sigma** of the extension, with selectable text size
**Fixed parameters in this release**
* **ATR length**: 20 on the daily timeframe
* **ATR type**: classic ATR. ADR percent is not enabled in this version.
---
## Plots and colors
* **Main plot**: “Extension from 50d EMA” by default. Value is in **ATR multiples**.
* **Reference lines**:
* `median` line, black dashed
* +2σ orange, +3σ red
* −2σ blue, −3σ green
---
## How it is calculated
1. **Moving average** on the selected higher timeframe: EMA or SMA of `close`.
2. **Extreme-based distance** from MA, as a percent of price:
* If `close > MA`, use `(high − MA) / close * 100`
* Else, use `(low − MA) / close * 100`
3. **ATR percent** on the daily timeframe: `ATR(20) / close * 100`
4. **ATR multiples**: extension percent divided by ATR percent
5. **Robust center and spread** over the chosen lookback window:
* Center: **median** of the ATR-multiple series
* Spread: **standard deviation** of that series
* Bands: center ± 1σ, 2σ, 3σ, with 2σ and 3σ drawn
This design yields an intuitive unit scale. A value of **+2.0** means price is about 2 ATR above the selected MA by the most stretched side of the current bar. A value of **−3.0** means roughly 3 ATR below.
---
## Practical use
* **Trend continuation**
* Sustained readings near or above **+1σ** together with a rising MA often signal healthy momentum.
* **Mean reversion**
* Spikes into **±2σ** or **±3σ** can identify stretched conditions for fade setups in range or late-trend environments.
* **Regime awareness**
* The **median** moves slowly. When median drifts positive for many months, the market spends more time extended above the MA, which often marks bullish regimes. The opposite applies in bearish regimes.
**Notes**
* The MA can be set to Weekly while ATR remains Daily. This is deliberate, it keeps the normalization stable for most symbols.
* On very short intraday charts, the extension remains meaningful since it references the session’s extreme against a higher-timeframe MA and a daily ATR.
* Symbols with short histories may not fill the lookback window. Bands will adapt as data accrues.
---
## Table overlay
Enable **Table → Show** to see:
* “ATR from \”
* Current **median** and **sigma** of the extension series for your lookback
---
## Recommended settings
* **Swing equities**: 50 EMA on Daily, 5 to 7 years
* **Index trend work**: 200 EMA on Daily, 10 years
* **Position trading**: 20 or 50 EMA on Weekly MA, 5 to 10 years
---
## Interpretation examples
* Reading **+2.7** with price above a rising 50 EMA, near prior highs
* Strong trend extension, consider pyramiding in trend systems or waiting for a pullback if you are a mean-reverter.
* Reading **−2.2** into multi-month support with flattening MA
* Stretch to the downside that often mean-reverts, size entries based on your system rules.
---
## Credits
The concept of measuring stretch from a moving average in ATR units has a rich community history. This implementation and its presentation draw on ideas popularized by **Jeff Sun**, **SugarTrader**, and **Steve D Jacobs**. Thanks to each for their contributions to ATR-based extension thinking.
---
## License
This script and description are distributed under **MPL-2.0**, consistent with the header in the source code.
---
## Changelog
* **v1.0**: Initial public release. Daily ATR normalization, EMA or SMA on D or W timeframe, robust median and sigma bands, optional table.
---
## Disclaimer
This tool is for educational use only. It is not financial advice. Always test on your own data and strategies, then manage risk accordingly.
MTF RSI Overbought & Oversoldshows when 1 minute 5 and 15 minute are all oversold and overbought for a stack
Universal Trend+ [BackQuant]Universal Trend+
This indicator blends several well-known technical ideas into a single composite trend and momentum model. It can be show primarily as an overlay or a oscillator:
In which it produces two things:
a composite oscillator that summarizes multiple signals into one normalized score
a regime signal rendered on the chart as a colored ribbon with optional 𝕃 and 𝕊 markers
The goal is to simplify decision-making by having multiple, diverse measurements vote in a consistent framework, rather than relying on any single indicator in isolation.
What it does
Computes five independent components, each reading a different aspect of price behavior
Converts each component into a standardized bullish / neutral / bearish vote
Averages the available votes to a composite score
Compares that score to user thresholds to label the environment bullish, neutral, or bearish
Colors a fast/slow moving-average ribbon by the current regime, optionally paints candles, and can plot the composite oscillator in a lower pane
The five components (conceptual)
1)RSI Momentum Bias
A classic momentum gauge on a selectable source and lookback. The component emphasizes whether conditions are persistently strong or weak and applies a neutral buffer to avoid reacting to trivial moves. Output is expressed as a vote: bullish, neutral, or bearish.
2) Rate-of-Change Impulse
A smoothed rate-of-change that focuses on short bursts in acceleration. It is used to detect impulsive pushes rather than slow drift. Extreme readings cast a directional vote, mid-range readings abstain.
3) EMA Oscillator
A slope-style trend gauge formed by contrasting a fast and a slow EMA on a chosen source, normalized so that the sign and relative magnitude matter more than absolute price. A small dead-zone reduces whipsaws.
4) T3-Based Normalized Oscillator
A T3 smoother is transformed into a bounded oscillator via rolling normalization, then optionally smoothed by a user-selectable MA. This highlights directional drift while keeping scale consistent across symbols and regimes.
5) DEMA + ATR Bands State
A double-EMA core is wrapped in adaptive ATR bands to create a stepping state that reacts when pressure exceeds a volatility envelope. The component contributes an event-style vote on meaningful shifts.
Each component is designed to measure something different: trend slope, momentum impulse, normalized drift, and volatility-aware pressure. Their diversity is the point.
Composite scoring model
Standardization: Each component is mapped to -1 (bearish), 0 (neutral), or +1 (bullish) using bands and guards to cut noise.
Aggregation: The composite score is the average of the available votes. If a component is inactive on a bar, the composite uses the votes that are present.
Decision layer: Two user thresholds define your action bands.
Above the upper band → bullish regime
Below the lower band → bearish regime
Between the bands → neutral
This separation between measurement, aggregation, and decision avoids over-fitting any single threshold and makes the tool adaptable across assets and timeframes.
Plots and UI
Composite oscillator (optional lower pane): A normalized line that trends between bearish and bullish zones with user thresholds drawn for context.
Signal ribbon (on price): A fast/slow MA pair tinted by the current regime to give an at-a-glance market state.
Markers: Optional 𝕃 and 𝕊 labels when the regime flips.
Candle painting and background tint: Optional visual reinforcement of state.
Color and style controls: User inputs for long/short colors, threshold line color, and visibility toggles.
How it can be used
1) Regime filter
Use the composite regime to define bias. Trade only long in a bullish regime, only short in a bearish regime, and stand aside or scale down in neutral. This simple filter often reduces whipsaw.
2) Confirmation layer
Keep your entry method the same (breaks, pullbacks, liquidity sweeps, order-flow cues) but require agreement from the composite regime or a fresh flip in the 𝕃/𝕊 markers.
3) Momentum breakouts
Look for the composite oscillator to leave neutrality while the EMA oscillator is already positive and the ATR-band state has flipped. Confluence across components is the intent.
4) Pullback entries within trend
In a bullish regime, consider entries on shallow composite dips that recover before breaching the lower band. Reverse the logic in a bearish regime.
5) Exits and risk
Common choices are:
reduce on a return to neutral,
exit on an opposite regime flip, or
trail behind your own stop model (ATR, structure, session levels) while using the ribbon for context.
6) Multi-timeframe workflow
Select a higher timeframe for bias with this indicator, and time executions on a lower timeframe. The indicator itself stays on a single chart; you can load a second chart or pane if you prefer a strict top-down process.
Strengths
Diversified evidence: Five independent perspectives keep the model from hinging on one idea.
Noise control: Neutral buffers and a composite layer reduce reaction to minor wiggles.
Clarity: A single oscillator and a clearly colored ribbon present a complex assessment in a simple form.
Adaptable: Thresholds and lookbacks let you tune for faster or slower markets.
Practical tuning
Thresholds: Wider bands produce fewer regime flips and longer holds. Narrower bands increase sensitivity.
Lookbacks: Shorter lookbacks emphasize recent action; longer lookbacks emphasize stability.
T3 normalization window and volume factor: Increase the window to suppress noise on choppy symbols; tweak the factor to adjust the smoother’s response.
ATR factor for the band state: Raise it to demand more decisive pressure before registering a shift; lower it to respond earlier.
Alerts
Built-in alerts trigger when the regime flips long or short. If you prefer confirmed signals, set your alerts to bar close on your timeframe. Intrabar the composite can move with price; bar-close confirmation stabilizes behavior.
Limitations
Sideways markets: Even with buffers, any trend model can chop in range-bound conditions.
Lag vs sensitivity trade-off: Tighter thresholds react faster but flip more often; wider thresholds are steadier but later.
Asset specificity: Volatility regimes differ. Expect to retune ATR and normalization settings when switching symbols or timeframes.
Final Remarks
Universal Trend+ is meant to act like a disciplined voting committee. Each component contributes a different angle on the same underlying question: is the market pressing up, pressing down, or doing neither with conviction. By standardizing and aggregating those views, you get a single regime read that plays well with many entry styles and risk frameworks, while keeping the heavy math under the hood.
PPO+Stoch_MTMPPO + Stoch_MTM (SMI) — Description
Version: Pine v6
What this indicator does
Computes a PPO (Percentage Price Oscillator) and a smoothed SMI-like stochastic (Stoch_MTM), plots both and their signals in one pane.
Shows histogram of PPO momentum (PPO − PPO signal), SMI (K) and SMI signal (D).
Detects and marks simple bullish / bearish divergences on SMI and PPO (visual lines + markers).
Draws SMI pivot tops / bottoms (small crosses) for structure reference.
Optionally fills the area above/below zero for quick buy/sell zone visualization.
Default inputs (exposed)
Use long term Divergences? = true
Lookback Period = 55
PPO: Fast Length = 12, Slow Length = 26, Signal Length = 9, Smoother = 2
SMI: Percent K Length = 5, Percent D Length = 3
Overbought = 40, Oversold = −40
Toggle options: show/hide PPO plots, SMI plots, divergences, pivots, and SMI zone fill
Plots & visuals
PPO (line), PPO signal (line), PPO histogram (columns)
SMI K (black line) and SMI D (red line)
Overbought / Oversold levels (dashed lines) and zero line (dotted)
Colored semi-transparent fill: green when SMI > 0, red when SMI < 0 (optional)
Divergence lines: purple for bullish, orange for bearish (drawn between indicator swings)
Markers: small labeled shapes for BUY / SELL triggers (basic cross confirmations)
Buy / Sell signal logic (default example)
Buy: PPO histogram > 0 and SMI crosses above SMI signal (simple confirmation)
Sell: PPO histogram < 0 and SMI crosses below SMI signal
Divergences and pivots are visual aids — combine with price action and risk rules.
How to use (practical notes)
Use longer timeframes or appropriately sized Renko bricks for reduced whipsaw; this indicator is an oscillator, not a standalone order system.
Treat divergence lines as early warning / context — validate with price structure (higher highs / lower lows).
Use the show/hide toggles to declutter the pane depending on your workflow.
Add alerts on the BUY/SELL signal shapes or custom alertcondition(...) if you want push/WebHook alerts.
Limitations & risks
Not a guarantee of profitability — oscillators produce false signals in strong trends or during low liquidity.
Divergence detection is simplified to be robust and fast; proprietary divergence engines may behave differently.
Backtest any rule set before live trading; apply position sizing and risk controls.
Recommended quick start
Add indicator to chart with defaults.
Test visually on 1H / 4H (or Renko charts scaled to ATR-based brick) to see signal behaviour.
Use PPO histogram + SMI K/D cross for entry signals; require price structure confirmation for trade entry.
Add stop-loss (recent swing low/high) and fixed risk per trade (e.g., 0.25–1% equity).
ATR% | Volatility NormalizerThis indicator measures true volatility by expressing the Average True Range (ATR) as a percentage of price. Unlike basic ATR plots, which show raw values, this version normalizes volatility to make it directly comparable across instruments and timeframes.
How it works:
Uses True Range (High–Low plus gaps) to capture actual market movement.
Normalizes by dividing ATR by the chosen price base (default: Close).
Multiplies by 100 to output a clean ATR% line.
Smoothing is flexible: choose from RMA, SMA, EMA, or WMA.
Optional Feature:
For comparison, you can toggle an auxiliary line showing the average absolute close-to-close % move, highlighting the difference between simplified and true volatility.
Why use it:
Track regime shifts: identify when volatility expands or contracts in % terms.
Compare volatility across different markets (equities, crypto, forex, commodities).
Integrate into risk management: position sizing, stop placement, or volatility filters for entries.
Interpretation:
Rising ATR% → expanding volatility, potential breakouts or unstable ranges.
Falling ATR% → contracting volatility, possible consolidation or range-bound conditions.
Sudden spikes → market “shocks” worth paying attention to.
Gre8t1ne ADX Session Strength (London/NY Only)The Gre8t1ne ADX Session Strength (London/NY Only) is a trend-strength confirmation tool that works only during the London and New York trading sessions. It uses the Average Directional Index (ADX) along with the Directional Indicators (+DI and –DI) to measure how strong a trend is and whether buyers or sellers are in control.
[PRINCESS STRATEGY]
By Using Hekinashi Candel Chart + 1% Strategy In Stock Marcket + Advanced Volatility + RSI + Stochastic Filtered Signal
Overview
The PRINCESS STRATEGY combines Stochastic Oscillator, RSI, and Williams Vix Fix (WVF) with price-action filters to identify high-probability reversal points. This script highlights aggressive entry opportunities directly on the price chart using clean label signals.
Core Components
Stochastic Slow
Standard %K and %D lines to evaluate overbought/oversold market conditions.
Fully customizable lookback period, smoothing, and signal thresholds.
RSI (Relative Strength Index)
Measures momentum to confirm reversal zones and filter weak setups.
User-defined overbought/oversold levels to fit any market.
Williams Vix Fix (WVF)
A volatility-based indicator that approximates market bottoms or panic moves.
Includes Bollinger Band filters, percentile ranges, and deviation factors to refine signals.
Price Action Filters
Short-, medium-, and long-term lookback conditions to ensure entries occur only at favorable locations.
Aggressive filters require both strong candle behavior and volatility triggers.
Signal Logic (Aggressive Mode)
Triggered when:
The bar closes strongly higher than recent candles (price action strength filter).
Volatility conditions (WVF upper band or percentile break) confirm a panic low.
Market is trading below key medium- or long-term reference points, creating a mean-reversion setup.
When all conditions align, an “▲” label appears below the bar, highlighting an aggressive long entry opportunity.
Why Use This Indicator?
Pure price-action + volatility filtering – avoids false stochastic/RSI signals in trending markets.
Clean visual alerts – only aggressive, high-conviction entries are displayed on the chart.
Fully customizable parameters – tune stochastic, RSI, and WVF settings for intraday, swing, or positional trading.
How to Trade It
Use “▲” labels as early buy signals.
Confirm with additional confluence such as higher-timeframe trend direction, support/resistance, or volume analysis.
Add TradingView alerts using the Aggressive Alert condition to get notified in real-time.
Not designed as a standalone buy/sell system—works best as part of a broader strategy.
Best Markets & Timeframes
Works on Forex, Indices, Commodities, Crypto, and Stocks.
Can be applied on 5-minute to Daily charts—parameters may need adjustment for different markets.
ChrisFxGold"This indicator has been specifically developed for gold (XAU/USD) analysis on the 15-minute timeframe, providing the best trend confirmations and signaling opportunities for buy and sell entries. It integrates multiple real-time timeframes of the most relevant symbols, detecting trend reversals and highlighting them with color variations for easier interpretation. It includes strategic entry points, as well as session open levels for London, Tokyo, and New York, along with key monthly and weekly opening levels, offering a comprehensive market view for informed and precise decision-making."
ChrisFxGold"This indicator has been specifically developed for gold (XAU/USD) analysis on the 15-minute timeframe, providing the best trend confirmations and signaling opportunities for buy and sell entries. It integrates multiple real-time timeframes of the most relevant symbols, detecting trend reversals and highlighting them with color variations for easier interpretation. It includes strategic entry points, as well as session open levels for London, Tokyo, and New York, along with key monthly and weekly opening levels, offering a comprehensive market view for informed and precise decision-making."
NR Envelope RSI OscillatorSpecifies RSI Oscillator for entry and exit , best used with Market Profile indicator