Difference between revisions of "NetProfit"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the total currency value of all completed trades. ==== Usage ==== <syntaxhighlight>NetProfit</syntaxhighlight> ==== Notes ==== Thi...")
 
m
 
Line 1: Line 1:
 
Returns a numerical value, indicating the total currency value of all completed trades.   
 
Returns a numerical value, indicating the total currency value of all completed trades.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>NetProfit</syntaxhighlight>  
 
<syntaxhighlight>NetProfit</syntaxhighlight>  
 
   
 
   
==== Notes ====  
+
== Notes ==
This function can only be used in signals.  
+
* This function can only be used in signals.
 +
* Use [[PercentProfit]] to get the percentage profit of all completed trades.
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>NetProfit will return a value of 20 if there were winning trades at 25 and 10, and losing trades
+
<syntaxhighlight>NetProfit</syntaxhighlight>
at 5 and 10  
+
* Will return a value of 20 if there were winning trades at 25 and 10, and losing trades at 5 and 10,
 
+
* Will return a value of -15 if there were winning trades at 10 and 5, and losing trades at 20 and 10,
NetProfit will return a value of -15 if there were winning trades at 10 and 5, and losing trades  
+
* Will return a value of 0 no trades were completed during the entire trading period.
at 20 and 10  
 
 
 
NetProfit will return a value of 0 no trades were completed during the entire trading period</syntaxhighlight>
 
 
   
 
   
 
[[Category:Strategy Performance]]
 
[[Category:Strategy Performance]]

Latest revision as of 19:38, 14 February 2012

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

Usage

NetProfit

Notes

  • This function can only be used in signals.
  • Use PercentProfit to get the percentage profit of all completed trades.

Example

NetProfit
  • Will return a value of 20 if there were winning trades at 25 and 10, and losing trades at 5 and 10,
  • Will return a value of -15 if there were winning trades at 10 and 5, and losing trades at 20 and 10,
  • Will return a value of 0 no trades were completed during the entire trading period.