# C1.WPF.Chart.Finance.Macd

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Finance_Macd" data-uid="C1.WPF.Chart.Finance.Macd" class="text-break">Macd Class
</h1>
  <div class="markdown level0 summary"><p>Represents a moving Average Convergence/Divergence (MACD) indicator series.
The MACD indicator is designed to reveal changes in strength, direction, momentum,
and duration of an asset's price trend.</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="../C1.WPF.FlexChart.4.6.2/C1.WPF.Chart.Series.html">Series</a></div>
    <div class="level4"><a class="xref" href="C1.WPF.Chart.Finance.FinancialSeries.html">FinancialSeries</a></div>
    <div class="level5"><a class="xref" href="C1.WPF.Chart.Finance.IndicatorBase.html">IndicatorBase</a></div>
    <div class="level6"><a class="xref" href="C1.WPF.Chart.Finance.MacdBase.html">MacdBase</a></div>
    <div class="level7"><span class="xref">Macd</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">IValueProvider</span></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.WPF.Chart.Finance.html">C1.WPF.Chart.Finance</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FinancialChart.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_Finance_Macd_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Macd : MacdBase, IDisposable, IValueProvider, ISeries, IStyleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Macd
    Inherits MacdBase
    Implements IDisposable, IValueProvider, 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_WPF_Chart_Finance_Macd__ctor" data-uid="C1.WPF.Chart.Finance.Macd.#ctor">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.-ctor.html#C1_WPF_Chart_Finance_Macd__ctor">Macd()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_MacdLineStyleProperty" data-uid="C1.WPF.Chart.Finance.Macd.MacdLineStyleProperty">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.MacdLineStyleProperty.html">MacdLineStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the MacdStyle dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_SignalLineStyleProperty" data-uid="C1.WPF.Chart.Finance.Macd.SignalLineStyleProperty">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.SignalLineStyleProperty.html">SignalLineStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SignalLineStyle dependency property.</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_WPF_Chart_Finance_Macd_MacdLineStyle" data-uid="C1.WPF.Chart.Finance.Macd.MacdLineStyle">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.MacdLineStyle.html#C1_WPF_Chart_Finance_Macd_MacdLineStyle">MacdLineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the macd line style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_MacdVals" data-uid="C1.WPF.Chart.Finance.Macd.MacdVals">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.MacdVals.html#C1_WPF_Chart_Finance_Macd_MacdVals">MacdVals</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_MacdXVals" data-uid="C1.WPF.Chart.Finance.Macd.MacdXVals">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.MacdXVals.html#C1_WPF_Chart_Finance_Macd_MacdXVals">MacdXVals</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_SignalLineStyle" data-uid="C1.WPF.Chart.Finance.Macd.SignalLineStyle">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.SignalLineStyle.html#C1_WPF_Chart_Finance_Macd_SignalLineStyle">SignalLineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the signal line style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_SignalVals" data-uid="C1.WPF.Chart.Finance.Macd.SignalVals">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.SignalVals.html#C1_WPF_Chart_Finance_Macd_SignalVals">SignalVals</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_SignalXVals" data-uid="C1.WPF.Chart.Finance.Macd.SignalXVals">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.SignalXVals.html#C1_WPF_Chart_Finance_Macd_SignalXVals">SignalXVals</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_Chart_Finance_Macd_GetItem_System_Int32_" data-uid="C1.WPF.Chart.Finance.Macd.GetItem(System.Int32)">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.GetItem.html#C1_WPF_Chart_Finance_Macd_GetItem_System_Int32_">GetItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets data item by its index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Finance_Macd_GetStyle_System_String_" data-uid="C1.WPF.Chart.Finance.Macd.GetStyle(System.String)">
          <a class="xref" href="C1.WPF.Chart.Finance.Macd.GetStyle.html#C1_WPF_Chart_Finance_Macd_GetStyle_System_String_">GetStyle(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style by its name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
