MonthlyStdDev

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >

MonthlyStdDev

Previous page Return to chapter overview Next page

Definition

Returns the monthly standard deviation.

 

Property Value

A double value that represents the monthly standard deviation.

 

Syntax
<TradeCollection>.TradesPerformance.MonthlyStdDev

 

 

 

Examples

ns


protected override void OnBarUpdate()
{
    // Print out the monthly standard deviation
    Print("Monthly standard deviation is: " + SystemPerformance.AllTrades.TradesPerformance.MonthlyStdDev);
}