OPEN-SOURCE SCRIPT

PnL Portfolio

1 288
This script allows you to input the details for up to 20 active positions across various trading pairs or markets. Stop manually calculating your trades—get instant, real-time feedback on your performance.
Key Features:

Multi-Pair Tracking: Monitor up to 20 unique symbols simultaneously.

Required Inputs: Easily define the Symbol, Entry Price, and Position Quantity (size) for each trade in the indicator settings.

Real-Time PnL: Instantly calculates and displays two critical metrics based on the current market price:

% PnL (Percentage Profit/Loss)

Absolute Profit/Loss (in currency)

Color-Coded Feedback: The PnL columns are color-coded (green/teal for profit, red/maroon for loss) for immediate visual confirmation of your trade health.

Customizable Layout: Choose where the dashboard table appears on your chart (top-left, top-right, bottom-left, or bottom-right) to keep your trading view clean.

This is an essential overlay for any trader managing multiple active positions and needing a consolidated, easy-to-read overview.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.