OPEN-SOURCE SCRIPT
Mis à jour

Mean Reversion Probability

665
Mean Reversion Probability (MRP) measures how far price has stretched from its 50-period moving average using a Z-score. It tells you when a market is statistically overextended and likely to snap back.

Z-Score Zones:
• Above +3 → Extreme Overbought
• Above +2 → Overbought
• Below -2 → Oversold
• Below -3 → Extreme Oversold

The line changes color dynamically based on the zone it's in, with filled bands making each zone instantly readable at a glance.

The info panel shows the live Z-score, SMA50, standard deviation, how far price is from the mean in both price and percentage, current zone, and directional bias.

Best used on higher timeframes (1H, 4H, Daily) as a mean reversion confluence tool, not a standalone signal. Works well combined with momentum or volume indicators to confirm entries.
Notes de version
added sma length change input

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.