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. קרא עוד ב־תנאי השימוש.