TradesCount

View as Markdown

Definition

Returns the total # of trades.

Property Value

A double value that represents the total # of trades.

Syntax

\<tradecollection\>.TradesPerformance.TradesCount

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the total # of trades
4 Print("Trades count is: " + SystemPerformance.AllTrades.TradesPerformance.TradesCount);
5}