×

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

TotalBarsEvenTrades

127 bytes added, 19:34, 14 February 2012
m
no edit summary
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. * Use [[TotalBarsWinTrades]] and [[TotalBarsLosTrades]] to get the total number of bars a position was held during respectively winning and losing trades.
==== Example ====<syntaxhighlight>TotalBarsEvenTrades will </syntaxhighlight>* Will return a value of 14 if four even trades held positions for 2, 5, 3, and 4 bars , TotalBarsEvenTrades will * Will return a value of 0 if no even trades were completed during the entiretrading period</syntaxhighlight> .
[[Category:Strategy Performance]]