Changes
Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed even trades. ==== Usage ==== <syntaxhighlight>TotalBarsEvenTrades</s..."
Returns a numerical value, indicating the total number of bars a position was held during all completed even trades.
==== Usage ====
<syntaxhighlight>TotalBarsEvenTrades</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>TotalBarsEvenTrades will return a value of 14 if four even trades held positions for 2, 5, 3, and
4 bars
TotalBarsEvenTrades will return a value of 0 if no even trades were completed during the entire
trading period</syntaxhighlight>
[[Category:Strategy Performance]]
==== Usage ====
<syntaxhighlight>TotalBarsEvenTrades</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>TotalBarsEvenTrades will return a value of 14 if four even trades held positions for 2, 5, 3, and
4 bars
TotalBarsEvenTrades will return a value of 0 if no even trades were completed during the entire
trading period</syntaxhighlight>
[[Category:Strategy Performance]]