×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Portfolio OpenPositionProfit

79 bytes added, 12:26, 25 July 2014
no edit summary
== Notes ==
* This function can only be used in signals intended to be used with the [[:CategoryPortfolio Trader.* The value is returned in the currency specified in Portfolio Trader:Portfolio_Backtesting|'''Portfolio Backtester]]Settings -> Base Currency.'''
* Use [[Portfolio GrossLoss]], [[Portfolio GrossProfit]] or [[Portfolio NetProfit]] to get the total gross loss, gross profit and net profit for all ''completed'' trades for the whole portfolio during the whole trading period.
== Example ==
<syntaxhighlight>Portfolio_OpenPositionProfit</syntaxhighlight>
* Will return a value of 0 if there are currently no open positions within a portfolio,.* Will return a value of 100 if the combined value of all open positions within a portfolio has increased by $100 ¤100 since the positions were entered,.* Will return a value of -50 if the combined value of all open positions within a portfolio has decreased by $50 ¤50 since the positions were entered.   
[[Category:Portfolio Strategy Position]]

Navigation menu