Difference between revisions of "MaxConsecWinners"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades. ==== Usage ==== <syntaxhighlight>MaxConsecWinner...")
 
m
 
Line 1: Line 1:
 
Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades.   
 
Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>MaxConsecWinners</syntaxhighlight>  
 
<syntaxhighlight>MaxConsecWinners</syntaxhighlight>  
 
   
 
   
==== Notes ====  
+
== Notes ==
This function can only be used in signals.  
+
* This function can only be used in signals.
 +
* Use [[MaxConsecLosers]] to get the largest losing streak in the completed trades.
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>MaxConsecWinners will return a value of 3 if there were three consecutive completed winning trades  
+
<syntaxhighlight>MaxConsecWinners</syntaxhighlight>
 
+
* Will return a value of 3 if there were three consecutive completed winning trades,
MaxConsecWinners will return a value of 0 if no winning trades were completed during the entire
+
* Will return a value of 0 if no winning trades were completed during the entire trading period.
trading period</syntaxhighlight>
 
 
   
 
   
 
[[Category:Strategy Performance]]
 
[[Category:Strategy Performance]]

Latest revision as of 19:45, 14 February 2012

Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades.

Usage

MaxConsecWinners

Notes

  • This function can only be used in signals.
  • Use MaxConsecLosers to get the largest losing streak in the completed trades.

Example

MaxConsecWinners
  • Will return a value of 3 if there were three consecutive completed winning trades,
  • Will return a value of 0 if no winning trades were completed during the entire trading period.