Changes
Created page with "Returns a numerical value, indicating the average number of bars a position was held during all completed winning trades. ==== Usage ==== <syntaxhighlight>AvgBarsWinTrade</..."
Returns a numerical value, indicating the average number of bars a position was held during all completed winning trades.
==== Usage ====
<syntaxhighlight>AvgBarsWinTrade</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>AvgBarsWinTrade will return a value of 3.5 if four winning trades held positions for 2, 5, 3,
and 4 bars</syntaxhighlight>
[[Category:Strategy Performance]]
==== Usage ====
<syntaxhighlight>AvgBarsWinTrade</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>AvgBarsWinTrade will return a value of 3.5 if four winning trades held positions for 2, 5, 3,
and 4 bars</syntaxhighlight>
[[Category:Strategy Performance]]