OPEN-SOURCE SCRIPT
Telah dikemas kini Rolling Performance Metrics Table

Rolling Performance Metrics Table
A clean, customizable table overlay that displays rolling performance metrics across multiple time periods. Perfect for quickly assessing price momentum and performance trends at a glance.
FEATURES:
- Displays performance across 5 time periods: 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year
- Shows historical price at the start of each period
- Calculates both absolute price change and percentage change
- Color-coded results: Green for positive performance, Red for negative performance
- Fully transparent design with no background or borders - text floats cleanly over your chart
- Customizable table position (9 placement options)
DISPLAY COLUMNS:
1. Period - The lookback timeframe
2. Price - The historical price at the start of the period
3. Change (Value) - Absolute price change from the period start
4. Change (%) - Percentage return over the period
CUSTOMIZATION:
- Adjust the number of bars for each period (default: 1 Week = 5 bars, 3 Month = 63 bars, 6 Month = 126 bars, 1 Year = 252 bars, 2 Year = 504 bars)
- Choose from 9 table positions: Top, Middle, Bottom combined with Left, Center, Right
- Default position: Middle Left
USAGE:
Perfect for traders who want to quickly assess momentum across multiple timeframes. The transparent overlay design ensures minimal obstruction of chart analysis while providing critical performance data at a glance.
NOTE:
- The table only appears on the last bar of your chart
- Customize bar counts in settings to match your specific timeframe needs (e.g., daily vs hourly charts)
- "N/A" appears when historical data is insufficient for the selected period
A clean, customizable table overlay that displays rolling performance metrics across multiple time periods. Perfect for quickly assessing price momentum and performance trends at a glance.
FEATURES:
- Displays performance across 5 time periods: 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year
- Shows historical price at the start of each period
- Calculates both absolute price change and percentage change
- Color-coded results: Green for positive performance, Red for negative performance
- Fully transparent design with no background or borders - text floats cleanly over your chart
- Customizable table position (9 placement options)
DISPLAY COLUMNS:
1. Period - The lookback timeframe
2. Price - The historical price at the start of the period
3. Change (Value) - Absolute price change from the period start
4. Change (%) - Percentage return over the period
CUSTOMIZATION:
- Adjust the number of bars for each period (default: 1 Week = 5 bars, 3 Month = 63 bars, 6 Month = 126 bars, 1 Year = 252 bars, 2 Year = 504 bars)
- Choose from 9 table positions: Top, Middle, Bottom combined with Left, Center, Right
- Default position: Middle Left
USAGE:
Perfect for traders who want to quickly assess momentum across multiple timeframes. The transparent overlay design ensures minimal obstruction of chart analysis while providing critical performance data at a glance.
NOTE:
- The table only appears on the last bar of your chart
- Customize bar counts in settings to match your specific timeframe needs (e.g., daily vs hourly charts)
- "N/A" appears when historical data is insufficient for the selected period
Nota Keluaran
Rolling Performance Metrics - Quick ViewDisplays a transparent floating table showing stock performance across 5 key time periods:
- 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year lookback windows
For each period, the table shows:
- Historical starting price
- Absolute price change (in currency units)
- Percentage return (color-coded: green = positive, red = negative)
Perfect for quick momentum analysis and multi-timeframe performance comparison at a glance. The borderless, transparent design keeps your chart clean while providing essential performance metrics.
Nota Keluaran
Rolling Performance Metrics - Quick ViewDisplays a transparent floating table showing stock performance across 5 key time periods:
- 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year lookback windows
For each period, the table shows:
- Historical starting price
- Absolute price change (in currency units)
- Percentage return (color-coded: green = positive, red = negative)
Perfect for quick momentum analysis and multi-timeframe performance comparison at a glance. The borderless, transparent design keeps your chart clean while providing essential performance metrics.
```
Or if you want an even shorter version:
```
Clean performance table showing price changes and returns across 5 timeframes (1W to 2Y). Color-coded percentage gains (green) and losses (red) for quick visual analysis. Transparent overlay with customizable positioning.
Nota Keluaran
Rolling Performance Metrics - Quick ViewDisplays a transparent floating table showing stock performance across 5 key time periods:
- 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year lookback windows
For each period, the table shows:
- Historical starting price
- Absolute price change (in currency units)
- Percentage return (color-coded: green = positive, red = negative)
Perfect for quick momentum analysis and multi-timeframe performance comparison at a glance. The borderless, transparent design keeps your chart clean while providing essential performance metrics.
```
Or if you want an even shorter version:
```
Clean performance table showing price changes and returns across 5 timeframes (1W to 2Y). Color-coded percentage gains (green) and losses (red) for quick visual analysis. Transparent overlay with customizable positioning.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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 sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.