OPEN-SOURCE SCRIPT
Mis à jour Monthly VWAP

Description
This indicator identifies potential mean reversion opportunities by tracking price deviations from monthly VWAP with dynamic volatility-adjusted thresholds.
Core Logic:
The indicator monitors when price moves significantly away from monthly VWAP and looks for potential reversal opportunities. It uses ATR-based dynamic thresholds that adapt to current market volatility, combined with volume confirmation to filter out weak signals.
Key Features:
Signal Generation:
Best Used For:
This indicator identifies potential mean reversion opportunities by tracking price deviations from monthly VWAP with dynamic volatility-adjusted thresholds.
Core Logic:
The indicator monitors when price moves significantly away from monthly VWAP and looks for potential reversal opportunities. It uses ATR-based dynamic thresholds that adapt to current market volatility, combined with volume confirmation to filter out weak signals.
Key Features:
- Adaptive Thresholds: ATR-based bands that adjust to market volatility
- Volume Confirmation: Requires average volume spike to validate signals
- Monthly Reset: VWAP anchors reset each month for fresh reference levels
- Visual Clarity: Color-coded deviation line with background highlights for active signals
- Info Panel: Shows days from anchor and current price context vs fair value
Signal Generation:
- Buy Signal: Price below monthly VWAP by threshold amount with elevated volume
- Sell Signal: Price above monthly VWAP by threshold amount with elevated volume
- Neutral: Price within threshold range or insufficient volume
Best Used For:
- Mean reversion strategies in ranging markets
- Identifying potential oversold/overbought conditions
- Understanding price position relative to monthly fair value
Notes de version
Added OHLC candle visualization showing complete price action around monthly VWAP levels instead of simple line plot. Now captures rejection wicks, intraday ranges, and structural behavior at fair value.New Features:
- OHLC deviation candles reveal full price structure
- Enhanced signals detect both closes beyond thresholds AND wick touches at key levels
- Non-repainting logic using confirmed bars
- "Return to Fair Value" alert for mean reversion opportunities
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.