The BarStatistic type exposes the following members.

Properties

  NameDescription
Public propertyAccountBalance
Gets or sets the current account cash balance
Public propertyAccountValue
Gets the calculated account value. The account value is the sum of the long value, short value and cash.
Public propertyActiveBarCount
Gets or sets the active trading bar count.
Public propertyAPR
Gets the calculated APR value.
Public propertyAverageBarsHeld
Gets the calculated number of average bars held. The number of average bars held is the number of total bars held divided by the total number of finished trades.
Public propertyAverageExposure
Gets or sets the average exposure.
Public propertyAverageExposurePct
Gets or sets the average exposure represented as a percentage.
Public propertyAverageLosingBarsHeld
Gets the calculated number of average losing bars held. The number of average losing bars held is the number of losing bars held divided by the number of losing trades.
Public propertyAverageLoss
Gets the calculated average loss. The average loss is the realized gross loss divided by the number of losing trades.
Public propertyAverageLossPct
Gets or sets the average loss percentage.
Public propertyAverageProfit
Gets the calculated average profit. The average profit is the realized net profit divided by the total number of finished trades.
Public propertyAverageProfitPct
Gets or sets the average profit percentage.
Public propertyAverageWin
Gets the calculated average win size. The average win size is the realized gross profit divided by the number of winning trades.
Public propertyAverageWinningBarsHeld
Gets the calcualted number of average winning bars held. The number of average winning bars held is the number of winning bars held divided by the number of winning trades.
Public propertyAverageWinPct
Gets or sets the average win percentage.
Public propertyCalculatedDate
The date/time statistics were calculated: Generally the end of the bar.
Public propertyConsecutiveLosing
The current number of consecutive losing positions.
Public propertyConsecutiveWinning
The current number of consecutive winning positions.
Public propertyDisplayDate
The date/time to display for the statistics: Generally the start of the bar.
Public propertyDrawDown
Gets or sets the drawdown.
Public propertyDrawDownPct
Gets or sets drawdown as a percentage.
Public propertyEndingCapital
Gets the calculated ending capital. The ending capital is the sum of the starting capital, relized net profit and unrealized net profit.
Public propertyExposure
Gets or sets the exposure value.
Public propertyExposurePct
Gets or sets the exposure represented as a percentage.
Public propertyLongLosingTrades
Gets or sets the number of long losing trades.
Public propertyLongValue
Gets or sets the current value of long holdings.
Public propertyLongWinningTrades
Gets or sets the number of long winning trades.
Public propertyLosingBarsHeld
Gets or sets the number of losing bars held.
Public propertyLosingTrades
Gets the calculated number of losing trades. The number of losing trades is the sum of the long losing trades and the short losing trades.
Public propertyLosingTradesPct
Gets the calculated percentage of losing trades. The percentage of losing trades is the number of losing trades divided by the total number of finished trades.
Public propertyMaxAccountValue
This is the maximum historical account value. It is used to calculate the drawdown.
Public propertyMaxConsecutiveLosing
Gets or sets the maximum number of consecutive losing trades.
Public propertyMaxConsecutiveWinning
Gets or sets the maximum consecutive winning trades.
Public propertyMaxDrawDown
Gets or sets the max draw down encountered so far.
Public propertyMaxDrawDownDate
Gets or sets the maximum draw down date.
Public propertyMaxDrawDownPct
Gets or sets the maximum drawdown encountered so far as a percentage.
Public propertyMaxDrawDownPctDate
Gets or sets the maximum draw down percentage date
Public propertyMaxExposure
Gets or sets the maximum exposure.
Public propertyMaxExposureDate
Gets or sets the maximum exposure date.
Public propertyMaxExposurePct
Gets or sets the maximum exposure percentage.
Public propertyMaxExposurePctDate
Gets or sets the maximum exposure percentage date.
Public propertyMaxLoss
Gets or sets the maximum loss up to this point.
Public propertyMaxProfit
Gets or sets the maximum profit up to this point.
Public propertyNetProfit
Gets the calculated total net profit. The total net profit is the sum of the realized net profit and the unrealized net profit.
Public propertyNetProfitPct
Gets the calculated net profit percentage. The net profit percentage is the sum of the realized net profit and the unrealized net profit divided by the starting capital.
Public propertyNeutralTrades
The number of trades which resulted in neither a profit nor a loss.
Public propertyOpenPositions
Gets or sets the number of open positions.
Public propertyRealizedGrossLoss
Gets or sets the realized gross loss.
Public propertyRealizedGrossProfit
Gets or sets the realized gross profit.
Public propertyRealizedNetProfit
Gets or sets the realized net profit.
Public propertyShortLosingTrades
Gets or sets the number of short losing trades.
Public propertyShortValue
Gets or sets the current value of short holdings.
Public propertyShortWinningTrades
Gets or sets the number of short winning trades.
Public propertyStartingCapital
Gets the amount of starting capital.
Public propertyTotalBarsHeld
Gets the calculated total of bars held. The total of bars held is the sum of the number winning bars held and the number of losing bars held.
Public propertyTotalExposure
The sum of the exposure for all bars.
Public propertyTotalExposurePct
The sum of the exposure percent for all bars.
Public propertyTotalFinishedTrades
Gets the calculated number of exited trades. The number of existed trades is the sum of winning trades and losing trades.
Public propertyTotalLossPct
The sum of the percent profits for all losing positions.
Public propertyTotalProfitPct
The sum of the percent profits for all the trades.
Public propertyTotalTrades
Gets the calculated number of total trades both active and closed. The number of total trades is the sum of the total of finised trades and the number of open positions.
Public propertyTotalWinPct
The sum of the percent profits for all winning positions.
Public propertyTradeStartDate
Gets the date that the system began running.
Public propertyUnrealizedNetProfit
Gets or sets the unrealized net profit.
Public propertyWinningBarsHeld
Gets or sets the number of winning bars held.
Public propertyWinningTrades
Gets the calculated number of winning trades. The number of winning trades is the sum of the long winning trades and the short winning trades.
Public propertyWinningTradesPct
Gets the calculated percentage of winning trades. The percentage of winning trades is the number of winning trades divided by the total number of finished trades.

See Also