OPEN-SOURCE SCRIPT
Mis à jour Greater Moving Average

The purpose for this indicator is to function as a comprehensive market-state detector, with the primary goal of avoiding a market crash.
Mendoza lines identify abrupt V-shaped reversals which often precede high-risk crash structures. By tracking both the formation and resolution of these patterns across multiple timeframes, the indicator provides early warning signals when the market is entering unstable territory, allowing traders to step aside before liquidity collapses or structural breakdowns begin.
Ideal configurations use Heikin Ashi to smooth out candle structure. Observe SPX on a Weekly Chart, which correctly identifies exits and entries during the 2001 and 2009 crashes. On a 6 hour chart, the Tariff low is correctly identified. The improved VWAP uses a cumulative metric rather than the built in ta.vwap calculation, and functions as a macro low beacon when crossed with the 200 EMA. Historically, these crosses have aligned closely with macro cycle lows.
To round out the system, the indicator overlays RSI-based and volume-weighted candle shading to reflect internal momentum and real buying/selling pressure directly on the chart, making shifts in strength immediately visible. A Supertrend confirmation layer acts as the final filter, smoothing noise and verifying trend direction before decisions are made.
- Mendoza Lines (V-pattern detection) identify early crash conditions and warn when market structure becomes unstable.
- RSI/volume-shaded candles + Supertrend confirm momentum and trend, creating a unified system to avoid major drawdowns.
- Enhanced Wyckoff ranges with ATR.
Mendoza lines identify abrupt V-shaped reversals which often precede high-risk crash structures. By tracking both the formation and resolution of these patterns across multiple timeframes, the indicator provides early warning signals when the market is entering unstable territory, allowing traders to step aside before liquidity collapses or structural breakdowns begin.
Ideal configurations use Heikin Ashi to smooth out candle structure. Observe SPX on a Weekly Chart, which correctly identifies exits and entries during the 2001 and 2009 crashes. On a 6 hour chart, the Tariff low is correctly identified. The improved VWAP uses a cumulative metric rather than the built in ta.vwap calculation, and functions as a macro low beacon when crossed with the 200 EMA. Historically, these crosses have aligned closely with macro cycle lows.
To round out the system, the indicator overlays RSI-based and volume-weighted candle shading to reflect internal momentum and real buying/selling pressure directly on the chart, making shifts in strength immediately visible. A Supertrend confirmation layer acts as the final filter, smoothing noise and verifying trend direction before decisions are made.
Notes de version
The purpose for this indicator is to function as a comprehensive market-state detector, with the primary goal of avoiding a market crash. - Mendoza Lines (V-pattern detection) identify early crash conditions and warn when market structure becomes unstable.
- RSI/volume-shaded candles + Supertrend confirm momentum and trend, creating a unified system to avoid major drawdowns.
- Enhanced Wyckoff ranges with ATR.
Mendoza lines identify abrupt V-shaped reversals which often precede high-risk crash structures. By tracking both the formation and resolution of these patterns across multiple timeframes, the indicator provides early warning signals when the market is entering unstable territory, allowing traders to step aside before liquidity collapses or structural breakdowns begin.
Ideal configurations use Heikin Ashi to smooth out candle structure. Observe SPX on a Weekly Chart, which correctly identifies exits and entries during the 2001 and 2009 crashes. On a 6 hour chart, the Tariff low is correctly identified. The improved VWAP uses a cumulative metric rather than the built in ta.vwap calculation, and functions as a macro low beacon when crossed with the 200 EMA. Historically, these crosses have aligned closely with macro cycle lows. Beacon disabled by default in display settings to reduce noise.
To round out the system, the indicator overlays RSI-based and volume-weighted candle shading to reflect internal momentum and real buying/selling pressure directly on the chart, making shifts in strength immediately visible. A Supertrend confirmation layer acts as the final filter, smoothing noise and verifying trend direction before decisions are made.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.