×

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

Changes

Jump to navigation Jump to search

TotalBarsWinTrades

124 bytes added, 19:32, 14 February 2012
m
no edit summary
Returns a numerical value, indicating the total number of bars a position was held during all completed winning trades.
==== Usage ====
<syntaxhighlight>TotalBarsWinTrades</syntaxhighlight>
==== Notes ==== * This function can only be used in signals. ==== Example ====<syntaxhighlight>TotalBarsWinTrades will return * Use [[TotalBarsEvenTrades]] and [[TotalBarsLosTrades]] to get the total number of bars a value of 14 if four winning trades position was held positions for 2, 5, 3, during respectively even and 4 bars  TotalBarsWinTrades will return a value of 0 if no winning losing trades were completed during the entiretrading period</syntaxhighlight> .
== Example ==
<syntaxhighlight>TotalBarsWinTrades</syntaxhighlight>
* Will return a value of 14 if four winning trades held positions for 2, 5, 3, and 4 bars,
* Will return a value of 0 if no winning trades were completed during the entire trading period.
[[Category:Strategy Performance]]

Navigation menu