diff --git a/charting_library/ar-tv-chart.57cf82a7.html b/charting_library/ar-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ar-tv-chart.57cf82a7.html
rename to charting_library/ar-tv-chart.7210b52e.html
index 890991d4..5a5267bb 100644
--- a/charting_library/ar-tv-chart.57cf82a7.html
+++ b/charting_library/ar-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/bundles/library.afbe258896d7c527313b.js b/charting_library/bundles/library.226e82adda165163d412.js
similarity index 99%
rename from charting_library/bundles/library.afbe258896d7c527313b.js
rename to charting_library/bundles/library.226e82adda165163d412.js
index 1874e35f..2c2f693f 100644
--- a/charting_library/bundles/library.afbe258896d7c527313b.js
+++ b/charting_library/bundles/library.226e82adda165163d412.js
@@ -324,7 +324,7 @@ this._symbolProperty().unsubscribe(this,this._onSymbolPropertyChange),this._watc
;return this._activeChartWidget.model().mainSeries()},e.prototype._properties=function(){return this._mainSeries().properties()},e.prototype._symbolProperty=function(){return this._properties().symbol},e.prototype._intervalProperty=function(){return this._properties().interval},e.prototype._timeFrameProperty=function(){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");return this._activeChartWidget.model().model().appliedTimeFrame()},e.prototype._timeFramePropertyState=function(){return Object(l.timeFramePropertyState)(this._timeFrameProperty())},e.prototype._watchedSymbolListener=function(e){this._symbolProperty().value()!==e&&this._chartWidgetCollection.setSymbol(e)},e.prototype._sendSnowplowAnalytics=function(){if(!window.user.do_not_track)throw new Error("unsupported")},e.prototype._onSymbolPropertyChange=function(){var e=this._symbolProperty().value()!==this._watchedSymbol.value();this._watchedSymbol.setValue(this._symbolProperty().value()),e&&this._chartWidgetCollection.setSymbol(this._symbolProperty().value())},e.prototype._onSymbolResolved=function(e){var t=this._mainSeries().symbolInfo();t&&this._applyValuesFromSymbolInfo(t)},e.prototype._applyValuesFromSymbolInfo=function(e){var t=e.pro_name||s.enabled("trading_terminal")&&(e.full_name||e.name)||"";this._proSymbol.setValue(t),e.aliases&&this._symbolNamesList.setValue(e.aliases)},e.prototype._updateSeriesSymbolInfo=function(){this._seriesShortSymbol.setValue(this._properties().shortName.value());var e=this._mainSeries().symbolInfo();e?(this._applyValuesFromSymbolInfo(e),e.hasOwnProperty("supported_resolutions")?this._watchedSupportedResolutions.setValue(e.supported_resolutions):this._watchedSupportedResolutions.setValue(void 0),this._watchedIntraday.setValue(!!e.has_intraday)):(this._watchedIntraday.deleteValue(),this._proSymbol.deleteValue())},e.prototype._watchedIntervalListener=function(e){this._intervalProperty().value()!==e&&this._chartWidgetCollection.setResolution(e)},e.prototype._onIntervalPropertyChange=function(){var e=this._intervalProperty().value()!==this._watchedInterval.value();this._watchedInterval.setValue(this._intervalProperty().value()),e&&this._chartWidgetCollection.setResolution(this._intervalProperty().value())},e.prototype._watchedTimeFrameListener=function(e){h(this._timeFramePropertyState(),e)||this._chartWidgetCollection.setTimeFrame(e)},e.prototype._onTimeFramePropertyChange=function(){var e=this._timeFramePropertyState(),t=!h(e,this._watchedTimeFrame.value());this._watchedTimeFrame.setValue(e),t&&this._chartWidgetCollection.setTimeFrame(e)},e.prototype._onChartModelCreated=function(e){if(!this._activeChartWidget)throw new Error("ChartWidget is undefined");this._chartWidgetBindingState=r.BoundToModel,this._activeChartWidget.modelCreated().unsubscribe(this,this._onChartModelCreated);var t=this._symbolProperty();t.subscribe(this,this._onSymbolPropertyChange),this._watchedSymbol.setValue(t.value()),this._watchedSymbol.subscribe(this._watchedSymbolListenerBound);var i=this._mainSeries()
;i.dataEvents().symbolResolved().subscribe(this,this._onSymbolResolved),this._watchedSymbol.hook=function(e){return i.symbolSameAsCurrent(e)&&(e=i.symbol()),e},i.dataEvents().symbolResolved().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolError().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().symbolGroupNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),i.dataEvents().extendedHoursNotPermitted().subscribe(this,this._updateSeriesSymbolInfo),this._updateSeriesSymbolInfo();var n=this._intervalProperty();n.subscribe(this,this._onIntervalPropertyChange),this._watchedInterval.setValue(n.value()),this._watchedInterval.subscribe(this._watchedIntervalListenerBound),this._timeFrameProperty().subscribe(this,this._onTimeFramePropertyChange),this._watchedTimeFrame.setValue(this._timeFramePropertyState()),this._watchedTimeFrame.subscribe(this._watchedTimeFrameListenerBound),this._activeChartWidget.readOnly()&&(this._watchedSymbol.writeLock=!0)},e}();window.TradingView=window.TradingView||{};var p=new d;window.TradingView.Linking=p},PYn8:function(e,t,i){"use strict";var r=i("Ss5c").LineDataSource,n=i("Ocx9").DefaultProperty,o=i("hayr").propertyPages,s=window.t("Three Drives Pattern");function a(e,t){this._constructor="LineToolThreeDrivers";var n=t||a.createProperties();r.call(this,e,n),i.e("lt-pane-views").then(function(e){var t=i("S6aM").LineToolThreeDrivesPaneView;this._setPaneViews([new t(this,this._model)])}.bind(this).bind(null,i)).catch(i.oe)}inherit(a,r),a.prototype.pointsCount=function(){return 7},a.prototype.translatedType=function(){return s},a.prototype.name=function(){return"Three Drives Pattern"},a.prototype.getStylesPropertyPage=function(){return o.LineToolABCDPatternStylesPropertyPage},a.prototype._getPropertyDefinitionsViewModelClass=function(){return Promise.all([i.e(21),i.e("lt-property-pages-with-definitions")]).then(function(e){return i("y4pE").AbcdPatternDefinitionsViewModel}.bind(null,i)).catch(i.oe)},a.createProperties=function(e){var t=new n("linetoolthreedrivers",e);return a._configureProperties(t),t},a._configureProperties=function(e){r._configureProperties(e)},t.LineToolThreeDrivers=a},PgQx:function(e,t){e.exports=''},PoSe:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i){var r,n,o,s=null,a=0;i=i||{};var l=function(){a=!1===i.leading?0:Date.now(),s=null,o=e.apply(r,n),s||(r=n=null)};return function(){var c=Date.now();a||!1!==i.leading||(a=c);var u=t-(c-a);return r=this,n=arguments,u<=0||u>t?(s&&(clearTimeout(s),s=null),a=c,o=e.apply(r,n),s||(r=n=null)):s||!1===i.trailing||(s=setTimeout(l,u)),o}},
e.exports=t.default},Q19o:function(e,t,i){"use strict";(function(t,r){var n=i("Eyy1").ensureNotNull,o=i("jA0t"),s=i("9iCb").applyOverridesToStudy,a=i("0YCj"),l=i("5JMW"),c=l.LineDataSourceApi,u=l.isLineToolRiskReward,h=i("N1UO").StudyApi,d=i("ltKl").SeriesApi,p=i("QrSB").SelectionApi,f=i("mf9N").PaneApi,_=i("IiTo"),m=i("LxhU").Interval,y=i("jCNj"),g=i("2jXJ").supportedLineTools,v=i("7MZv").showTooManyStudiesNotice,S=i("ogJP").isNumber,b=i("ogJP").inherit,w=i("vu5c").onSeriesCompletedOrErrorReceived,P=i("CW80").createLineToolProperties,C=i("96Yh"),x=C.lineToolEntityInfo,T=C.studyEntityInfo,L=i("lReN").LineToolsGroupControllerApi,I=i("ocrj").RemoveSourcesCommand,M=i("FDyI").ChartWidgetApiBase,O=i("mMWL"),A=function(e,i){M.call(this,e),this._panes=new WeakMap,this._studies=new WeakMap,this._lineDataSources=new WeakMap,this._activateChart=i,this._selectionApi=null,this._visibleBarsChanged=new t,this._chartWidget.onAboutToBeDestroyed().subscribe(this,this._destroy,!0),this._chartWidget.withModel(this,(function(){this._chartWidget.model().timeScale().visibleBarsStrictRangeChanged().subscribe(this,this._onVisibleBarsChanged)}))};function k(e,t){return t.map((function(t){return e.dataSourceForId(t)}))}function E(e,t){var i=r.utc_to_cal(t.timezone,1e3*e),n=t.spec.correctTradingDay(i);return r.set_hms(n,0,0,0,0,y.get_timezone("Etc/UTC")),n.getTime()/1e3}b(A,M),A.prototype._getPaneApi=function(e){var t=this._panes.get(e);return void 0===t&&(t=new f(e,this._chartWidget),this._panes.set(e,t)),t},A.prototype._getStudyApi=function(e){var t=this._studies.get(e);return void 0===t&&(t=new h(e,this._chartWidget.model()),this._studies.set(e,t)),t},A.prototype._getLineDataSourceApi=function(e){var t=this._lineDataSources.get(e);return void 0===t&&(t=new c(e,this._chartWidget.model().model(),{apiPointsToDataSource:this._convertUserPointsToDataSource.bind(this),dataSourcePointsToPriced:function(e){var t=this._chartWidget.model().mainSeries().syncModel(),i=this._chartWidget.model().timeScale();return e.map((function(e){var r=i.normalizeBarIndex(e.index);return{price:e.price,time:t.projectTime(r.time_t,r.offset)}}))}.bind(this)}),this._lineDataSources.set(e,t)),t},A.prototype._makeSubscriptionFromDelegate=function(e){return{subscribe:e.subscribe.bind(e),unsubscribe:e.unsubscribe.bind(e),unsubscribeAll:e.unsubscribeAll.bind(e)}},A.prototype.executeActionById=function(e){this._chartWidget.executeActionById(e)},A.prototype.getCheckableActionState=function(e){return this._chartWidget.getCheckableActionState(e)},A.prototype.setZoomEnabled=function(e){this._chartWidget.model().model().setZoomEnabled(e)},A.prototype.setScrollEnabled=function(e){this._chartWidget.model().model().setScrollEnabled(e)},A.prototype.refreshMarks=function(){this._chartWidget.refreshMarks()},A.prototype.clearMarks=function(){this._chartWidget.clearMarks()},A.prototype.symbol=function(){return this._chartWidget.getSymbol()},A.prototype.symbolExt=function(){var e=this._chartWidget.model().mainSeries().symbolInfo();return e?{symbol:e.name,full_name:e.full_name,
-exchange:e.exchange,description:e.description,type:e.type}:null},A.prototype.resolution=function(){return this._chartWidget.model().mainSeries().properties().interval.value()},A.prototype.setSymbol=function(e,t){if(e!==this.symbol()){var i=this._chartWidget.model().mainSeries().dataEvents();t&&w(i,(function(e){e||t()})),this._activateChart(),this._chartWidget.setSymbol(e)}},A.prototype.resetData=function(){this._chartWidget.model().mainSeries().rerequestData()},A.prototype.setResolution=function(e,t){var i=m.normalize(e);if(null!==i&&i!==this.resolution()){var r=this._chartWidget.model().mainSeries().dataEvents();t&&w(r,(function(e){e||t()})),this._activateChart(),this._chartWidget.setResolution(i)}},A.prototype.setEntityVisibility=function(e,t){console.warn("`setEntityVisibility` is deprecated. Use shape/study API instead");var i=this._chartWidget.model().model().dataSourceForId(e);if(i){var r=i.properties();r&&r.visible&&r.visible.setValue(t)}},A.prototype.getAllStudies=function(){return this._chartWidget.model().model().allStudies().map(T)},A.prototype.availableZOrderOperations=function(e){var t=k(this._chartWidget.model().model(),e);return this._chartWidget.model().availableZOrderOperations(t)},A.prototype.sendToBack=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().sendToBack(t)},A.prototype.bringToFront=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().bringToFront(t)},A.prototype.insertAfter=function(e,t){var i=this._chartWidget.model().model(),r=k(i,e),n=i.dataSourceForId(t);this._chartWidget.model().insertAfter(r,n)},A.prototype.insertBefore=function(e,t){var i=this._chartWidget.model().model(),r=k(i,e),n=i.dataSourceForId(t);this._chartWidget.model().insertBefore(r,n)},A.prototype.bringForward=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().bringForward(t)},A.prototype.sendBackward=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().sendBackward(t)},A.prototype.showPropertiesDialog=function(e){var t=this._chartWidget.model().model().dataSourceForId(e);if(null===t)throw new Error("Study or shape "+e+" does not exist");this._chartWidget.showChartPropertiesForSource(t)},A.prototype.getAllShapes=function(){return this._chartWidget.model().model().allLineTools().map(x).filter((function(e){return null!==e.name}))},A.prototype.removeAllShapes=function(){this._chartWidget.removeAllDrawingTools()},A.prototype.removeAllStudies=function(){this._chartWidget.removeAllStudies()},A.prototype.removeEntity=function(e,t){var i=this._chartWidget.model().chartModel().dataSourceForId(e);i?t&&t.disableUndo?new I(this._chartWidget.model().chartModel(),[i],"").redo():this._chartWidget.model().removeSource(i,!0):console.warn("Can't find a source with id: "+e)},A.prototype.removeEntityWithUndo=function(e){var t=this._chartWidget.model().chartModel().dataSourceForId(e);this._chartWidget.model().removeSource(t,!1)},A.prototype.selection=function(){
+exchange:e.exchange,description:e.description,type:e.type}:null},A.prototype.resolution=function(){return this._chartWidget.model().mainSeries().properties().interval.value()},A.prototype.setSymbol=function(e,t){if(e!==this.symbol()){var i=this._chartWidget.model().mainSeries().dataEvents();t&&w(i,(function(e){e||t()})),this._activateChart(),this._chartWidget.setSymbol(e)}},A.prototype.resetData=function(){this._chartWidget.model().mainSeries().rerequestData()},A.prototype.setResolution=function(e,t){var i=m.normalize(e);if(null!==i&&i!==this.resolution()){var r=this._chartWidget.model().mainSeries().dataEvents();t&&w(r,(function(e){e||t()})),this._activateChart(),this._chartWidget.setResolution(i)}},A.prototype.setEntityVisibility=function(e,t){console.warn("`setEntityVisibility` is deprecated. Use shape/study API instead");var i=this._chartWidget.model().model().dataSourceForId(e);if(i){var r=i.properties();r&&r.visible&&r.visible.setValue(t)}},A.prototype.getAllStudies=function(){return this._chartWidget.model().model().allStudies().map(T)},A.prototype.availableZOrderOperations=function(e){var t=k(this._chartWidget.model().model(),e);return this._chartWidget.model().availableZOrderOperations(t)},A.prototype.sendToBack=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().sendToBack(t)},A.prototype.bringToFront=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().bringToFront(t)},A.prototype.insertAfter=function(e,t){var i=this._chartWidget.model().model(),r=k(i,e),n=i.dataSourceForId(t);this._chartWidget.model().insertAfter(r,n)},A.prototype.insertBefore=function(e,t){var i=this._chartWidget.model().model(),r=k(i,e),n=i.dataSourceForId(t);this._chartWidget.model().insertBefore(r,n)},A.prototype.bringForward=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().bringForward(t)},A.prototype.sendBackward=function(e){var t=k(this._chartWidget.model().model(),e);this._chartWidget.model().sendBackward(t)},A.prototype.showPropertiesDialog=function(e){var t=this._chartWidget.model().model().dataSourceForId(e);if(null===t)throw new Error("Study or shape "+e+" does not exist");this._chartWidget.showChartPropertiesForSource(t)},A.prototype.getAllShapes=function(){return this._chartWidget.model().model().allLineTools().map(x).filter((function(e){return null!==e.name}))},A.prototype.removeAllShapes=function(){this._chartWidget.removeAllDrawingTools()},A.prototype.removeAllStudies=function(){this._chartWidget.removeAllStudies()},A.prototype.removeEntity=function(e,t){var i=this._chartWidget.model().chartModel().dataSourceForId(e);i?t&&t.disableUndo?new I(this._chartWidget.model().chartModel(),[i],"").redo():this._chartWidget.model().removeSource(i,!0,!0):console.warn("Can't find a source with id: "+e)},A.prototype.removeEntityWithUndo=function(e){var t=this._chartWidget.model().chartModel().dataSourceForId(e);this._chartWidget.model().removeSource(t,!1)},A.prototype.selection=function(){
return null===this._selectionApi&&(this._selectionApi=new p(this._chartWidget.model().model())),this._selectionApi},A.prototype.createStudyTemplate=function(e){return this._chartWidget.model().model().studyTemplate(e.saveSymbol,e.saveInterval)},A.prototype.drawOnAllCharts=function(e){O.drawOnAllCharts.setValue(e)},A.prototype.applyStudyTemplate=function(e){this._chartWidget.model().applyStudyTemplate(e,""+1e3*Math.random())},A.prototype.setVisibleRange=function(e,t){if(void 0!==e&&e.from&&e.to&&!isNaN(e.from)&&!isNaN(e.to)){var i=[parseInt(e.from),parseInt(e.to)],r=this._alignPoints(i),n=r[0],o=r[1],s=void 0!==t&&"function"==typeof t,a=new Promise(function(e){this._chartWidget.setVisibleTimeRange(n,o,s?{}:t,e)}.bind(this));return s&&(console.warn("setVisibleRange now returns a Promise object and don't accept callback as the last argument"),a.then(t)),a}console.warn("Wrong time range: "+JSON.stringify(e)+'. Expected an object with "from" and "to" numeric values.')},A.prototype._getSession=function(){var e=this._chartWidget.model().mainSeries().symbolInfo();return new _.SessionInfo(e.timezone,e.session,e.holidays,e.corrections)},A.prototype.getVisibleRange=function(){var e={from:0,to:0},t=this._chartWidget.model().timeScale(),i=t.visibleBarsStrictRange();if(null===i)return e;var r=this._chartWidget.model().mainSeries(),o=r.syncModel();if(null===o)return e;var s=n(r.data().last()),a=i.lastBar()-s.index,l=a<=0?t.indexToTimePoint(i.lastBar()):o.projectTime(s.value[TradingView.TIME_PLOT],a);if(e.from=+t.indexToTimePoint(Math.max(0,i.firstBar()))||0,e.to=+l||0,m.isDWM(r.interval())){var c=this._getSession();e.from=E(e.from,c),e.to=E(e.to,c)}return e},A.prototype.getTimeScaleLogicalRange=function(){return this._chartWidget.model().timeScale().logicalRange()},A.prototype.getVisiblePriceRange=function(){return console.warn("`getVisiblePriceRange` is deprecated. Use Price Scale API instead"),this._chartWidget.model().mainSeries()?this._chartWidget.model().mainSeries().priceScale().priceRangeInPrice():null},A.prototype.scrollPosition=function(){return this._chartWidget.model().timeScale().rightOffset()},A.prototype.defaultScrollPosition=function(){return this._chartWidget.model().timeScale().defaultRightOffsetProperty().value()},A.prototype._createTradingPrimitive=function(e,t){var i=this;var r,o,s=this._chartWidget.model().model(),a=s.paneForSource(s.mainSeries());return(t?s:this._chartWidget.model()).createLineTool(a,(r=TradingView.CLOSE_PLOT,{index:(o=n(i._chartWidget.model().mainSeries().bars().last())).index,price:o.value[r]}),e)._adapter},A.prototype.createOrderLine=function(e){e=e||{};return this._createTradingPrimitive("LineToolOrder",e.disableUndo)},A.prototype.createPositionLine=function(e){e=e||{};return this._createTradingPrimitive("LineToolPosition",e.disableUndo)},A.prototype.createExecutionShape=function(e){e=e||{};return this._createTradingPrimitive("LineToolExecution",e.disableUndo)},A.prototype.createShape=function(e,t){return this.createMultipointShape([e],t)},A.prototype._alignPoints=function(e){
var t=this._chartWidget.model().model(),i=t.mainSeries(),r=i.interval();if(t.timeScale().isEmpty()||!m.isDWM(r))return e;var n=_.createAligner(r,i.symbolInfo(),!0);return null===n?e:e.map((function(e){return e?(n.moveTo(1e3*e),n.startOfBar(0)/1e3):e}))},A.prototype._convertUserPointsToDataSource=function(e){var t=this._chartWidget.model().model(),i=t.mainSeries(),r=t.timeScale().points(),n=i.data();if(t.timeScale().isEmpty())return null;var o=e.map((function(e){return e.time})),s=this._alignPoints(o);function a(e,t,o){var s=r.closestIndexLeft(e)||0,a={index:s},l=r.valueAt(s);if(e>l&&s===r.lastIndex()){var c=i.syncModel().distance(l,e);c.success&&(a.index=a.index+c.result)}if(S(t))a.price=t;else{var u=o?["open","high","low","close"].indexOf(o)+1:1;u<=0&&(u=1),a.price=n.valueAt(s)[u]}return a}for(var l=[],c=0;c2)throw new Error("Wrong points count for "+t.shape+". Required 1 or 2");2===l.length&&(p.startChanging(1,l[1]),p.setPoint(1,l[1]),p.endChanging())}else{var f=p.pointsCount();if(f!==l.length&&-1!==f)throw new Error("Wrong points count for "+t.shape+". Required "+f);for(var _=1;_1?"Remove drawings group":"Remove "+e[0].title();this.removeSources(e,!1,t)}},t.prototype.removeSources=function(e,t,i){var r=this;e=e.filter((function(e){return e.isUserDeletable()}));var o=this._model(),s=o.lineToolsGroupModel();this.beginUndoMacro(i),o.selectionMacro((function(a){var l=new Map;e.forEach((function(e){if(Object(f.isLineTool)(e)){var t=s.groupForLineTool(e);if(null!==t){var i=l.get(t)||[];i.push(e),l.set(t,i)}null!==e.getLinkKey()&&Object(re.removeLineTool)({model:r.model(),linkKey:Object(n.ensureNotNull)(e.getLinkKey())})}})),l.forEach((function(e,t){var i=new y.a(o,t,e);r._pushUndoCommand(i)}));var c=new m.RemoveSourcesCommand(o,e,i),u=c.removedIds();r._pushUndoCommand(c),!t&&u.length>0&&(1===u.length?r.emitEvent("removeSource",[u[0]]):r.emitEvent("removeSources",[u]))})),this.endUndoMacro()},t.prototype.mergeSourceUp=function(e){var t=new S.c(this._model(),e,"Merge up");this._mergeUnmergeSource(e,t)},t.prototype.mergeSourceDown=function(e){var t=new S.a(this._model(),e,"Merge down");this._mergeUnmergeSource(e,t)},t.prototype.mergeToPane=function(e,t){var i=this._model().panes().indexOf(t),r=new S.b(this._model(),e,i,"Merge to pane");this._mergeUnmergeSource(e,r)},
+null!==this._currentLineMoveCommand&&(this._currentLineMoveCommand.saveNewState(),this._pushUndoCommand(this._currentLineMoveCommand)),this._currentLineMoveCommand=null},t.prototype.startChangingLinetool=function(e,t,i,r,n){this._currentLineChangeCommand=new g.SaveLineToolStateUndoCommand(this.model(),[e],"Change "+i+"point",!1),this.model().startChangingLinetool(e,t,i,r,n)},t.prototype.changeLinePoint=function(e,t,i){this.model().changeLinePoint(e,t,i)},t.prototype.endChangingLinetool=function(e){this.model().endChangingLinetool(e),null!==this._currentLineChangeCommand&&(this._currentLineChangeCommand.saveNewState(),this._pushUndoCommand(this._currentLineChangeCommand)),this._currentLineChangeCommand=null},t.prototype.setChartStyleProperty=function(e,t,i){if(e.value()!==t){var r=new Y(e,t,this.mainSeries(),i,this.model(),this.chartWidget());this._pushUndoCommand(r),this.emitEvent("setChartStyleProperty"),Object(j.trackChartStyleChanged)(e.value())}},t.prototype.applyStudyTemplate=function(e,t){var i=new me(this._model(),e,t);this._pushUndoCommand(i)},t.prototype.cloneLineTools=function(e,t){for(var i=this,r=0;r1?"Remove drawings group":"Remove "+e[0].title();this.removeSources(e,!1,t)}},t.prototype.removeSources=function(e,t,i,r){var o=this;r||(e=e.filter((function(e){return e.isUserDeletable()})));var s=this._model(),a=s.lineToolsGroupModel();this.beginUndoMacro(i),s.selectionMacro((function(r){var l=new Map;e.forEach((function(e){if(Object(f.isLineTool)(e)){var t=a.groupForLineTool(e);if(null!==t){var i=l.get(t)||[];i.push(e),l.set(t,i)}null!==e.getLinkKey()&&Object(re.removeLineTool)({model:o.model(),linkKey:Object(n.ensureNotNull)(e.getLinkKey())})}})),l.forEach((function(e,t){var i=new y.a(s,t,e);o._pushUndoCommand(i)}));var c=new m.RemoveSourcesCommand(s,e,i),u=c.removedIds();o._pushUndoCommand(c),!t&&u.length>0&&(1===u.length?o.emitEvent("removeSource",[u[0]]):o.emitEvent("removeSources",[u]))})),this.endUndoMacro()},t.prototype.mergeSourceUp=function(e){var t=new S.c(this._model(),e,"Merge up");this._mergeUnmergeSource(e,t)},t.prototype.mergeSourceDown=function(e){var t=new S.a(this._model(),e,"Merge down");this._mergeUnmergeSource(e,t)},t.prototype.mergeToPane=function(e,t){var i=this._model().panes().indexOf(t),r=new S.b(this._model(),e,i,"Merge to pane");this._mergeUnmergeSource(e,r)},
t.prototype.unmergeSourceUp=function(e){var t=new v.c(this._model(),e,"Unmerge up");this._mergeUnmergeSource(e,t)},t.prototype.unmergeSourceDown=function(e){var t=new v.a(this._model(),e,"Unmerge down");this._mergeUnmergeSource(e,t)},t.prototype.unmergeToNewBottomPane=function(e){var t=new v.b(this._model(),e,"Unmerge to new bottom pane");this._mergeUnmergeSource(e,t)},t.prototype.availableZOrderOperations=function(e){var t=this._model().lineToolsGroupModel(),i=e.filter(f.isLineTool),r=i.map((function(e){return t.groupForLineTool(e)}));Object(n.assert)(new Set(r).size<=1,"Cannot move line tools from different group");for(var o=0===r.length?null:r[0],s={bringForwardEnabled:!1,bringToFrontEnabled:!1,sendBackwardEnabled:!1,sendToBackEnabled:!1},a=new Set(i),l=function(e){if(Object(f.isLineTool)(e)&&null!==o){var t=Object(b.sortSources)(o.lineTools().filter((function(t){return!a.has(t)||t===e})));return s=Ee(s,{bringForwardEnabled:e!==t[t.length-1],bringToFrontEnabled:e!==t[t.length-1],sendBackwardEnabled:e!==t[0],sendToBackEnabled:e!==t[0]}),"continue"}var i=Object(n.ensureNotNull)(c._model().paneForSource(e)).allOrderedSourcesWithoutSpecial();if(0===i.length)return"continue";var r=e.zorder(),l=i[0].zorder(),u=i[i.length-1].zorder();s=Ee(s,{bringForwardEnabled:r!==u,bringToFrontEnabled:r!==u,sendBackwardEnabled:r!==l,sendToBackEnabled:r!==l})},c=this,u=0,h=Object(b.sortSources)(e);u20&&(this._pushUndoCommand(new F.a(this.model(),this._initialTimeScrollState,"Scroll Time")),this._initialTimeScrollPos=null,this._initialTimeScrollState=null,t=!0),this.model().scrollTimeTo(e),t},t.prototype.endScrollTime=function(){this.model().endScrollTime(),this._initialTimeScrollPos=null,this._initialTimeScrollState=null},t.prototype.startScaleTime=function(e){var t=this.timeScale(),i={rightOffset:t.rightOffset(),barSpacing:t.barSpacing()};this._pushUndoCommand(new F.a(this.model(),i,"Scale Time")),this.model().startScaleTime(e)},t.prototype.scaleTimeTo=function(e){this.model().scaleTimeTo(e)},t.prototype.endScaleTime=function(){this.model().endScaleTime()},t.prototype.resetTimeScale=function(){var e=this.timeScale(),t={rightOffset:e.rightOffset(),barSpacing:e.barSpacing()};this._pushUndoCommand(new F.a(this.model(),t,"Reset Time Scale")),this.model().resetTimeScale()},t.prototype.rearrangePanes=function(e,t){var i=new N(this._model(),e,t);this._pushUndoCommand(i)},t.prototype.movePane=function(e,t){var i=new N(this._model(),e,t);this._pushUndoCommand(i)},t.prototype.pasteLineTool=function(e,t){var i=new be(this.model(),t,e);this._pushUndoCommand(i)
;var r=i.source();return i.needCopyToOtherCharts()&&this.copyToOtherCharts([r]),r},t.prototype.setPriceScaleCurrency=function(e,t){var i=new we.a(e,t,this.chartWidget(),"Change currency");this._pushUndoCommand(i)},t.prototype.setMainSeriesSymbol=function(e){if(this.mainSeries().symbol()!==e){var t=!1;if(this._model().currencyLabelEnabled()&&null!==this.mainSeries().currency()){var i=this._model().availableCurrenciesSet(),r=this.mainSeries().priceScale().currency(i);t=null===r||!r.readOnly&&(null===r.selectedCurrency||r.allCurrenciesAreOriginal||1===r.symbolSourceCount)}this._pushUndoCommand(new Ce(e,this.chartWidget(),t))}},t.prototype.copyToOtherCharts=function(e){var t=this,i=this.mainSeries(),o=i.syncModel(),s=this.timeScale();if(o)for(var a=0,l=e;a'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=r,t.version=r,t.widget=s,Object.defineProperty(t,"__esModule",{value:!0})}));
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.TradingView={})}(this,(function(t){"use strict";var e=function(){return(e=Object.assign||function(t){for(var e,o=arguments,n=1,i=arguments.length;n'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=r,t.version=r,t.widget=s,Object.defineProperty(t,"__esModule",{value:!0})}));
diff --git a/charting_library/cs-tv-chart.57cf82a7.html b/charting_library/cs-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/cs-tv-chart.57cf82a7.html
rename to charting_library/cs-tv-chart.7210b52e.html
index 1b3f40a4..76e3db5f 100644
--- a/charting_library/cs-tv-chart.57cf82a7.html
+++ b/charting_library/cs-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/da_DK-tv-chart.57cf82a7.html b/charting_library/da_DK-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/da_DK-tv-chart.57cf82a7.html
rename to charting_library/da_DK-tv-chart.7210b52e.html
index 9a87536f..dd1de0cc 100644
--- a/charting_library/da_DK-tv-chart.57cf82a7.html
+++ b/charting_library/da_DK-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/de-tv-chart.57cf82a7.html b/charting_library/de-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/de-tv-chart.57cf82a7.html
rename to charting_library/de-tv-chart.7210b52e.html
index b5bb03f8..dabe0ff7 100644
--- a/charting_library/de-tv-chart.57cf82a7.html
+++ b/charting_library/de-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/el-tv-chart.57cf82a7.html b/charting_library/el-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/el-tv-chart.57cf82a7.html
rename to charting_library/el-tv-chart.7210b52e.html
index 11d007f4..c1aa5a61 100644
--- a/charting_library/el-tv-chart.57cf82a7.html
+++ b/charting_library/el-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/en-tv-chart.57cf82a7.html b/charting_library/en-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/en-tv-chart.57cf82a7.html
rename to charting_library/en-tv-chart.7210b52e.html
index 710b602f..e7104939 100644
--- a/charting_library/en-tv-chart.57cf82a7.html
+++ b/charting_library/en-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/es-tv-chart.57cf82a7.html b/charting_library/es-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/es-tv-chart.57cf82a7.html
rename to charting_library/es-tv-chart.7210b52e.html
index 657046a8..b35f6855 100644
--- a/charting_library/es-tv-chart.57cf82a7.html
+++ b/charting_library/es-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/et_EE-tv-chart.57cf82a7.html b/charting_library/et_EE-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/et_EE-tv-chart.57cf82a7.html
rename to charting_library/et_EE-tv-chart.7210b52e.html
index ba03a1bf..899369a1 100644
--- a/charting_library/et_EE-tv-chart.57cf82a7.html
+++ b/charting_library/et_EE-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/fa-tv-chart.57cf82a7.html b/charting_library/fa-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/fa-tv-chart.57cf82a7.html
rename to charting_library/fa-tv-chart.7210b52e.html
index f7f3edb8..f84d915b 100644
--- a/charting_library/fa-tv-chart.57cf82a7.html
+++ b/charting_library/fa-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/fr-tv-chart.57cf82a7.html b/charting_library/fr-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/fr-tv-chart.57cf82a7.html
rename to charting_library/fr-tv-chart.7210b52e.html
index 6b8b6a0d..91cbad06 100644
--- a/charting_library/fr-tv-chart.57cf82a7.html
+++ b/charting_library/fr-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/he_IL-tv-chart.57cf82a7.html b/charting_library/he_IL-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/he_IL-tv-chart.57cf82a7.html
rename to charting_library/he_IL-tv-chart.7210b52e.html
index 32dd0774..0b176791 100644
--- a/charting_library/he_IL-tv-chart.57cf82a7.html
+++ b/charting_library/he_IL-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/hu_HU-tv-chart.57cf82a7.html b/charting_library/hu_HU-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/hu_HU-tv-chart.57cf82a7.html
rename to charting_library/hu_HU-tv-chart.7210b52e.html
index a4331f28..69a447cd 100644
--- a/charting_library/hu_HU-tv-chart.57cf82a7.html
+++ b/charting_library/hu_HU-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/id_ID-tv-chart.57cf82a7.html b/charting_library/id_ID-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/id_ID-tv-chart.57cf82a7.html
rename to charting_library/id_ID-tv-chart.7210b52e.html
index 60b0e8ae..e7934347 100644
--- a/charting_library/id_ID-tv-chart.57cf82a7.html
+++ b/charting_library/id_ID-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/it-tv-chart.57cf82a7.html b/charting_library/it-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/it-tv-chart.57cf82a7.html
rename to charting_library/it-tv-chart.7210b52e.html
index ae03fdf6..6e9f86bc 100644
--- a/charting_library/it-tv-chart.57cf82a7.html
+++ b/charting_library/it-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/ja-tv-chart.57cf82a7.html b/charting_library/ja-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ja-tv-chart.57cf82a7.html
rename to charting_library/ja-tv-chart.7210b52e.html
index 0d7ab11c..21d0546a 100644
--- a/charting_library/ja-tv-chart.57cf82a7.html
+++ b/charting_library/ja-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/ko-tv-chart.57cf82a7.html b/charting_library/ko-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ko-tv-chart.57cf82a7.html
rename to charting_library/ko-tv-chart.7210b52e.html
index 2f6d5bfb..7501d528 100644
--- a/charting_library/ko-tv-chart.57cf82a7.html
+++ b/charting_library/ko-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/ms_MY-tv-chart.57cf82a7.html b/charting_library/ms_MY-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ms_MY-tv-chart.57cf82a7.html
rename to charting_library/ms_MY-tv-chart.7210b52e.html
index 2e2cad36..03324c62 100644
--- a/charting_library/ms_MY-tv-chart.57cf82a7.html
+++ b/charting_library/ms_MY-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/nl_NL-tv-chart.57cf82a7.html b/charting_library/nl_NL-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/nl_NL-tv-chart.57cf82a7.html
rename to charting_library/nl_NL-tv-chart.7210b52e.html
index 72b21ef5..52eb3a08 100644
--- a/charting_library/nl_NL-tv-chart.57cf82a7.html
+++ b/charting_library/nl_NL-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/no-tv-chart.57cf82a7.html b/charting_library/no-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/no-tv-chart.57cf82a7.html
rename to charting_library/no-tv-chart.7210b52e.html
index 5bf00d5d..6c474a51 100644
--- a/charting_library/no-tv-chart.57cf82a7.html
+++ b/charting_library/no-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/pl-tv-chart.57cf82a7.html b/charting_library/pl-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/pl-tv-chart.57cf82a7.html
rename to charting_library/pl-tv-chart.7210b52e.html
index fff5a151..df697710 100644
--- a/charting_library/pl-tv-chart.57cf82a7.html
+++ b/charting_library/pl-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/pt-tv-chart.57cf82a7.html b/charting_library/pt-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/pt-tv-chart.57cf82a7.html
rename to charting_library/pt-tv-chart.7210b52e.html
index 37cb93fe..7ea43362 100644
--- a/charting_library/pt-tv-chart.57cf82a7.html
+++ b/charting_library/pt-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/ro-tv-chart.57cf82a7.html b/charting_library/ro-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ro-tv-chart.57cf82a7.html
rename to charting_library/ro-tv-chart.7210b52e.html
index c5f2f6d1..1a924a9f 100644
--- a/charting_library/ro-tv-chart.57cf82a7.html
+++ b/charting_library/ro-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/ru-tv-chart.57cf82a7.html b/charting_library/ru-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/ru-tv-chart.57cf82a7.html
rename to charting_library/ru-tv-chart.7210b52e.html
index dfa2c3b4..2cd65d51 100644
--- a/charting_library/ru-tv-chart.57cf82a7.html
+++ b/charting_library/ru-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/sk_SK-tv-chart.57cf82a7.html b/charting_library/sk_SK-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/sk_SK-tv-chart.57cf82a7.html
rename to charting_library/sk_SK-tv-chart.7210b52e.html
index 6c5a39ac..4a013e15 100644
--- a/charting_library/sk_SK-tv-chart.57cf82a7.html
+++ b/charting_library/sk_SK-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/sv-tv-chart.57cf82a7.html b/charting_library/sv-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/sv-tv-chart.57cf82a7.html
rename to charting_library/sv-tv-chart.7210b52e.html
index 3c53d73d..b8256aef 100644
--- a/charting_library/sv-tv-chart.57cf82a7.html
+++ b/charting_library/sv-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/th-tv-chart.57cf82a7.html b/charting_library/th-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/th-tv-chart.57cf82a7.html
rename to charting_library/th-tv-chart.7210b52e.html
index 5d72147a..229fe012 100644
--- a/charting_library/th-tv-chart.57cf82a7.html
+++ b/charting_library/th-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/tr-tv-chart.57cf82a7.html b/charting_library/tr-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/tr-tv-chart.57cf82a7.html
rename to charting_library/tr-tv-chart.7210b52e.html
index 54073e58..9f295913 100644
--- a/charting_library/tr-tv-chart.57cf82a7.html
+++ b/charting_library/tr-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/vi-tv-chart.57cf82a7.html b/charting_library/vi-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/vi-tv-chart.57cf82a7.html
rename to charting_library/vi-tv-chart.7210b52e.html
index 8bb624ec..c60dbe6a 100644
--- a/charting_library/vi-tv-chart.57cf82a7.html
+++ b/charting_library/vi-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/zh-tv-chart.57cf82a7.html b/charting_library/zh-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/zh-tv-chart.57cf82a7.html
rename to charting_library/zh-tv-chart.7210b52e.html
index 76790d01..7165c492 100644
--- a/charting_library/zh-tv-chart.57cf82a7.html
+++ b/charting_library/zh-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/charting_library/zh_TW-tv-chart.57cf82a7.html b/charting_library/zh_TW-tv-chart.7210b52e.html
similarity index 99%
rename from charting_library/zh_TW-tv-chart.57cf82a7.html
rename to charting_library/zh_TW-tv-chart.7210b52e.html
index 93314e4e..350ffe62 100644
--- a/charting_library/zh_TW-tv-chart.57cf82a7.html
+++ b/charting_library/zh_TW-tv-chart.7210b52e.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file