UNPKG

@amcharts/amcharts5

Version:
54 lines 1.99 kB
import type { IIndicatorEditableSetting } from "./Indicator"; import type { Color } from "../../../core/util/Color"; import { Indicator, IIndicatorSettings, IIndicatorPrivate, IIndicatorEvents } from "./Indicator"; import { LineSeries } from "../../xy/series/LineSeries"; export interface IAccelerationBandsSettings extends IIndicatorSettings { /** * A color for upper section. */ upperColor?: Color; /** * A color for lower section. */ lowerColor?: Color; /** * Band width factor. Stored in thousandths: the default `0.001` yields the * standard Acceleration Bands (the classic `4 * (high - low) / (high + low)` * form). The settings UI shows this as the conventional `1` (= single band * width) via a display scale, but the stored/API value remains in thousandths. */ factor?: number; } export interface IAccelerationBandsPrivate extends IIndicatorPrivate { } export interface IAccelerationBandsEvents extends IIndicatorEvents { } /** * An implementation of a [[StockChart]] indicator. * * @see {@link https://www.amcharts.com/docs/v5/charts/stock/indicators/} for more info */ export declare class AccelerationBands extends Indicator { static className: string; static classNames: Array<string>; _settings: IAccelerationBandsSettings; _privateSettings: IAccelerationBandsPrivate; _events: IAccelerationBandsEvents; /** * Indicator series for the upper band. */ upperBandSeries: LineSeries; /** * Indicator series for the lower band. */ lowerBandSeries: LineSeries; _editableSettings: IIndicatorEditableSetting[]; protected _afterNew(): void; _prepareChildren(): void; _updateChildren(): void; prepareData(): void; protected _dispose(): void; hide(duration?: number): Promise<any>; show(duration?: number): Promise<any>; } //# sourceMappingURL=AccelerationBands.d.ts.map