+1 888 340 6572

AvgBarsEvenTrade

From MultiCharts

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

Usage

AvgBarsEvenTrade

Notes

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

Example

AvgBarsEvenTrade

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