import type CSSObject from '../../../Core/Renderer/CSSObject'; import type ColorType from '../../../Core/Color/ColorType'; import type MultipleLinesComposition from '../MultipleLinesComposition'; import type { SMAOptions, SMAParamsOptions } from '../SMA/SMAOptions'; /** * Acceleration bands (ABANDS). This series requires the `linkedTo` option * to be set and should be loaded after the * `stock/indicators/indicators.js`. * * @sample {highstock} stock/indicators/acceleration-bands * Acceleration Bands * * @extends plotOptions.sma * @since 7.0.0 * @product highstock * @excluding allAreas, colorAxis, compare, compareBase, joinBy, keys, * navigatorOptions, pointInterval, pointIntervalUnit, * pointPlacement, pointRange, pointStart, showInNavigator, * stacking * @requires stock/indicators/indicators * @requires stock/indicators/acceleration-bands * @interface Highcharts.ABandsOptions */ export interface ABandsOptions extends SMAOptions, MultipleLinesComposition.IndicatorOptions { /** * Option for fill color between lines in Acceleration bands Indicator. * * @sample {highstock} stock/indicators/indicator-area-fill * Background fill between lines. * * @since 9.3.2 */ fillColor?: ColorType; bottomLine?: Record; /** * Pixel width of the main line. * * @default 1 */ lineWidth?: number; params?: ABandsParamsOptions; topLine?: Record; } export interface ABandsParamsOptions extends SMAParamsOptions { /** * The algorithms factor value used to calculate bands. * * @product highstock */ factor?: number; } export default ABandsOptions;