ChartDirector 7.1 (.NET Edition)

FinanceChart.addUltimateOscillator


Usage

[C#]public XYChart addUltimateOscillator(int height, int period1, int period2, int period3, int color, double range, int upColor, int downColor);
[VB]Public Function addUltimateOscillator(height As Integer, period1 As Integer, period2 As Integer, period3 As Integer, color As Integer, range As Double, upColor As Integer, downColor As Integer) As XYChart

Description

Adds an Ultimate Oscillator indicator chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The first moving average period to compute the indicator.
period2(Mandatory)The second moving average period to compute the indicator.
period3(Mandatory)The third moving average period to compute the indicator.
color(Mandatory)The color of the indicator line.
range(Mandatory)The distance between the middle line and the upper and lower threshold lines.
upColor(Mandatory)The fill color when the indicator exceeds the upper threshold line.
downColor(Mandatory)The fill color when the indicator falls below the lower threshold line.

Return Value

A XYChart object representing the chart created.