OPEN-SOURCE SCRIPT
已更新 Mean Reversion Probability

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.
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.
版本注释
added sma length change input开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。