ChartDirector 5.1 (PHP Edition)

FinanceChart.addMomentum


Usage

addMomentum(height, period, color)

Description

Adds a Momentum indicator chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the indicator.
color(Mandatory)The color of the indicator line.

Return Value

A XYChart object representing the chart created.