MaxTimeToRecover

View as Markdown

Definition

Returns the maximum time to recover from a draw down.

Property Value

A TimeSpan value that represents the maximum time to recover from a draw down.

Syntax

\<tradecollection\>.TradesPerformance.MaxTimeToRecover

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the maximum time to recover from a draw down
4 Print("Max time to recover is: " + SystemPerformance.AllTrades.TradesPerformance.MaxTimeToRecover);
5}