Portfolio OpenPositionProfit

From MultiCharts
Revision as of 13:54, 23 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value, indicating the current combined profit or loss for all open positions within a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_OpenPosition...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a numerical value, indicating the current combined profit or loss for all open positions within a portfolio.

Usage

Portfolio_OpenPositionProfit

Notes

This function can only be used in signals intended to be used with the Portfolio Backtester.

Example

Portfolio_OpenPositionProfit  will return a value of 0 if there are currently no open positions 
within a portfolio 

Portfolio_OpenPositionProfit  will return a value of 100 if the combined value of all open positions
within a portfolio has increased by $100 since the positions were entered 

Portfolio_OpenPositionProfit  will return a value of -50 if the combined value of all open positions
within a portfolio has decreased by $50 since the positions were entered