×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

TotalBarsLosTrades

569 bytes added, 11:25, 25 January 2012
Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed losing trades. ==== Usage ==== <syntaxhighlight>TotalBarsLosTrades</..."
Returns a numerical value, indicating the total number of bars a position was held during all completed losing trades.

==== Usage ====
<syntaxhighlight>TotalBarsLosTrades</syntaxhighlight>

==== Notes ====
This function can only be used in signals.

==== Example ====
<syntaxhighlight>TotalBarsLosTrades will return a value of 14 if four losing trades held positions for 2, 5, 3, and
4 bars

TotalBarsLosTrades will return a value of 0 if no losing trades were completed during the entire
trading period</syntaxhighlight>


[[Category:Strategy Performance]]
Anonymous user