Skip to main content

MovingAverageConvergenceDivergenceIndicator.Style Property

Gets or sets the indicator appearance settings.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public MovingAverageConvergenceDivergenceIndicatorStyle Style { get; set; }

Property Value

Type Description
MovingAverageConvergenceDivergenceIndicatorStyle

An object that stores appearance settings of the MACD indicator.

Example

To change the line appearance of the MACD indicator, set its Style property to the MovingAverageConvergenceDivergenceIndicatorStyle object with the specified settings.

Moving Average Convergence/Divergence Indicator Appearance

<dxc:MovingAverageConvergenceDivergenceIndicator>
    <dxc:MovingAverageConvergenceDivergenceIndicator.Style>
        <dxc:MovingAverageConvergenceDivergenceIndicatorStyle Stroke="#e95ddc" StrokeThickness="2"
                                                              SignalStroke="DarkGray" SignalStrokeThickness="1" />
    </dxc:MovingAverageConvergenceDivergenceIndicator.Style>

    <!--Indicator Data-->
</dxc:MovingAverageConvergenceDivergenceIndicator>
See Also