ChartDirector 7.1 (.NET Edition)

FinanceChart.addExpMovingAvg


Usage

[C#]public LineLayer addExpMovingAvg(int period, int color);
[VB]Public Function addExpMovingAvg(period As Integer, color As Integer) As LineLayer

Description

Adds an exponential moving average line on the main chart.

Arguments

ArgumentDefaultDescription
period(Mandatory)The moving average period
color(Mandatory)The color of the line.

Return Value

A LineLayer object representing the line created.