PROTECTED SOURCE SCRIPT
Telah dikemas kini Reverso

Reverso – Moving Average Touch Statistics Tracker
Reverso indicator is a technical analysis tool that tracks and visualizes how price interacts with a selected Exponential Moving Average (EMA). It provides detailed statistics about price behavior before, during, and after each EMA touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study EMA reactions, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
*Automatic Data Tracking:
*Tables for Quick Visual Summary:
Core Metrics Tracked
How It Works
Customization Options
Intended Use Cases
Notes and Disclaimers
Reverso indicator is a technical analysis tool that tracks and visualizes how price interacts with a selected Exponential Moving Average (EMA). It provides detailed statistics about price behavior before, during, and after each EMA touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study EMA reactions, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
- Supported MAs: EMA 9, 20, or 50
- Timeframe Support: Uses the chart’s timeframe
- Touch Detection: Triggered when the price range (high to low) crosses or touches the EMA
- Automatic Data Tracking
- Tables for Quick Visual Summary
- Visual Overlay: Optional EMA line plotted on chart
- Timeframe Support: Uses the chart’s timeframe
- Capped history: Most recent 50 touches
*Automatic Data Tracking:
- Number of EMA touches
- Time intervals between touches
- Price distance from last touch
- Maximum price deviation (above/below EMA) between touches
- Time spent above/below EMA
*Tables for Quick Visual Summary:
- Info Table: Live details about last and first touches, distance from touch, bars above/below, peak movements since last touch
- Stats Table: Averages and extreme values for price behavior patterns across recent history
Core Metrics Tracked
- Last Touch Price: The last price level where price touched the EMA
- Distance from Last Touch: Current % change from the last touch price
- Time Between Touches: Average and maximum intervals (in bars or time) between touch events
- Max Distance Above/Below: Peak movement above/below EMA between touches
- Bars Above/Below: How long price stayed above/below the EMA since last touch
- Peak This Cycle: Max deviation above/below in current cycle since last touch
How It Works
- Reverso monitors each bar to check if price intersects the selected EMA.
- When a new touch occurs, it records the touch price and time, and resets the tracking cycle.
- From that point forward, it tracks how far and how long price drifts above or below the EMA.
- This process repeats with each new touch, building a detailed profile of how price behaves around the moving average.
- The result is a visual and statistical framework for understanding price memory, market rhythm, and mean-reversion opportunities.
Customization Options
- EMA Length: Choose from EMA 9, 20, or 50
- Show MA Line: Toggle the EMA plot on the chart
- Show Info Table: Enable/disable the current-touch summary
- Show Statistics Table: Show aggregate data over the history
- Table Positioning: Customizable placement for both tables
- MA Color: Select custom color for EMA plot
Intended Use Cases
- Identify reversal or continuation setups near EMAs
- Validate strategies relying on mean reversion
- Backtest the consistency of price respect to EMAs
- Detect periods of volatility clustering around EMAs
Notes and Disclaimers
- This script does not repaint: calculations are made on confirmed bars.
- This indicator is educational in nature and should be used alongside other forms of analysis.
- Time durations in the tables are approximated using bar timing and may vary across markets/timeframes.
Nota Keluaran
Internal version bump v25.27aNota Keluaran
v25.27b- Added both 75th percentile and current cycle percentile info to the table
Nota Keluaran
v25.27c : - used %tile aprox for better performance in the table
- Statistics Table now only show the data relevant to current MA position Above / Below for cleaner interface
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.