+1 888 340 6572

AvgBarsLosTrade

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a numerical value, indicating the average number of bars a position was held during all completed losing trades.

Usage

AvgBarsLosTrade

Notes

  • This function can only be used in signals.
  • Use AvgBarsWinTrade and AvgBarsEvenTrade to get the average number of bars a position was held during respectively winning trades and even trades.

Example

AvgBarsLosTrade

Will return a value of 3.5 if four losing trades held positions for 2, 5, 3, and 4 bars.