Difference between revisions of "AvgBarsEvenTrade"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the average number of bars a position was held during all completed even trades. ==== Usage ==== <syntaxhighlight>AvgBarsEvenTrade</sy...")
 
Line 8: Line 8:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>AvgBarsEvenTrade will return a value of 3.5 if four even trades held positions for 2, 5, 3, and 4 bars</syntaxhighlight>
+
<syntaxhighlight>AvgBarsEvenTrade will return a value of 3.5 if four even trades held positions for 2, 5, 3,  
 +
and 4 bars</syntaxhighlight>
  
  
 
   
 
   
 
[[Category:Strategy Performance]]
 
[[Category:Strategy Performance]]

Revision as of 14:38, 24 January 2012

Returns a numerical value, indicating the average number of bars a position was held during all completed even trades.

Usage

AvgBarsEvenTrade

Notes

This function can only be used in signals.

Example

AvgBarsEvenTrade will return a value of 3.5 if four even trades held positions for 2, 5, 3, 
and 4 bars