PTT Moving Average DeviationPTT Moving Average Deviation
Identify statistically significant price extensions with precision.
This indicator measures how far price has deviated from its moving average as a percentage, with dynamic standard deviation bands to highlight extreme conditions.
๐ What It Shows
Blue Line: Percentage deviation from the moving average (0% = price equals MA)
Red Bands: ยฑ1 standard deviation levels - statistically significant extremes
Zero Line: The moving average baseline
๐ Key Features
Multi-Timeframe: View daily/weekly deviation even on intraday charts (30m, 1H, 4H, Daily, Weekly options)
Standard Deviation Bands: Adapts to each asset's volatility
Status Display: Real-time deviation status
Built-in Alerts: Get notified when price enters extreme zones
Customizable: MA type (SMA/EMA/WMA), length, colors, and std dev multiplier
๐ How To Interpret
When price moves beyond the standard deviation bands, it signals a statistically rare event:
Mean Reversion: Price is stretched and may snap back toward the average
Trend Initiation: A powerful trend may be starting - the "new normal" is forming
Context matters. Use with price action and market structure to determine which scenario is playing out.
โ๏ธ Default Settings
200-period SMA (classic institutional benchmark)
Daily timeframe (works on any chart)
ยฑ1 standard deviation bands
Part of the PTT (Plan Trigger Trade) indicator suite.
Pine Scriptยฎ indicator






















