GetPortfolioSharePrice

GetPortfolioSharePrice ();

Description

Returns the Portfolio Share Price (PSP) value for the current chart symbol. PSP is a performance metric that tracks profitability of the currently selected account over time, isolating market-based gains or losses from cash movements like deposits, withdrawals, or dividends. 

Example

declare lower;

plot PSP = GetPortfolioSharePrice();
PSP.SetDefaultColor(Color.CYAN);

This example plots the current Portfolio Share Price on the chart.