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

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