Table of Contents

TTMSFNCOHLCChart.AddTrendChannelBand Method

Adds a band series representing the trend channel around the series at the given index.

API unit family: TMSFNCChart Declaring type: TTMSFNCOHLCChart Inherited from: TTMSFNCChart

Syntax

function AddTrendChannelBand(ASerieIndex, AStartX, AEndX: integer; AUseCommonYRange: Boolean = True; ASerieLineColor: TTMSFNCGraphicsColor = gcBlack; ASerieLineWidth: integer = 1; ASerieBandColor: TTMSFNCGraphicsColor = gcGray): TTMSFNCChartSerie;

Parameters

Name Description
ASerieIndex Zero-based index of the source series.
AStartX Starting x-axis point index.
AEndX Ending x-axis point index.
AUseCommonYRange When True, the band participates in the common y-range calculation.
ASerieLineColor Stroke color for the channel boundary lines.
ASerieLineWidth Stroke width in pixels.
ASerieBandColor Fill color for the channel area.

Returns

Returned value.