ChartDirector 5.1 (.NET Edition)

FinanceChart.addTriMovingAvg


Usage

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

Description

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