Mystic's ATR% Multiple MatrixMystic's ATR% Multiple Matrix is a multi-timeframe EMA distance dashboard built to show how stretched price is relative to key daily moving averages in both percentage terms and ATR-adjusted terms.
The script plots five customizable EMAs, defaulted to the 10D, 20D, 50D, 100D, and 200D. Each EMA can be independently adjusted by length and timeframe, allowing the tool to be used on intraday, daily, or higher-timeframe charts while still referencing the trend timeframe you care about.
The table is the core of the indicator. It displays each EMA, its length, timeframe, percentage distance from current price, and ATR multiple. The ATR multiple measures how far price is from each EMA in units of Average True Range, which gives better context than percentage distance alone.
A stock that is 5% above its 20D EMA may be meaningfully extended if its ATR is low, but much less extended if its normal daily range is large. This script is designed to make that distinction clear.
Table columns:
EMA — the selected moving average row
Length — the EMA period
TF — the timeframe used for that EMA
% Away — current price distance from the EMA in percentage terms
ATR Ext — current price distance from the EMA measured in ATR multiples
Positive readings mean price is trading above the EMA. Negative readings mean price is trading below the EMA.
The color scheme is optimized for dark charts. Green indicates price above the moving average, red indicates price below it, orange highlights elevated ATR extension, and deeper red highlights more extreme extension.
Optional ATR extension lines can be enabled in the settings. These plot upper and lower ATR-based extension levels around each EMA using the selected ATR multiplier.
This is not a buy or sell signal generator. It is a volatility-adjusted trend-distance framework designed to help traders judge whether price is near trend, extended from trend, or potentially overheated.
Suggested use cases:
- Measuring extension from the 10D, 20D, 50D, 100D, and 200D EMAs
- Comparing raw percentage distance versus ATR-adjusted distance
- Identifying when a stock is stretched far above or below trend
- Adding context before chasing breakouts
- Monitoring pullbacks into key moving averages
- Understanding whether a move is normal relative to volatility or unusually extended
All settings are adjustable, including EMA lengths, EMA timeframes, ATR length, ATR timeframe, table display, and optional ATR extension lines.
Pine Script® インジケーター






















