ChartDirector 7.1 (C++ Edition)

FinanceChart.addWeightedMovingAvg


Usage

LineLayer *addWeightedMovingAvg(int period, int color);

Description

Adds a weighted 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.