OPEN-SOURCE SCRIPT
Cập nhật Portfolio Tracker

Portfolio Tracker – Manual Position Dashboard
This indicator provides a clean, non-intrusive dashboard for tracking open equity positions directly on your chart.
You can manually enter up to 20 positions (symbol, quantity, and buy price), and the dashboard will automatically compute:
- Invested amount per position
- Live market price
- Current market value
- Profit / Loss (absolute)
- Profit / Loss (%)
- Portfolio-level totals
The dashboard updates on the latest bar only, ensuring stable values and minimal redraw overhead.
Visuals :
- Supports up to 20 simultaneous positions
- Clear green / red P&L highlighting per position
- Portfolio totals calculated in real time
- Adjustable dashboard size (Small / Normal / Large)
- User-selectable dashboard position (top/bottom, left/right)
No trading logic, no signals, no repainting — tracking only
This indicator provides a clean, non-intrusive dashboard for tracking open equity positions directly on your chart.
You can manually enter up to 20 positions (symbol, quantity, and buy price), and the dashboard will automatically compute:
- Invested amount per position
- Live market price
- Current market value
- Profit / Loss (absolute)
- Profit / Loss (%)
- Portfolio-level totals
The dashboard updates on the latest bar only, ensuring stable values and minimal redraw overhead.
Visuals :
- Supports up to 20 simultaneous positions
- Clear green / red P&L highlighting per position
- Portfolio totals calculated in real time
- Adjustable dashboard size (Small / Normal / Large)
- User-selectable dashboard position (top/bottom, left/right)
No trading logic, no signals, no repainting — tracking only
Phát hành các Ghi chú
Fixed certain glitches with the P/L % column not accurately updating. Now it updates in realtime.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.