ChartDirector 7.1 (C++ Edition)

FinanceChart.addParabolicSAR


Usage

LineLayer addParabolicSAR(double accInitial, double accIncrement, double accMaximum, int symbolType, int symbolSize, int fillColor, int edgeColor);

Description

Adds a parabolic SAR indicator to the main chart.

Arguments

ArgumentDefaultDescription
accInitial(Mandatory)The initial acceleration. A common value to use is 0.02.
accIncrement(Mandatory)The incremental acceleration. A common value to use is 0.02.
accMaximum(Mandatory)The maximum acceleration. A common value to use is 0.2.
symbolType(Mandatory)The symbol used to plot the parabolic SAR. One of the predefined shape constants representing the symbol shape. See Shape Specification for the available built-in shapes.
symbolSize(Mandatory)The width and height of the symbol in pixels
fillColor(Mandatory)The color used to fill the symbol.
edgeColor(Mandatory)The edge color used to draw the edge of the symbol.

Return Value

A LineLayer object representing the parabolic SAR created.