OPEN-SOURCE SCRIPT
ITG - Percentage Performance

ITG - Percentage Performance tracks where price currently sits relative to its all-time high, with live intraday updates that are timeframe-agnostic. Whether you're on a 1-minute chart or a weekly chart, the values always reflect current spot price, not the bar close. ATH is calculated using the absolute highest tick ever recorded including extended hours and pre/aftermarket sessions where available.
The indicator displays a live % off ATH plot, a fixed 0% ATH reference line, a dynamic right-axis label showing current drawdown, a horizontal reference line extending to the axis, and a fully customizable stats table with the following metrics:
• % off ATH / Points off ATH
• WTD % / WTD Points
• MTD % / MTD Points
• YTD % / YTD Points
All period returns (WTD/MTD/YTD) use confirmed prior daily session closes as anchors for accuracy. Every visual element (colors, sizes, styles, positions) is fully customizable via the settings panel. Individual table rows can be toggled on or off to keep the display clean for your workflow.
Works on equities, futures, forex, and crypto. EOD-only instruments fall back to daily close data automatically.
The indicator displays a live % off ATH plot, a fixed 0% ATH reference line, a dynamic right-axis label showing current drawdown, a horizontal reference line extending to the axis, and a fully customizable stats table with the following metrics:
• % off ATH / Points off ATH
• WTD % / WTD Points
• MTD % / MTD Points
• YTD % / YTD Points
All period returns (WTD/MTD/YTD) use confirmed prior daily session closes as anchors for accuracy. Every visual element (colors, sizes, styles, positions) is fully customizable via the settings panel. Individual table rows can be toggled on or off to keep the display clean for your workflow.
Works on equities, futures, forex, and crypto. EOD-only instruments fall back to daily close data automatically.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.