# C1.Win.Chart.Finance.Stochastic

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_Finance_Stochastic" data-uid="C1.Win.Chart.Finance.Stochastic" class="text-break">Stochastic Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Stochastic Oscillator indicator series for FinancialChart.
Stochastic oscillators are momentum indicators designed to predict price turning
points by comparing an asset's closing price to its high-low range.
The Stochastic series can be used for fast (default), slow and full stochastic
oscillators.To create a slow or full stochastic oscillator, set the SmoothingPeriod
to an integer value greater than one; slow stochastic oscillators generally use a fixed
SmoothingPeriod of three.To create or revert to a fast stochastic oscillator, set the
SmoothingPeriod to an integer value of one.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="../C1.Win.FlexChart.10/C1.Chart.SeriesBase.html">SeriesBase</a></div>
    <div class="level2"><a class="xref" href="../C1.Win.FlexChart.10/C1.Win.Chart.Series.html">Series</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Chart.Finance.FinancialSeries.html">FinancialSeries</a></div>
    <div class="level4"><a class="xref" href="C1.Win.Chart.Finance.IndicatorBase.html">IndicatorBase</a></div>
    <div class="level5"><span class="xref">Stochastic</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><span class="xref">ISeries</span></div>
    <div><span class="xref">IStyleProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Chart.Finance.html">C1.Win.Chart.Finance</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FinancialChart.10.dll</h6>
  <h5 id="C1_Win_Chart_Finance_Stochastic_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Stochastic : IndicatorBase, IDisposable, ISeries, IStyleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Stochastic
    Inherits IndicatorBase
    Implements IDisposable, ISeries, IStyleProvider</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic__ctor" data-uid="C1.Win.Chart.Finance.Stochastic.#ctor">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.-ctor.html#C1_Win_Chart_Finance_Stochastic__ctor">Stochastic()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Chart.Finance.Stochastic.html">Stochastic</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_DLineStyle" data-uid="C1.Win.Chart.Finance.Stochastic.DLineStyle">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.DLineStyle.html#C1_Win_Chart_Finance_Stochastic_DLineStyle">DLineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of D line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_DPeriod" data-uid="C1.Win.Chart.Finance.Stochastic.DPeriod">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.DPeriod.html#C1_Win_Chart_Finance_Stochastic_DPeriod">DPeriod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the period for the %D simple moving average.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_DValues" data-uid="C1.Win.Chart.Finance.Stochastic.DValues">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.DValues.html#C1_Win_Chart_Finance_Stochastic_DValues">DValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the %D values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_DXValues" data-uid="C1.Win.Chart.Finance.Stochastic.DXValues">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.DXValues.html#C1_Win_Chart_Finance_Stochastic_DXValues">DXValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the %D x values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_KLineStyle" data-uid="C1.Win.Chart.Finance.Stochastic.KLineStyle">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.KLineStyle.html#C1_Win_Chart_Finance_Stochastic_KLineStyle">KLineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of k line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_KPeriod" data-uid="C1.Win.Chart.Finance.Stochastic.KPeriod">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.KPeriod.html#C1_Win_Chart_Finance_Stochastic_KPeriod">KPeriod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the period for the %K calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_KValues" data-uid="C1.Win.Chart.Finance.Stochastic.KValues">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.KValues.html#C1_Win_Chart_Finance_Stochastic_KValues">KValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the stochastic key values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_KXValues" data-uid="C1.Win.Chart.Finance.Stochastic.KXValues">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.KXValues.html#C1_Win_Chart_Finance_Stochastic_KXValues">KXValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the stochastic X coordinate key values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_SmoothingPeriod" data-uid="C1.Win.Chart.Finance.Stochastic.SmoothingPeriod">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.SmoothingPeriod.html#C1_Win_Chart_Finance_Stochastic_SmoothingPeriod">SmoothingPeriod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the smoothing period for full %K.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_GetItem_System_Int32_" data-uid="C1.Win.Chart.Finance.Stochastic.GetItem(System.Int32)">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.GetItem.html#C1_Win_Chart_Finance_Stochastic_GetItem_System_Int32_">GetItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_GetStyle_System_String_" data-uid="C1.Win.Chart.Finance.Stochastic.GetStyle(System.String)">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.GetStyle.html#C1_Win_Chart_Finance_Stochastic_GetStyle_System_String_">GetStyle(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style by name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Finance_Stochastic_SetStyle_C1_Chart__Style_System_String_" data-uid="C1.Win.Chart.Finance.Stochastic.SetStyle(C1.Chart._Style,System.String)">
          <a class="xref" href="C1.Win.Chart.Finance.Stochastic.SetStyle.html#C1_Win_Chart_Finance_Stochastic_SetStyle_C1_Chart__Style_System_String_">SetStyle(_Style, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the series style.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
