GrossProfit

View as Markdown

Definition

Returns the gross profit.

Property Value

A double value that represents the gross profit.

Syntax

\<tradecollection\>.TradesPerformance.GrossProfit

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the gross profit of all trades
4 Print("Gross profit is: " + SystemPerformance.AllTrades.TradesPerformance.GrossProfit);
5}