Currency

View as Markdown

Definition

Returns a TradesPerformanceValues object in currency.

Property Value

A TradesPerformanceValues object that is represented in currency.

Syntax

\<tradecollection\>.TradesPerformance.Currency

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the avg. profit of all trades in currency
4 Print("Average profit: " + SystemPerformance.AllTrades.TradesPerformance.Currency.AverageProfit);
5}