private <span="n">StandardDeviation <span="n">_standardDeviation<span="p">;
<span="k">protected <span="k">override <span="k">void <span="nf">Initialize<span="p">()
<span="p">{
<span="n">_standardDeviation <span="o">= <span="n">Indicators<span="p">.<span="n">StandardDeviation<span="p">(<span="n">MarketSeries<span="p">.<span="n">Close<span="p">, <span="m">14<span="p">, <span="n">MovingAverageType<span="p">.<span="n">Simple<span="p">);
<span="p">}
<span="k">public <span="k">override <span="k">void <span="nf">Calculate<span="p">(<span="kt">int <span="n">index<span="p">)
<span="p">{
<span="kt">double <span="n">result <span="o">= <span="n">_standardDeviation<span="p">.<span="n">Result<span="p">[<span="n">index<span="p">];
<span="p">}