import type ColorType from '../../../Core/Color/ColorType'; import type CSSObject from '../../../Core/Renderer/CSSObject'; import type MultipleLinesComposition from '../MultipleLinesComposition'; import type { SMAOptions, SMAParamsOptions } from '../SMA/SMAOptions'; /** * Bollinger bands (BB). This series requires the `linkedTo` option to be * set and should be loaded after the `stock/indicators/indicators.js` file. * * @sample {highstock} stock/indicators/bollinger-bands * Bollinger bands * * @extends plotOptions.sma * @since 6.0.0 * @product highstock * @requires stock/indicators/indicators * @requires stock/indicators/bollinger-bands * @interface Highcharts.BBOptions */ export interface BBOptions extends SMAOptions, MultipleLinesComposition.IndicatorOptions { /** * Option for fill color between lines in Bollinger Bands Indicator. * * @sample {highstock} stock/indicators/indicator-area-fill * Background fill between lines. * * @since 9.3.2 */ fillColor?: ColorType; /** * Parameters used in calculation of the regression points. */ params?: BBParamsOptions; /** * Bottom line options. */ bottomLine?: Record; /** * Top line options. * * @extends plotOptions.bb.bottomLine */ topLine?: Record; } export interface BBParamsOptions extends SMAParamsOptions { /** * Standard deviation for top and bottom bands. */ standardDeviation: number; } export default BBOptions;