NetProfit

View as Markdown

Definition

Returns the net profit.

Property Value

A double value that represents the net profit.

Syntax

\<tradecollection\>.TradesPerformance.NetProfit

Examples

1protected override void OnBarUpdate()
2// Print out the net profit of all trades
3Print("Net profit is: " + SystemPerformance.AllTrades.TradesPerformance.NetProfit);