Files
ai/web/public/charting_library/bundles/line-tool-head-and-shoulders.22b0af1ad7bc3caff507.js

1 line
1.1 KiB
JavaScript

"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3378],{43684:(e,r,t)=>{t.r(r),t.d(r,{LineToolHeadAndShoulders:()=>s});var o=t(78176),n=t(41414),i=t(65045);class s extends n.LineDataSource{constructor(e,r,o,n){super(e,r??s.createProperties(e.backgroundTheme().spawnOwnership()),o,n),Promise.all([t.e(6290),t.e(986),t.e(6668),t.e(1583)]).then(t.bind(t,78030)).then((r=>{this._setPaneViews([new r.LineToolHeadAndShouldersPaneView(this,e)])}))}pointsCount(){return 7}name(){return"Head and Shoulders"}static createProperties(e,r){const t=new o.DefaultProperty({defaultName:"linetoolheadandshoulders",state:r,theme:e});return this._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([t.e(3198),t.e(5410),t.e(2745),t.e(8823),t.e(8537)]).then(t.bind(t,29809)).then((e=>e.PatternWithBackgroundDefinitionViewModel))}static _configureProperties(e){super._configureProperties(e),e.addChild("linesColors",new i.LineToolColorsProperty([e.childs().color])),e.addChild("textsColors",new i.LineToolColorsProperty([e.childs().textcolor]))}}}}]);