StdDev

View as Markdown

Definition

Returns the standard deviation of the collection on a per unit basis.

Property Value

A double value that represents the standard deviation of the collection on a per unit basis.

Syntax

\<tradecollection\>.TradesPerformance.\<tradesperformancevalues\>.StdDev

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the standard deviation of all trades
4 Print("Standard deviation of all trades is: " + SystemPerformance.AllTrades.TradesPerformance.Currency.StdDev);
5}