Portfolio NetProfit

From MultiCharts
Revision as of 13:29, 23 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value, indicating the total currency value of all completed trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_NetProfit</syntaxhighligh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a numerical value, indicating the total currency value of all completed trades for a portfolio.

Usage

Portfolio_NetProfit

Notes

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

Example

Portfolio_NetProfit will return a value of 20 if there were winning trades at 25 and 10, and losing 
trades at 5 and 10 

Portfolio_NetProfit will return a value of -15 if there were winning trades at 10 and 5, and losing
trades at 20 and 10 

Portfolio_NetProfit will return a value of 0 no trades were completed during the entire trading
period