Farjeat Liquidity HeatmapEncuentra las zonas de liquidez y te muestra donde podría dirigirse el precio.
Volatility
[SpaghettiForex] ABR - Activity Bar Range ABR — Activity Bar Range is a context indicator that highlights on the chart the High–Low range of the most recently active candle, selected within a user-defined lookback.
ABR does not use volume. It estimates activity purely from price movement (True Range or Absolute Return), normalised by ATR. The goal is to provide a clean, objective reference area showing where price has recently expressed the most meaningful impulse.
What it displays:
- An Activity Range Zone: the area between High and Low of the candle with the highest activity score in the selected lookback.
- Optional BRK (breakout) and BDN (breakdown) labels when price breaks the zone while meeting basic quality filters.
________________________________________
Screenshots (examples):
Screenshot 1 — Range context (no labels)
A sideways/ranging phase where ABR provides a single reference zone.
This is a context tool: the zone is the focus, not the signals.
Note: in Dynamic mode the zone updates when a new “highest activity” candle appears inside the lookback.
Screenshot 2 — Clean breakout (BRK)
Example of a BRK label on a breakout above the Activity Range Zone.
Recommended: signals set to bar-close only for cleaner real-time behaviour.
Screenshot 3 — Edge case / false breakout (honest limitation)
Example where a breakout attempt fails and price returns into the zone.
ABR helps with context, but it cannot eliminate false moves—risk management still matters.
________________________________________
How the Activity Range Zone is built:
1. ABR computes an activity score for each candle using either:
- True Range / ATR, or
- Absolute Return / ATR
2. Within the selected lookback, it finds the candle with the highest activity score.
3. It draws the High–Low range of that candle on the chart as the Activity Range Zone.
Practical use
ABR is designed as a context filter for breakout/breakdown reads:
- it can help reduce breakouts triggered on “empty” or low-quality areas,
- it keeps charts clean by providing one key zone at a time,
- it makes the question simple: “Is price truly breaking the range of the most active candle in the recent window?”
BRK / BDN labels (optional):
BRK/BDN labels are not financial advice and do not “decide” trades. They are visual markers triggered when a zone break meets user-defined conditions such as:
- bar-close confirmation (recommended to reduce historical vs real-time differences),
- minimum relative activity vs an SMA (ratio filter),
- close-position quality within the candle,
- minimum distance (ticks) beyond the zone.
Zone update behaviour (Lock Mode):
- Dynamic: the zone updates continuously to follow the most active candle within the lookback.
- Lock After Signal: after a BRK or BDN event, the zone can remain fixed for a more stable reference.
Main settings overview:
- Lookback and activity proxy (no volume)
- Signal filters (bar-close confirmation, activity ratio, candle quality, minimum distance)
- Lock Mode (dynamic vs locked after signal)
- Visual controls (zone fill/lines, colours, labels)
Important note:
ABR is a price-action context tool. It does not provide performance promises and should be used as part of a broader process and sound risk management.
Volatility Visualizer Percentiles (VIXFix, ATR, VIX)Summary
A volatility regime dashboard for liquid instruments that converts three volatility lenses into 0 to 100 percentile ranks versus the last 252 closed daily bars. It is built to answer one question: is volatility unusually low or unusually high relative to the last year . Use it to adjust position sizing, stop width, and trade selectivity. It is not a directional signal.
Scope and intent
Markets : US indices and index ETFs, index futures, large cap equities, liquid crypto proxies, and other symbols where daily volatility regimes matter
Timeframes : best on Daily. It can be applied on other chart timeframes, but the reference window remains 252 closed daily bars
Default demo : SPX on Daily
Purpose : provide a simple, testable volatility context layer that you can plug into any daily system as a risk filter or risk scaler
What makes it original and useful
Most “volatility tools” show raw ATR or a single volatility index. This script standardizes three distinct sources into the same unit (percentile), so you can compare them and combine them without guessing thresholds.
Unique fusion : internal realized volatility (ATR%), internal stress proxy (VIXFix), and external implied volatility (input VIX symbol) expressed in the same 0 to 100 scale
Practical outcome : the table gives a regime read and an action posture, so the output is directly usable for risk decisions
Testable : all components are visible and thresholdable; you can backtest rules like “only trade when composite is between 30 and 75”
Portable : percentiles remove the need to hardcode market specific “ATR is high” numbers across different symbols
Method overview in plain language
Base measures
VIXFix : a price based fear proxy derived from the instrument’s own daily behavior (using the relationship between recent high closes and current lows)
ATR% : daily ATR normalized by daily close, expressed as a percentage for cross symbol comparability
External VIX : a user selected volatility index or proxy pulled via input symbol (default CBOE:VIX)
Normalization to percentiles
For each metric, the script stores the last 252 closed daily values
It then computes where the most recent closed daily value sits inside that history as a percentile from 0 to 100
Tie handling is configurable (Midrank, StrictLess, LessOrEqual) to define how repeated values are ranked
Fusion rule
Composite percentile is the simple average of the available percentiles (VIXFix, ATR%, VIX)
If one component is missing (for example the external symbol is unavailable), the composite averages the remaining components
How to use it on Daily
This tool is most effective as a risk regime layer on top of an existing strategy. Use the Composite row as the primary dial, and the individual components as confirmation.
Recommended operating zones
0–20 Very Low : quiet regime. Tight stops often survive, but breakouts can underperform. Favor mean reversion or require stronger breakout confirmation.
20–40 Low : constructive for many systems. Use baseline sizing and baseline stops.
40–60 Mid : neutral. Run your base playbook.
60–80 High : volatility expansion. Reduce size and widen stops, or trade only higher quality setups.
80–100 Very High : stress regime. Smallest size, widest stops, and skip marginal setups. Gap risk and slippage risk are higher.
How to interpret disagreements
If ATR% is high but VIX is mid , realized vol is elevated but the market is not pricing extreme fear. Treat as a caution zone, not panic.
If VIX is high but ATR% is mid , implied vol is elevated ahead of potential events. Expect expansion risk even if realized vol has not moved yet.
If all three are high , treat it as a full stress regime and enforce strict risk limits.
What you will see on the chart
A compact table with one row per metric and optional composite
For each row: last closed daily value, 252D percentile, a progress bar, and an action posture
Optional stats: min, median, max for the 252D window (useful for sanity checks, adds CPU)
Table fields quick guide
Last closed daily : the value used for ranking, taken from the last fully closed daily bar
252D percentile : where the current reading ranks versus the last 252 closed daily readings
Bar : quick visual map of percentile from 0 to 100
Action : risk posture suggestion tied to the percentile bucket
Inputs with guidance
Core
Window (closed daily bars) : default 252. Higher values make the regime slower and more structural. Lower values make it more reactive.
VIX
VIX symbol : default CBOE:VIX. You can replace it with another implied volatility proxy appropriate for your market.
VIXFix
VIXFix lookback : typical range 21/22. Smaller reacts faster, larger smooths regimes.
ATR
ATR length : typical range 10–21 on Daily
ATR as % of close : recommended on for comparability across symbols and long history
UI
Show composite volatility score : recommended on. Best single dial.
Show action guide : recommended on if you want direct posture cues.
Show min, median, max : optional. Useful for diagnostics, higher CPU.
Table position : place it where it does not cover price.
Usage recipes
Daily trend following overlay
Trade your trend system normally when Composite is between 25 and 75
If Composite is above 75, reduce size and widen stops, and require stronger trend confirmation
Daily mean reversion overlay
Focus on Composite below 40
Avoid Composite above 80 where gaps and cascading moves reduce mean reversion reliability
Daily risk parity style scaling
Use Composite percentile as a coarse risk throttle: higher percentile equals lower exposure
Example posture: 0–40 normal exposure, 40–80 reduced exposure, above 80 minimal exposure
Alerts
This script is intentionally a dashboard and does not emit buy or sell signals. If you want alerts, create them from percentile thresholds in your own fork. For conservative workflows, trigger alerts on bar close.
// Example alert conditions (add to your fork if desired)
high_vol = comp_pct > 80
low_vol = comp_pct < 20
Honest limitations and failure modes
This is not a directional predictor. Volatility can rise in both bull and bear markets.
Percentiles are relative to the last 252 closed daily bars. A “high percentile” is high versus recent history, not an absolute guarantee of future movement.
Implied volatility (VIX) can move ahead of realized volatility (ATR%). Treat divergence as information, not a signal.
Very high volatility regimes can include gap risk and slippage risk that are not visible in indicator values alone.
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use.
Rate of Change - ROC🎯 Overview
This is an advanced Rate of Change - ROC indicator that measures percentage price movement over time, combined with dynamic moving average filtering. Unlike basic ROC implementations, this version features gradient momentum zones, multiple color themes, and a clear signal dashboard for precise momentum velocity identification.
🧩 Core Components
1. ⚙️ Technical Foundation
📊 Primary Calculation: Uses TradingView's built-in ta.roc() function which calculates percentage change between current price and price N periods ago
📈 Dual Analysis Components:
ROC Line: Percentage change oscillator
MA Filter: Customizable moving average acting as momentum trend line
Momentum Zones: Gradient fills for strong positive and strong negative momentum
⚡ Velocity Measurement: Unique ability to quantify the speed of price movement as a percentage
2. 🎛️ Configuration Parameters
📏 ROC Length: Default 35 periods (optimized for momentum detection)
🔄 MA Filter Settings:
Length: Customizable (default 365 periods)
Type: 6 options available (EMA, SMA, RMA, WMA, VWMA, HMA)
🎨 Color Themes: 5 visual schemes consistent with your indicator suite:
Classic, Modern, Robust, Accented, Monochrome
📊 Signal Interpretation:
🟢 BULLISH: ROC > MA Filter (momentum accelerating upward)
🔴 BEARISH: ROC < MA Filter (momentum accelerating downward)
🚀 STRONG BULLISH: ROC > 40% (extreme positive momentum)
📉 STRONG BEARISH: ROC < -20% (extreme negative momentum)
3. 🎨 Visual Elements
🚨 Gradient Zones:
Strong Bullish zone : Green gradient intensifying toward higher percentages
Strong Bearish zone : Red gradient intensifying toward lower percentages
📋 Dashboard Display: Top-right status indicator showing "⬆️ Bullish" or "⬇️ Bearish"
📊 Dynamic Coloring: ROC line changes color based on position relative to MA
⚡ Zero Line Reference: Natural equilibrium at 0% change
⚡ Trading Applications
📈 Primary Uses:
🎯 Momentum Velocity Measurement:
ROC > MA = Accelerating bullish momentum
ROC < MA = Accelerating bearish momentum
💪 Momentum Strength Quantification:
Higher positive percentages = Stronger uptrend acceleration
Lower negative percentages = Stronger downtrend acceleration
Measures rate of change rather than just direction
🚨 Extreme Momentum Signals:
Strong Bullish: (rapid price appreciation)
Strong Bearish: (rapid price depreciation)
📊 Zone Analysis:
🟢 Strong Bullish Zone :
Green gradient fills
Indicates rapid price acceleration upward
Often precedes consolidation or pullback
🔴 Strong Bearish Zone :
Red gradient fills
Indicates rapid price acceleration downward
Often precedes bounce or reversal
🟡 Equilibrium: Yellow MA line acts as momentum trend filter
🎨 Customization Options
👁️ Display Features:
📊 Dual Components: Always shows both ROC line and MA filter
🎨 Gradient Visualization: Automatic fill for extreme momentum conditions
📋 Status Dashboard: Clear bullish/bearish momentum acceleration indication
📈 Customizable MA: Choose from 6 different moving average types
📏 Adjustable Thresholds: 40% and -20% levels optimized for ROC analysis
🎨 Visual Themes: (Consistent suite)
🎨 Classic: Green/Red (traditional momentum colors)
🚀 Modern: Cyan/Purple (contemporary)
💪 Robust: Amber/Deep Purple (high contrast)
🌈 Accented: Purple/Magenta (vibrant)
⚫⚪ Monochrome: Light Gray/Dark Gray (minimalist)
🔔 Alert System
🟢 LONG Alert: Triggers when ROC crosses above MA
🔴 SHORT Alert: Triggers when ROC crosses below MA
📧 Format: Includes ticker symbol for tracking
⚡ Key Advantages
✅ Strengths:
🎯 Velocity-Based Analysis: Measures speed of price movement, not just direction
💪 Percentage-Based: Provides intuitive understanding of momentum strength
👁️ Trend Acceleration Identification: MA filter shows when momentum is accelerating/decelerating
🔄 Flexible Timeframes: 35-period default optimized for momentum detection
📊 Professional Dashboard: Immediate momentum acceleration status
📊 Optimal Settings:
⚡ Short-term Momentum: ROC Length 10-20, MA Length 20-50
📊 Medium-term Momentum: ROC Length 20-35, MA Length 50-100
📈 Long-term Momentum: ROC Length 35-50, MA Length 100-365
🏆 Unique Features:
🎯 Percentage-Based Measurement: Shows exact rate of price change
📊 Asymmetric Thresholds: 40% bullish / -20% bearish (reflects typical market asymmetry)
🎨 Consistent Design: Matches your indicator family aesthetics
📋 Momentum Dashboard: Quick visual confirmation of acceleration/deceleration
🔧 Speed Analysis: Focuses on velocity rather than just position
🔄 Trading Strategies
1. Momentum Acceleration Strategy:
Go LONG when ROC crosses above MA with ROC > 0%
Go SHORT when ROC crosses below MA with ROC < 0%
Strong signals when crossing occurs in extreme zones
2. Velocity Divergence:
Price makes higher high, ROC makes lower high → Momentum divergence (trend weakening)
Price makes lower low, ROC makes higher low → Momentum divergence (downtrend losing steam)
3. Trend Acceleration Detection:
Rising ROC above MA = Uptrend accelerating
Falling ROC below MA = Downtrend accelerating
Flat ROC near MA = Trend consolidation
📈 Performance Tips
Context Matters: High ROC during strong trends is normal, during ranges may signal exhaustion
Zero Line Cross: ROC crossing 0% often signals trend change
Extreme Readings: ROC > 40% often precedes consolidation, ROC < -20% often precedes bounce
Timeframe Alignment: Use consistent periods across charts for comparable readings
Confirmation: Combine with price structure and volume for highest probability trades
This enhanced ROC indicator provides professional-grade momentum velocity analysis with intuitive visualization, allowing traders to quantify the speed of price movements, identify acceleration/deceleration phases, and filter signals through the customizable moving average for precise momentum-based trading decisions! 📊⚡
Prop Firms No-Trade News (NFP/CPI/FOMC) - 30m WarningProp Firms No-Trade News (NFP / CPI / FOMC) — 30m Warning
This indicator is designed for traders operating under **prop firm rules**, where trading during high-impact economic news is restricted or prohibited.
It highlights **no-trade windows** around the most critical U.S. macroeconomic events and helps you stay compliant, disciplined, and risk-aware.
Covered High-Impact Events
* **Non-Farm Payrolls (NFP)**
→ Automatically calculated (1st Friday of each month at 08:30 ET)
* **Consumer Price Index (CPI)**
→ Manually configurable
* **FOMC Rate Decision / Policy Statement**
→ Manually configurable
How It Works
* **30-minute warning alert** before each event
* **No-trade window shading** on the chart
* **Optional labels** for:
* Upcoming no-trade period
* Exact news release moment
* **Customizable buffers**:
* Minutes before the event
* Minutes after the event
Alerts Included
* 30-minute pre-news warning
* No-trade window start
* No-trade window end
* News release time
All alerts can be used for **manual trading discipline** or automated workflows.
Who This Is For
* Prop firm traders (evaluation or funded)
* Futures and index traders
* Traders who want **rule-based protection against emotional or impulsive trading during news**
Notes
* News times are based on **U.S. Eastern Time (ET)**
* CPI and FOMC dates must be updated manually according to the official economic calendar
* This tool does **not execute trades** — it enforces awareness and discipline
Adaptive Momentum SuperTrend | RakoQuantAdaptive Momentum SuperTrend | RakoQuant is a volatility-based trend regime system enhanced with a momentum-adaptive sensitivity engine, designed to capture clean transitions while dynamically adjusting responsiveness based on market strength. Built within the RakoQuant protected research line, it combines a robust Median True Range SuperTrend core, institutional trend logic, adaptive momentum modulation, and premium signal clarity across all market environments.
Core Concept
This indicator answers one question:
Is the market in a directional regime with expanding momentum, or weakening into volatility-driven chop?
Unlike standard SuperTrend tools that apply a fixed volatility factor at all times, Adaptive Momentum SuperTrend adapts band sensitivity depending on whether momentum is accelerating or fading—while keeping behavior bounded inside a controlled multiplier range.
How It Works
1) Median SuperTrend Engine (Robust Core)
The foundation is the RakoQuant Median SuperTrend architecture:
* Median Baseline reduces noise versus conventional smoothing
* Median True Range (MTR) suppresses wick distortion versus ATR
* Bands are formed as:
* Upper = Baseline + Factor × MTR
* Lower = Baseline − Factor × MTR
Trend direction persists using classic trailing-band SuperTrend logic, producing a structural regime model (state-based, not a one-bar signal).
2) Adaptive Momentum Sensitivity Layer
Momentum can be computed using:
* ROC (Rate of Change) or RSI (Relative Strength Index)
Momentum strength is normalized into a 0 → 1 intensity score:
* Strong momentum → tighter sensitivity (faster regime capture)
* Weak momentum → wider sensitivity (whipsaw suppression)
The effective SuperTrend factor becomes adaptive:
EffectiveFactor = BaseFactor × MomentumMultiplier
…with the multiplier clamped inside a predefined range for risk-controlled behavior.
3) Momentum Intensity Visual Engine
A protected RakoQuant visualization layer scales trend-band opacity with momentum strength:
* Strong expansion = solid active band
* Weak momentum = faded regime signal
Result: not all flips are equal—strength is visible structurally.
4) Optional Institutional Filters
Two optional confirmation modules are included:
Momentum Confirmation
* Bull flips require bullish momentum
* Bear flips require bearish momentum
MA Stack Filter (EMA Stack)
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These filters make the tool suitable for:
* RSPS directional bias systems
* Portfolio regime classification
* Institutional trend-following frameworks
5) Strong Flip Tier Alerts
Signals support tiered quality:
* Standard flip alerts
* Strong flip alerts when momentum strength exceeds a threshold
This provides a higher-confidence regime transition model for swing execution and exposure scaling.
How To Use
* ✅ Trend regime overlay
* ✅ Momentum-confirmed SuperTrend flips
* ✅ Adaptive volatility trend filter
* ✅ Portfolio directional bias engine
Best use cases:
* 4H–1D swing systems
* Trend continuation frameworks
* Regime-based exposure scaling
Suggested workflow:
* Long bias only when bull regime + momentum expanding
* Defensive/cash when regime flips bearish
* Combine with execution tools (breakout/mean-reversion) for entries
Screenshot Placement
📸 Example chart / screenshot
ALMA SD Bands | RakoQuantALMA SD Bands | RakoQuant is a volatility-regime band system built from first principles using an institutional smoothing framework: an ALMA baseline combined with ALMA-smoothed standard deviation width, designed for clean trend containment and controlled regime classification.
This tool is part of the RakoQuant protected research line, focusing on minimal noise, persistent state logic, and volatility-aware market structure rather than traditional reactive Bollinger-style band behavior.
Core Concept
This indicator answers one key structural question:
Is price operating inside a stable volatility regime, or transitioning into a new directional band expansion phase?
Unlike classical deviation band systems that fluctuate aggressively candle-to-candle, ALMA SD Bands introduce:
* Ultra-smooth baseline structure
* Smoothed volatility width
* Persistent directional regime logic
* Deadband-based flip stabilization
The result is a clean institutional containment model rather than noisy retail band plotting.
How It Works
1. ALMA Baseline (Institutional Mean Structure)
The centerline of the system is computed using:
Arnaud Legoux Moving Average (ALMA)
ALMA provides:
* Reduced lag compared to EMA
* Superior smoothness compared to SMA
* Stable regime structure across crypto volatility
This baseline acts as the equilibrium axis of the band system.
2. Standard Deviation Volatility Width (Smoothed)
Band width is driven by volatility, measured through standard deviation, with two selectable modes:
* Price Standard Deviation
* Return Standard Deviation (log-return volatility)
Rather than using raw deviation directly, volatility is passed through a second ALMA smoothing layer:
Smoothed Volatility = ALMA(StdDev)
This eliminates the jitter and band shaking that defines most Bollinger-type systems.
3. Adaptive Containment Bands
Final bands are constructed as:
* Upper Band = ALMA Basis + Multiplier × Smoothed Volatility
* Lower Band = ALMA Basis − Multiplier × Smoothed Volatility
Unlike traditional ±2σ envelopes, the multiplier is intentionally adjustable and tuned for regime containment rather than extreme tagging.
4. Deadband Regime Engine (Persistent State Logic)
A defining feature of this protected release is its regime persistence model.
Instead of flipping trend bias instantly, the script applies a volatility-scaled deadband buffer:
* Bull regime activates only above Basis + Deadband
* Bear regime activates only below Basis − Deadband
This removes micro-flips and produces a true structural regime state:
* Bullish containment (green)
* Bearish containment (red)
* Neutral transition zone suppression
Regime state persists until a confirmed boundary transition occurs.
Visual Engine
ALMA SD Bands follows the RakoQuant minimal institutional plotting standard:
* Active volatility bands only
* Smooth containment fill
* Optional candle painting by regime bias
* Ultra-clean overlays suitable for confluence stacking
This indicator is designed as a structural layer, not a clutter generator.
How To Use
✅ Volatility containment framework
✅ Trend regime bias overlay
✅ Expansion / contraction classifier
✅ Portfolio directional filter (RSPS compatible)
Recommended workflow:
* Trade long only during bullish regime containment
* Defensive during bearish containment
* Watch for regime flips as volatility transition events
* Combine with momentum triggers for execution
Best environments:
* 4H–1D swing trend structure
* Volatility breakout classification
* Institutional band containment systems
Screenshot Placement
📸 Example chart / screenshot:
WMA MAD Trend | RakoQuantWMA MAD Trend | RakoQuant is a robust volatility-regime trend system built on Weighted Moving Average structure and Median Absolute Deviation dispersion, engineered to produce clean directional states while suppressing wick-driven noise and unstable ATR distortions.
This tool belongs to the RakoQuant protected research line, combining a smooth WMA baseline, statistically robust volatility envelopes (MAD bands), SuperTrend-style regime logic, and a strength-aware visualization layer designed for consistent performance across trending, mean-reverting, and mixed market environments.
Core Concept
This indicator answers one fundamental question:
Is price holding a statistically meaningful deviation from its WMA baseline, or reverting back into range?
Unlike classic SuperTrend variants that rely on ATR (highly sensitive to spikes and wicks), WMA MAD Trend uses Median Absolute Deviation as its volatility engine — a robust dispersion measure that remains stable in the presence of outliers.
How It Works
1) WMA Baseline (Directional Structure)
At its core, the indicator defines the market’s structural center using a Weighted Moving Average:
* WMA Baseline tracks directional bias with smoother, trend-weighted responsiveness
* The baseline can optionally be smoothed further in intraday mode to reduce micro-chop
This provides a stable anchor for dispersion-based regime classification.
2) MAD Volatility Engine (Robust Dispersion Core)
Instead of ATR, volatility is measured via Median Absolute Deviation (MAD) around the baseline:
* Compute absolute deviation:
|Close − Baseline|
* Take rolling median of deviation over madLen
* Optional normalization scales MAD toward a stdev-like measure (via constant factor)
This makes volatility estimation:
* Outlier-resistant
* Wick-resistant
* Regime-stable during abnormal price spikes
3) MAD Bands + SuperTrend Trailing Logic (Regime State Model)
Bands are built as:
* Upper Band = Baseline + Factor × MAD
* Lower Band = Baseline − Factor × MAD
Then classic SuperTrend-style trailing constraints are applied so the active band persists until a true regime break occurs.
That produces a state engine:
* Bull regime when price breaks above the trailing upper logic (transition into trend-up state)
* Bear regime when price breaks below the trailing lower logic (transition into trend-down state)
This behaves like a structural market regime model, not a reactive oscillator.
4) Strength Engine (Deviation-Based Intensity)
A defining layer of this tool is the MAD Z-score intensity system:
* Compute Z-score:
z = |Close − Baseline| / MAD
* Map into a 0 → 1 strength scale
Interpretation:
* Low deviation = weak regime confidence (likely chop / mean reversion)
* High deviation = strong regime confidence (trend expansion)
5) Intensity Visual Engine (Signal Clarity Layer)
WMA MAD Trend includes a protected visual engine that scales opacity with strength:
* Strong expansion = solid trend band
* Weak deviation = faded band
This gives immediate clarity:
Not all flips are equal — strength is displayed structurally.
6) Optional Institutional Filters
Two optional confirmation modules allow institutional-grade filtering:
Baseline Confirmation
* Bull flips only accepted if price is above baseline
* Bear flips only accepted if price is below baseline
EMA Stack Filter
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These modules make the tool suitable for:
* Directional portfolio bias frameworks (RSPS)
* Regime classification overlays
* Trend confirmation filters for execution systems
7) Strong Flip Tier Alerts
Signal quality is tiered:
* Standard flip alerts
* Strong flip alerts only when deviation strength exceeds a threshold
This produces a higher-confidence regime transition model for swing positioning and exposure scaling.
How To Use
✅ Trend regime overlay
✅ Wick-resistant volatility trend filter
✅ MAD-based deviation strength engine
✅ Directional bias tool for portfolio systems
Best use cases:
* 1H–1D trend frameworks
* Regime filters for signal stacking
* Chop suppression in volatile markets
Suggested workflow:
* Bull bias when the regime is bullish and strength is rising
* Reduce risk / defensive when strength fades or a bearish flip occurs
* Pair with execution tools (breakout/mean-reversion entries) for timing
Screenshot Placement
📸 Example chart / screenshot: snapshot
JD MOON - Global Volume ChartJD MOON Global Aggregated Volume (Top 5 Exchanges)
Short Description
An advanced indicator that aggregates real-time trading volume from the world's top 5 exchanges (Binance, Bybit, OKX, Coinbase, and Kraken). It provides a unified view of market liquidity and identifies significant whale movements in a single chart.
Detailed Description
The JD MOON Global Aggregated Volume is engineered for crypto traders who demand a true reflection of market dynamics. Unlike standard volume indicators that rely on data from a single exchange, this script synthesizes data from the five largest global platforms to deliver the Actual Real Volume. This comprehensive approach minimizes data bias and provides a clearer picture of market conviction.
Key Features:
Global Multi-Exchange Data: Seamlessly integrates volume data from Binance, Bybit, OKX, Coinbase, and Kraken for a holistic market view.
Whale Detection Signal (Golden Bar): Automatically highlights volume spikes that exceed 2.5x the average with a distinct "Golden Column," signaling the entry of institutional investors and market whales.
Dynamic Volume MA: Features a Volume Moving Average (MA) line, allowing traders to instantly gauge whether current activity is above or below historical norms.
Compact Formatting: Displays volume metrics using intuitive K, M, and B abbreviations on a clean, professional dashboard for quick data digestion.
Mael - Momentum indicator (M5)Detection du momentum uniquement en M5. Fait pour faciliter l'analyse et pour éviter d'oublier de le compter
Momentum detection is only available on the 5-minute timeframe. This is designed to simplify analysis and prevent forgetting to factor it in.
Hai Anh - VN StockThis indicator is designed to help traders identify trend direction and potential entry/exit points.
It combines multiple conditions to filter market noise and highlight high-probability trend movements.
The script works best on liquid markets such as indices, forex, and crypto, and can be applied on multiple timeframes.
This indicator is intended as a decision-support tool and should be used together with proper risk management.
It does not provide financial advice.
Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
GRAND CHAMPGRAND CHAMP is a multi-layered trading system that combines three powerful technical analysis concepts into a single, cohesive indicator. It is designed to help traders identify the macro trend, filter out noise, and pinpoint precision scalping entries based on Fibonacci retracements.
By merging Trend Following (Supertrend), Price Action (Fibonacci), and Momentum Smoothing (Heikin Ashi MA), this script allows you to view market structure without chart clutter.
Included Modules:
1. Clean Supertrend Signals (The Trend Engine)
This module uses a specific combination of ATR-based Supertrends to determine the overall market direction.
The Signals: Buy and Sell labels are generated based on a "Mid-Term" Supertrend (ATR 10, Factor 2.7). This provides the primary trade bias.
The Cloud: A background fill (Cloud) is plotted between the Mid-Term and "Slow" Supertrend (ATR 10, Factor 3.0). A Green Cloud indicates a strong Bullish zone, while a Red Cloud indicates a Bearish zone.
2. Automated 1-Minute Scalping Fibs (The Sniper Entry)
This component automates the popular "Golden Pocket" scalping strategy.
Pivot Detection: It automatically identifies Swing Highs and Swing Lows based on configurable lookback periods.
Fibonacci Levels: Once a range is defined, the script draws the 0.618 (61.8%) retracement level (Entry) and the 1.272 extension level (Take Profit).
Signals: A "BUY 0.618" or "SELL 0.618" label appears when price tests the Golden Pocket, offering high-probability reaction points within the trend.
3. Heikin Ashi Close Line (The Noise Filter)
A smoothed moving average line calculated using Heikin Ashi data (Open/Close).
This line changes color (Teal for Bullish, Red for Bearish) to visualize the immediate momentum.
It helps confirm if a breakout is real or just volatility noise.
How to Use This Indicator
The "Grand Champ" Strategy:
The most powerful way to use this script is to look for confluence between the three modules.
Check the Background Cloud: Is the Supertrend Cloud Green (Bullish) or Red (Bearish)? Trade in the direction of the cloud.
Wait for the Fib Setup: Wait for the yellow Fibonacci lines to appear, indicating a swing has formed.
The Entry Trigger:
Long: If the Cloud is Green and price retraces down to the Yellow 0.618 line, look for a bounce.
Short: If the Cloud is Red and price rallies up to the Yellow 0.618 line, look for a rejection.
Confirmation: Ensure the Close Line agrees with your trade direction (Teal for Longs, Red for Shorts).
Settings & Configuration
Supertrend Visuals: Customize the colors for the buy/sell signals and the cloud fill.
Fib Scalp: Adjust the sensitivity of the pivot points (Left/Right Bars) to fit your timeframe. You can also adjust the Entry (default 0.618) and Take Profit (default 1.272) levels.
Close Line: Choose from various Moving Average types (EMA, SMA, ALMA, VWMA, etc.) and lengths to tune the smoothing to your preference.
White Core Trend [wjdtks255]
White Core Trend is a trend-following indicator designed to strip away market noise and visualize the "Core Trend" of price action. It focuses on the essential relationship between price and a dynamic baseline to provide clear trading decisions.
White Core Line: Built on a responsive HMA (Hull Moving Average) logic, this line acts as the definitive trend filter. It reacts swiftly to price changes while maintaining a smooth trajectory to reduce false signals.
Intuitive Visual Signals: The indicator identifies trend exhaustion and reversal points by plotting triangle labels (▲/▼). These signals help traders maintain discipline and avoid emotional decision-making.
Minimalist Design: Optimized for clarity, the indicator eliminates unnecessary clutter like background colors or complex data overlays, keeping the focus strictly on the trend and entry levels.
As a core technical tool, this indicator is used to identify the market's direction and establish precise entry/exit benchmarks.
1. Entry Strategy
Long Entry: Enter when the price crosses above the White Core Line and a green triangle appears.
Short Entry: Enter when the price crosses below the White Core Line and a red triangle appears.
Note: Ensure the candle body closes decisively across the line to confirm the signal.
2. Position Management
Trend Following: Stay in the trade as long as the price remains on the correct side of the White Core Line.
Reference Point: Use the horizontal white "Entry" line as a visual anchor for your current position.
3. Exit & Stop Loss
Stop Loss: Exit immediately if the price crosses back over the White Core Line against your position.
Take Profit: Secure profits when the price reaches your target or when the trend starts to flatten out (sideways movement) near the core line.
JD - Market SessionJD - Market Session (Pro Analysis Tool)
Overview
The JD - Market Session is a high-performance visual analysis tool designed to help traders identify market structure and session-specific liquidity with precision. Unlike standard session indicators that wrap tightly around price action, this script provides a Uniform High/Low Alignment, ensuring that session boxes always extend to the day's maximum boundaries for a cleaner, more professional chart layout.
Key Features
Intraday Global Boundaries: Automatically calculates the daily High and Low, creating a clear "Daily Box" container for the entire trading day.
Synchronized Session Height: Features dedicated logic for Asia, London, and New York sessions. All session boxes are dynamically anchored to the daily High/Low, maintaining a consistent height regardless of price fluctuations during that specific window.
Previous Day Data (PD OHLC): Projects the Previous Day High (PDH), Low (PDL), Open (PDO), and Close (PDC) as high-visibility dotted lines. These levels are plotted with a 4-bar offset to the right of the current price for an unobstructed view.
Adaptive Real-time Updates: As new daily highs or lows are formed, the script retroactively scales the existing session boxes for that day, ensuring perfect alignment with the final intraday range.
High-Contrast Visualization: Uses a specifically curated color palette to distinguish between sessions and key historical levels without cluttering the workspace.
How to Use
Identify Liquidity: Use the PDH and PDL levels to monitor for liquidity sweeps.
Session Context: Observe how price reacts when entering a new session within the context of the day’s total range.
Structure Analysis: The uniform box height allows for easier identification of "Internal" vs "External" range movements.
Policy Compliance Note
This script is a purely visual analysis tool. It does not provide financial advice, trade signals, or "Buy/Sell" recommendations. It is designed to assist manual chart analysis based on user-defined sessions.
THIN ORDER BOOK BADGEI created this order book badge indicator to remind me that I'm trading fast moving alt coins so that I don't trade on big timeframes, but instead trade smaller timeframes.
Big caps with deep liquidity or big order books move slow enough to scale down from a big timeframe.
Type the exchange and ticker in the list and the badge will only appear on charts with thin order books or volatile assets
Log % Step EngineDescription:
This indicator is a technical analysis tool designed to filter price noise using a logarithmic percentage-step algorithm. Unlike standard linear indicators, this script calculates price movement in geometric terms, ensuring consistent trend sensitivity across all price levels
How it works:
Logarithmic Logic: The indicator triggers a trend change only after the price moves by a specific percentage, calculated in log space. This is ideal for volatile assets like Bitcoin or growth stocks.
Automated Risk Management: Upon a signal, the script automatically identifies a dynamic Stop-Loss based on recent swing highs/lows and projects three Target Profit levels based on 1:1, 1:2, and 1:3 Reward-to-Risk ratios.
Features:
Adaptive Trend Line (Green for Bullish, Red for Bearish).
Visual Buy/Sell Labels with customizable offsets.
Real-time alerts for trend reversals and TP/SL hits.
Adjustable Target Line length for better chart planning.
Educational Disclosure & Risk Warning: This script is provided for educational purposes only. The signals are generated by a fixed mathematical formula and should not be interpreted as financial advice. Trading involves a high risk of capital loss. This tool is designed to help traders visualize risk management frameworks and should be used as part of a broader, verified trading strategy. Past performance does not guarantee future results.
Vilantro Flux Capacitor (Waddah Attar Explosion (WAE))The Vilantro Flux Capacitor is a significant evolution of the classic Waddah Attar Explosion (WAE). While the original WAE is legendary, it was built for a slower era. Modern markets—especially Crypto and Gold (XAUUSD)—are faster, noisier, and more prone to "fake-outs."
This indicator rebuilds the engine from the ground up to solve the two biggest problems traders face: Lag and Choppy Markets.
Why Use This Indicator?
Most trend indicators are too slow (getting you in late) or too sensitive (getting you killed in the chop). The Vilantro Flux solves this by combining Three Technologies:
Speed (TEMA Engine): We replaced the standard MACD/EMA smoothing with TEMA (Triple Exponential Moving Average). This reduces lag significantly, giving you entries 1-2 bars earlier than standard indicators.
Protection (ADX Chop Filter): This is the game-changer. If the trend strength (ADX) is below the threshold, the bars turn GRAY. This tells you to sit on your hands and avoid trading during low-momentum sideways chop.
Validation (Volume Gate): A breakdown without volume is often a trap. This script automatically "dims" (fades) the signal bars if the volume is below the 20-period average.
Key Features
🚦 Smart Color Coding:
Neon Green/Red: Strong, valid trend.
Gray: Market Chop (No Trade Zone).
Faded/Transparent: Low Volume (Caution).
⚡ TEMA-Based MACD: Faster reaction to price reversals.
📊 Live InfoBox: A professional dashboard in the corner displaying real-time Trend status, Explosion power, and ADX strength.
🛡️ Hull DeadZone: Uses Hull Moving Average for the "Dead Zone" calculation, providing a smoother and more accurate baseline noise filter.
How to Trade
🔹 The BUY Signal (Long)
Bar Color: Must be Bright Green.
Explosion: The bar must cross ABOVE the Gold Line (The Explosion Threshold).
Confirmation: The bar must be outside the Blue DeadZone.
No Chop: Ensure the bar is NOT Gray.
🔻 The SELL Signal (Short)
Bar Color: Must be Bright Red.
Explosion: The bar must cross ABOVE the Gold Line.
Confirmation: The bar must be outside the Blue DeadZone.
No Chop: Ensure the bar is NOT Gray.
Settings Guide
Sensitivity: Controls how sensitive the MACD impulse is. (Default: 150)
Filter Low Volume: If enabled, bars with weak volume become transparent.
ADX Threshold: The level below which the market is considered "Choppy." (Default: 10). Raise this to 20 or 25 for stricter filtering.
DeadZone Length: Controls the baseline noise filter.
Credits & Attribution
Original Concept: Waddah Attar (WAE).
Modernization & Code: Vilantro (www.vilantro.com).
Disclaimer: This tool is for educational purposes. Always manage your risk.
CopyPipe Trading Dashboard - Multi-Indicator Signal Panel
🚀 CopyPipe Trading Dashboard
A **free, all-in-one trading dashboard** that displays key indicators and market information in a clean, easy-to-read panel on your chart.
#### ✨ Features:
📊 **Signal Summary Panel**
- Overall market bias (Bullish/Bearish/Neutral)
- Real-time indicator readings
- Current trading session display
- Daily high/low levels
📈 **RSI Analysis**
- Customizable period (default 14)
- Overbought/Oversold detection
- Color-coded status
📉 **MACD Tracking**
- Standard 12/26/9 settings (customizable)
- Bullish/Bearish crossover detection
📏 **Moving Averages**
- Fast & Slow MA with trend detection
- Choose between SMA or EMA
- Visual crossover on chart
🌍 **Trading Sessions**
- London, New York, Asia, Sydney
- Subtle background highlighting
- Know when the big players are active
📐 **Key Levels**
- Previous day's high/low
- Previous close
- Great for support/resistance
#### 🔔 Built-in Alert Templates
This indicator comes with **pre-configured alert conditions** formatted for webhook automation:
- MA Bullish/Bearish Cross
- RSI Overbought/Oversold
- Strong Confluence Signals (multiple indicators aligned)
Alert messages are formatted as **JSON** - perfect for connecting to trading automation platforms.
---
#### ⚡ Want to Auto-Execute These Signals?
**CopyPipe** connects your TradingView alerts directly to MetaTrader 4/5.
✅ Set up alerts on this indicator
✅ Signals execute automatically in MT4/MT5
✅ No coding required
✅ Works with any broker
**Learn more:** copypipe.io
---
#### 📖 How to Use
1. Add the indicator to your chart
2. Customize settings in the indicator panel
3. Position the info panel where you prefer
4. Set up alerts using the built-in conditions
5. (Optional) Connect to CopyPipe for auto-execution
#### ⚙️ Settings
- **Dashboard Settings:** Panel position, size, visibility
- **RSI Settings:** Length, overbought/oversold levels
- **MACD Settings:** Fast, slow, signal periods
- **Moving Averages:** Type (SMA/EMA), lengths
- **Sessions:** Toggle which sessions to highlight
- **Key Levels:** Daily high/low, previous close
- **Colors:** Customize bullish/bearish colors
---
Made with ❤️ by the CopyPipe team
copypipe.io
India VIX CartsanovIndia VIX Cartsanov is a lightweight TradingView indicator designed to give traders a quick, clear snapshot of India VIX (volatility index) directly on the chart.
Instead of switching symbols or panels, this script displays live VIX data in a compact table, making it perfect for NIFTY & Bank NIFTY options traders who rely on volatility for risk management.
Z-Score ProZ-Score Pro - Complete Description
This is an **advanced mean reversion indicator** that measures how many standard deviations the current price is from its average. It's ideal for identifying market extremes and trading opportunities.
What is the Z-Score?
The Z-Score is a statistical measure that answers: **"How far is the price from normal?"**
- **Z = 0**: Price is at its average
- **Z = +2**: Price is 2 standard deviations above (overbought)
- **Z = -2**: Price is 2 standard deviations below (oversold)
- **Z > +3** or **Z < -3**: Very rare extremes (occur ~0.3% of the time)
Main Features
### 1. **Flexible Calculation**
- **SMA or EMA**: Choose between simple or exponential moving average
- **Adjustable period**: Default 20 periods
- **Smoothing**: Option to smooth the Z-Score to reduce noise
### 2. **Multiple Levels**
- **±1.0**: Caution zone
- **±2.0**: Overbought/Oversold (68% statistical confidence)
- **±3.0**: Rare extremes (99.7% statistical confidence)
### 3. **Trading Signals**
The indicator generates automatic signals based on:
**Buy Signals (BUY)**:
- Z-Score is in oversold zone
- Momentum changes from negative to positive (price stops falling)
**Sell Signals (SELL)** :
- Z-Score is in overbought zone
- Momentum changes from positive to negative (price stops rising)
**Aggressiveness Levels**:
- **Conservative**: Only signals at extremes (±3.0)
- **Normal**: Signals at ±2.0 (recommended)
- **Aggressive**: More frequent signals at ±1.5
### 4. **Divergence Detection**
**Bullish Divergence** (aqua marker):
- Price makes a lower low
- Z-Score makes a higher low
- Indicates weakening of downtrend
**Bearish Divergence** (fuchsia marker):
- Price makes a higher high
- Z-Score makes a lower high
- Indicates weakening of uptrend
---
## Visualization
### Dynamic Colors
- **Bright red**: Z-Score > 2 and rising (strong overbought)
- **Orange**: Z-Score > 1 and rising
- **Purple**: Neutral zone rising
- **Transparent green**: Z-Score falling (any level)
### Background Zones
- **Intense red**: Extreme overbought (Z > 3)
- **Soft orange**: Overbought (Z > 2)
- **Intense green**: Extreme oversold (Z < -3)
- **Soft lime**: Oversold (Z < -2)
### Info Table (top right corner)
Shows in real-time:
- **Current Z-Score**: Numeric value with color
- **Status**: Extreme OB/OS, Overbought, Oversold, or Neutral
- **Momentum**: Rising ↗ or Falling ↘
- **Mean**: Current average value
- **Std Dev**: Current standard deviation
---
## Alert System
The indicator includes **8 types of alerts**:
1. **Buy Signal**: When entry conditions are met
2. **Sell Signal**: When exit conditions are met
3. **Overbought**: When crossing above +2.0
4. **Oversold**: When crossing below -2.0
5. **Extreme Overbought**: When reaching +3.0
6. **Extreme Oversold**: When reaching -3.0
7. **Bullish Divergence**: Potential reversal up
8. **Bearish Divergence**: Potential reversal down
---
## How to Use It
### **Mean Reversion Strategy**
1. Wait for Z-Score to reach ±2 or beyond
2. Wait for BUY/SELL signal (momentum reversal)
3. Enter trade in opposite direction of extreme
4. Exit when Z-Score returns to zero
### **Divergence Strategy**
1. Identify divergence markers (DIV)
2. Confirm with momentum change
3. Enter in direction of divergence
4. Use Z-Score levels as targets
### **Multi-Timeframe Analysis**
- **Short-term** (5-15 min): Scalping with aggressive mode
- **Medium-term** (1H-4H): Swing trading with normal mode
- **Long-term** (Daily): Position trading with conservative mode
---
## Best Practices
**Do**:
- Use in ranging/sideways markets
- Combine with support/resistance levels
- Wait for momentum confirmation
- Use conservative mode in trending markets
**Don't**:
- Trade against strong trends
- Ignore divergences
- Use alone without confirmation
- Over-trade in low volatility
---
## Statistical Background
The Z-Score follows a **normal distribution**:
- **68%** of values fall within ±1 standard deviation
- **95%** of values fall within ±2 standard deviations
- **99.7%** of values fall within ±3 standard deviations
When price reaches Z = ±2, there's a **95% probability** it will revert toward the mean, making it a powerful mean reversion tool.
---
##Customization Options
All aspects are customizable:
- Calculation method and periods
- Visual colors and transparency
- Signal sensitivity
- Alert preferences
- Level thresholds
- Background zones on/off
Varma's Trend Indicator (Advanced Multi-Filter Swing)It is an advanced trend-following indicator that uses smoothed Heikin-Ashi data instead of raw price to filter market noise and highlight high-quality trends.
The script calculates a normalized Trend Score (-100 to +100) based on the strength of the Heikin-Ashi candle body relative to its range, giving a clear view of momentum quality—not just direction.
Key Features
Heikin-Ashi trend engine with EMA/ALMA/ZLEMA smoothing
Multi-filter confirmation: Slope, ATR volatility, Dead-Zone, HTF momentum proxy, ADX/DI, and RSI
Two-stage signals:
BUY / SELL → early swing detection
BUY✔ / SELL✔ → momentum-confirmed entry
Color-coded trend ribbon (Green = Bullish, Red = Bearish)
Best Use
Designed for trending markets (Forex sessions, indices, high-volume stocks).
Lagging by design—focuses on probability and trend quality, not scalping.
Tip: If the ribbon flips often, enable the Dead-Zone or ADX filter to avoid sideways markets.






















