import { Indicator, IIndicatorSettings, IIndicatorPrivate, IIndicatorEvents, IIndicatorEditableSetting } from "./Indicator"; import { LineSeries } from "../../xy/series/LineSeries"; export interface IMovingAverageSettings extends IIndicatorSettings { /** * Kind of moving average: `"simple"`, `"weighted"`, `"exponential"`, * `"dema"` (double exponential) or `"tema"` (triple exponential). * * @default "simple" */ maType?: "simple" | "weighted" | "exponential" | "dema" | "tema"; /** * Type of the moving average. * Left for backward compatibility. Please use `maType` instead. * @ignore */ type?: "simple" | "weighted" | "exponential" | "dema" | "tema"; /** * Shifts the line by this many data items: positive values move it right * (later in time), negative ones left. * * @default 0 */ offset?: number; } export interface IMovingAveragePrivate extends IIndicatorPrivate { } export interface IMovingAverageEvents extends IIndicatorEvents { } /** * Moving Average indicator: a line over the main series, averaging `field` * over the last `period` data items. * * @see {@link https://www.amcharts.com/docs/v5/charts/stock/indicators/} for more info */ export declare class MovingAverage extends Indicator { static className: string; static classNames: Array; _settings: IMovingAverageSettings; _privateSettings: IMovingAveragePrivate; _events: IMovingAverageEvents; /** * The indicator's series. */ series: LineSeries; _editableSettings: IIndicatorEditableSetting[]; _prepareChildren(): void; protected _afterNew(): void; /** * @ignore */ prepareData(): void; } //# sourceMappingURL=MovingAverage.d.ts.map