diff --git a/charting_library/ar-tv-chart.635db441.html b/charting_library/ar-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ar-tv-chart.635db441.html rename to charting_library/ar-tv-chart.c95ba819.html index a2d5383f..96b7e45d 100644 --- a/charting_library/ar-tv-chart.635db441.html +++ b/charting_library/ar-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/bundles/library.8954c29e08b972724a0c.js b/charting_library/bundles/library.1a7686f795630f653fb8.js similarity index 98% rename from charting_library/bundles/library.8954c29e08b972724a0c.js rename to charting_library/bundles/library.1a7686f795630f653fb8.js index a62507e8..c3c7d176 100644 --- a/charting_library/bundles/library.8954c29e08b972724a0c.js +++ b/charting_library/bundles/library.1a7686f795630f653fb8.js @@ -101,19 +101,19 @@ isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!1,id:"Volatil visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF5252"}},precision:4,inputs:{periods:10,marketClosedPercentage:0,daysPerYear:252}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",type:"integer",name:"Periods"},{id:"marketClosedPercentage",type:"float",name:"Market Closed Percentage",min:0,max:.999},{id:"daysPerYear",type:"integer",name:"Days Per Year"}]},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.marketClosedPercentage=this._input(1),this.daysPerYear=this._input(2),this.secondsPerYear=86400*this.daysPerYear,this.currTime=NaN,this.prevTime=NaN},this.square=function(e){return e*e},this.volatilityOHLC=function(){var e=this._context.new_var(Math.log(n.Std.open(this._context))),t=this._context.new_var(Math.log(n.Std.high(this._context))),i=this._context.new_var(Math.log(n.Std.low(this._context))),r=this._context.new_var(Math.log(n.Std.close(this._context))),o=this._context.new_var(n.Std.close(this._context));this.prevTime=this.currTime,this.currTime=o.symbol.time;var s=(this.currTime-this.prevTime)/1e3,a=.5*this.square(t.get()-i.get());a-=(Math.log(4)-1)*this.square(r.get()-e.get()),this.marketClosedPercentage>0&&(a=.12*this.square(e.get()-r.get(1))/this.marketClosedPercentage+.88*a/(1-this.marketClosedPercentage)),a/=s,a*=this.secondsPerYear;var l=this._context.new_var(a);return 100*Math.sqrt(n.Std.sum(l,this.period,this._context)/this.period)},this.main=function(e,t){return this._context=e,this._input=t,[this.volatilityOHLC()]}}},{name:"Volatility Index",metainfo:{_metainfoVersion:41,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,is_price_study:!0,id:"Volatility Index@tv-basicstudies-1",scriptIdPart:"",name:"Volatility Index",description:"Volatility Index",shortDescription:"Volatility Index",plots:[{id:"plot_0",type:"line"}],defaults:{styles:{plot_0:{linestyle:0,visible:!0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,color:"#FF5252"}},precision:3,inputs:{periods:10,atrMult:3,method:"Wilder Smoothing"}},styles:{plot_0:{title:"Plot"}},inputs:[{id:"periods",name:"Periods",type:"integer"},{id:"atrMult",name:"ATR Mult",type:"float"},{id:"method",name:"Method",type:"text",defval:"Exponential",options:["Exponential","Wilder Smoothing"]}]},constructor:function(){this.init=function(e,t){this._context=e,this._input=t,this.period=this._input(0),this.atrMult=this._input(1),this.maMethod=this._input(2),this.nextsar=null,this.position=null,this.sic=null,this.bars=[],this.count=0,this.lastSar=null},this.highest=function(e,t){for(var i=this.bars.length-this.period,n=this.bars[i],r=i+1;rn&&(n=this.bars[r]);return n},this.computeATR=function(){var e=n.Std.high(this._context)-n.Std.low(this._context),t=n.Std.high(this._context)-this.bars[this.bars.length-2],i=this.bars[this.bars.length-2]-n.Std.low(this._context);return this.tr=Math.max(e,t,i), "Exponential"===this.maMethod?this.atr=n.Std.ema(this._context.new_var(this.tr),this.period,this._context):this.atr=this.tr/this.period+(1-1/this.period)*this.atr,this.atr*this.atrMult},this.calculateVolatility=function(){if(n.Std.close(this._context)===this.bars[this.bars.length-1])return this.lastSar;if(this.bars.push(n.Std.close(this._context)),1===this.count)this.atr=n.Std.high(this._context)-n.Std.low(this._context),this.sic=n.Std.close(this._context);else if(this.countthis.sic&&(this.sic=n.Std.close(this._context))}else if(this.count===this.period){e=n.Std.high(this._context)-n.Std.low(this._context),t=n.Std.high(this._context)-this.bars[this.bars.length-2],i=this.bars[this.bars.length-2]-n.Std.low(this._context);this.atr+=Math.max(e,t,i),this.atr*=1/this.period,n.Std.close(this._context)>this.sic&&(this.sic=n.Std.close(this._context)),this.position="LONG",this.nextsar=this.sic-this.atr*this.atrMult}else{var r=this.nextsar;"LONG"===this.position?n.Std.close(this._context)r?(this.position="LONG",this.sic=n.Std.close(this._context),this.nextsar=this.sic-this.computeATR()):(this.position="SHORT",this.sic=Math.min(n.Std.close(this._context),this.sic),this.nextsar=this.sic+this.computeATR())),this.lastSar=r}return this.count++,r},this.main=function(e,t){return this._context=e,this._input=t,this._context.select_sym(0),[this.calculateVolatility()]}}},{name:"VWAP",metainfo:{_metainfoVersion:27,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:0,transparency:0,visible:!0,color:"#2196F3"}},precision:4},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"VWAP",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"VWAP",shortDescription:"VWAP",is_price_study:!0,inputs:[],id:"VWAP@tv-basicstudies-1",scriptIdPart:"",name:"VWAP"},constructor:function(){this.f_1=function(e){e.hist=null,e.add_hist()},this.init=function(e,t){this._isNewSession=null},this.main=function(e,t){this._context=e,this._input=t;var i=e.new_var(),r=e.new_var(),o=this._context.symbol.time;return o&&(null===this._isNewSession&&(this._isNewSession=n.Std.createNewSessionCheck(e)),this._isNewSession(o)&&(this.f_1(i),this.f_1(r))),i.set(n.Std.nz(i.get(1))+n.Std.hlc3(this._context)*n.Std.volume(this._context)),r.set(n.Std.nz(r.get(1))+n.Std.volume(this._context)),[i.get(0)/r.get(0)]}}},{name:"VWMA",metainfo:{_metainfoVersion:27,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0, color:"#2196F3"}},precision:4,inputs:{in_0:20}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"VWMA",shortDescription:"VWMA",is_price_study:!0,inputs:[{id:"in_0",name:"len",defval:20,type:"integer",min:1,max:1e4}],id:"VWMA@tv-basicstudies-1",scriptIdPart:"",name:"VWMA"},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=n.Std.close(this._context),r=this._input(0),o=this._context.new_var(i);return[n.Std.vwma(o,r,this._context)]}}},{name:"Volume Oscillator",metainfo:{_metainfoVersion:27,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"}},precision:4,bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:0}],inputs:{in_0:5,in_1:10}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Volume Oscillator",shortDescription:"Volume Osc",is_price_study:!1,bands:[{id:"hline_0",name:"Zero"}],inputs:[{id:"in_0",name:"shortlen",defval:5,type:"integer",min:1,max:4999},{id:"in_1",name:"longlen",defval:10,type:"integer",min:1,max:4999}],id:"Volume Oscillator@tv-basicstudies-1",scriptIdPart:"",name:"Volume Oscillator"},constructor:function(){this.f_0=function(e,t){return 100*(e-t)/t},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),r=this._input(1),o=n.Std.volume(this._context),s=this._context.new_var(o),a=n.Std.ema(s,i,this._context),l=this._context.new_var(o),c=n.Std.ema(l,r,this._context);return[this.f_0(a,c)]}}},{name:"Vortex Indicator",metainfo:{_metainfoVersion:42,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"}},precision:4,inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"}],styles:{plot_0:{title:"VI +",histogramBase:0,joinPoints:!1,isHidden:!1},plot_1:{title:"VI -",histogramBase:0,joinPoints:!1,isHidden:!1}},description:"Vortex Indicator",shortDescription:"VI",is_price_study:!1,is_hidden_study:!1,id:"vortex_indicator@tv-basicstudies-1",inputs:[{id:"in_0",name:"Period",defval:14,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Vortex Indicator"},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._context.new_var(n.Std.low(this._context)),i=this._context.new_var(n.Std.abs(n.Std.high(this._context)-t.get(1))),r=n.Std.sum(i,e,this._context),o=this._context.new_var(n.Std.high(this._context)),s=this._context.new_var(n.Std.abs(n.Std.low(this._context)-o.get(1))),a=n.Std.sum(s,e,this._context),l=this._context.new_var(n.Std.atr(1,this._context)),c=n.Std.sum(l,e,this._context);return[r/c,a/c]},this.main=function(e,t){return this._context=e,this._input=t,this.f_0()}}},{name:"Willams %R",metainfo:{_metainfoVersion:27,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{ -linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#7E57C2"}},precision:4,bands:[{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-20},{color:"#787B86",linestyle:2,linewidth:1,visible:!0,value:-80}],filledAreasStyle:{fill_0:{color:"#7E57C2",transparency:90,visible:!0}},inputs:{in_0:14}},plots:[{id:"plot_0",type:"line"}],styles:{plot_0:{title:"Plot",histogramBase:0,joinPoints:!1}},description:"Williams %R",shortDescription:"%R",is_price_study:!1,bands:[{id:"hline_0",name:"UpperLimit"},{id:"hline_1",name:"LowerLimit"}],filledAreas:[{id:"fill_0",objAId:"hline_0",objBId:"hline_1",type:"hline_hline",title:"Hlines Background"}],inputs:[{id:"in_0",name:"length",defval:14,type:"integer",min:1,max:2e3}],id:"Willams %R@tv-basicstudies-1",scriptIdPart:"",name:"Willams %R"},constructor:function(){this.f_0=function(e,t,i){return 100*(e-t)/(t-i)},this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),r=n.Std.high(this._context),o=this._context.new_var(r),s=n.Std.highest(o,i,this._context),a=n.Std.low(this._context),l=this._context.new_var(a),c=n.Std.lowest(l,i,this._context);return[this.f_0(n.Std.close(this._context),s,c)]}}},{name:"Williams Alligator",metainfo:{_metainfoVersion:27,isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,defaults:{styles:{plot_0:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#2196F3"},plot_1:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#E91E63"},plot_2:{linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0,color:"#66BB6A"}},precision:4,inputs:{in_0:21,in_1:13,in_2:8}},plots:[{id:"plot_0",type:"line"},{id:"plot_1",type:"line"},{id:"plot_2",type:"line"}],styles:{plot_0:{title:"Jaw",histogramBase:0,joinPoints:!1},plot_1:{title:"Teeth",histogramBase:0,joinPoints:!1},plot_2:{title:"Lips",histogramBase:0,joinPoints:!1}},description:"Williams Alligator",shortDescription:"Alligator",is_price_study:!0,inputs:[{id:"in_0",name:"jawLength",defval:21,type:"integer",min:1,max:2e3},{id:"in_1",name:"teethLength",defval:13,type:"integer",min:1,max:2e3},{id:"in_2",name:"lipsLength",defval:8,type:"integer",min:1,max:2e3}],id:"Williams Alligator@tv-basicstudies-1",scriptIdPart:"",name:"Williams Alligator"},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._input(0),r=this._input(1),o=this._input(2),s=n.Std.hl2(this._context),a=this._context.new_var(s),l=n.Std.ema(a,i,this._context),c=this._context.new_var(s),u=n.Std.ema(c,r,this._context),h=this._context.new_var(s);return[{value:l,offset:8},{value:u,offset:5},{value:n.Std.ema(h,o,this._context),offset:3}]}}},{name:"Williams Fractals",metainfo:{_metainfoVersion:42,isTVScript:!1,isTVScriptStub:!1,defaults:{styles:{plot_0:{plottype:"shape_triangle_down",visible:!0,location:"BelowBar",transparency:0,color:"#F44336"},plot_1:{plottype:"shape_triangle_up",visible:!0,location:"AboveBar",transparency:0,color:"#009688"}},precision:4,inputs:{in_0:2}},plots:[{id:"plot_0",type:"shapes"},{ -id:"plot_1",type:"shapes"}],styles:{plot_0:{title:"Down fractals",isHidden:!1},plot_1:{title:"Up fractals",isHidden:!1}},description:"Williams Fractal",shortDescription:"Fractals",is_price_study:!0,is_hidden_study:!1,id:"Williams Fractals@tv-basicstudies-1",inputs:[{id:"in_0",name:"Periods",defval:2,type:"integer",min:2,max:1e12}],scriptIdPart:"",name:"Williams Fractals",isCustomIndicator:!0},constructor:function(){this.f_0=function(){var e=this._input(0),t=this._context.new_var(n.Std.high(this._context)),i=n.Std.or(n.Std.and(n.Std.and(n.Std.lt(t.get(e+2),t.get(e)),n.Std.lt(t.get(e+1),t.get(e))),n.Std.and(n.Std.lt(t.get(e-1),t.get(e)),n.Std.lt(t.get(e-2),t.get(e)))),n.Std.or(n.Std.or(n.Std.and(n.Std.lt(t.get(e+3),t.get(e)),n.Std.and(n.Std.and(n.Std.lt(t.get(e+2),t.get(e)),n.Std.eq(t.get(e+1),t.get(e))),n.Std.and(n.Std.lt(t.get(e-1),t.get(e)),n.Std.lt(t.get(e-2),t.get(e))))),n.Std.and(n.Std.and(n.Std.lt(t.get(e+4),t.get(e)),n.Std.lt(t.get(e+3),t.get(e))),n.Std.and(n.Std.and(n.Std.eq(t.get(e+2),t.get(e)),n.Std.le(t.get(e+1),t.get(e))),n.Std.and(n.Std.lt(t.get(e-1),t.get(e)),n.Std.lt(t.get(e-2),t.get(e)))))),n.Std.or(n.Std.and(n.Std.and(n.Std.lt(t.get(e+5),t.get(e)),n.Std.and(n.Std.lt(t.get(e+4),t.get(e)),n.Std.eq(t.get(e+3),t.get(e)))),n.Std.and(n.Std.and(n.Std.eq(t.get(e+2),t.get(e)),n.Std.le(t.get(e+1),t.get(e))),n.Std.and(n.Std.lt(t.get(e-1),t.get(e)),n.Std.lt(t.get(e-2),t.get(e))))),n.Std.and(n.Std.and(n.Std.and(n.Std.lt(t.get(e+6),t.get(e)),n.Std.lt(t.get(e+5),t.get(e))),n.Std.and(n.Std.eq(t.get(e+4),t.get(e)),n.Std.le(t.get(e+3),t.get(e)))),n.Std.and(n.Std.and(n.Std.eq(t.get(e+2),t.get(e)),n.Std.le(t.get(e+1),t.get(e))),n.Std.and(n.Std.lt(t.get(e-1),t.get(e)),n.Std.lt(t.get(e-2),t.get(e)))))))),r=this._context.new_var(n.Std.low(this._context));return[n.Std.or(n.Std.and(n.Std.and(n.Std.gt(r.get(e+2),r.get(e)),n.Std.gt(r.get(e+1),r.get(e))),n.Std.and(n.Std.gt(r.get(e-1),r.get(e)),n.Std.gt(r.get(e-2),r.get(e)))),n.Std.or(n.Std.or(n.Std.and(n.Std.gt(r.get(e+3),r.get(e)),n.Std.and(n.Std.and(n.Std.gt(r.get(e+2),r.get(e)),n.Std.eq(r.get(e+1),r.get(e))),n.Std.and(n.Std.gt(r.get(e-1),r.get(e)),n.Std.gt(r.get(e-2),r.get(e))))),n.Std.and(n.Std.and(n.Std.gt(r.get(e+4),r.get(e)),n.Std.gt(r.get(e+3),r.get(e))),n.Std.and(n.Std.and(n.Std.eq(r.get(e+2),r.get(e)),n.Std.ge(r.get(e+1),r.get(e))),n.Std.and(n.Std.gt(r.get(e-1),r.get(e)),n.Std.gt(r.get(e-2),r.get(e)))))),n.Std.or(n.Std.and(n.Std.and(n.Std.gt(r.get(e+5),r.get(e)),n.Std.and(n.Std.gt(r.get(e+4),r.get(e)),n.Std.eq(r.get(e+3),r.get(e)))),n.Std.and(n.Std.and(n.Std.eq(r.get(e+2),r.get(e)),n.Std.ge(r.get(e+1),r.get(e))),n.Std.and(n.Std.gt(r.get(e-1),r.get(e)),n.Std.gt(r.get(e-2),r.get(e))))),n.Std.and(n.Std.and(n.Std.and(n.Std.gt(r.get(e+6),r.get(e)),n.Std.gt(r.get(e+5),r.get(e))),n.Std.and(n.Std.eq(r.get(e+4),r.get(e)),n.Std.ge(r.get(e+3),r.get(e)))),n.Std.and(n.Std.and(n.Std.eq(r.get(e+2),r.get(e)),n.Std.ge(r.get(e+1),r.get(e))),n.Std.and(n.Std.gt(r.get(e-1),r.get(e)),n.Std.gt(r.get(e-2),r.get(e)))))))),i]},this.main=function(e,t){this._context=e,this._input=t -;var i=this.f_0();return[{value:i[0],offset:-2},{value:i[1],offset:-2}]}}},{name:"Guppy Multiple Moving Average",metainfo:{isTVScript:!1,isTVScriptStub:!1,is_hidden_study:!1,description:"Guppy Multiple Moving Average",shortDescription:"GMMA",is_price_study:!0,id:"Guppy Multiple Moving Average@tv-basicstudies-1",_metainfoVersion:52,format:{type:"inherit"},defaults:{inputs:{traderEMA1Length:3,traderEMA2Length:5,traderEMA3Length:8,traderEMA4Length:10,traderEMA5Length:12,traderEMA6Length:15,investorEMA1Length:30,investorEMA2Length:35,investorEMA3Length:40,investorEMA4Length:45,investorEMA5Length:50,investorEMA6Length:60},styles:{traderEMA1:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},traderEMA2:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},traderEMA5:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},investorEMA6:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0},traderEMA3:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},traderEMA4:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0},traderEMA5:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:3,visible:!0},traderEMA6:{color:"#00FFFF",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:0,visible:!0},investorEMA1:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:15,visible:!0},investorEMA2:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:12,visible:!0},investorEMA3:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:9,visible:!0},investorEMA4:{color:"#FF0000",linestyle:0,linewidth:1,plottype:0,trackPrice:!1,transparency:6,visible:!0}}},inputs:[{defval:3,id:"traderEMA1Length",max:1e3,min:1,name:"Trader EMA 1 length",type:"integer"},{defval:5,id:"traderEMA2Length",max:1e3,min:1,name:"Trader EMA 2 length",type:"integer"},{defval:8,id:"traderEMA3Length",max:1e3,min:1,name:"Trader EMA 3 length",type:"integer"},{defval:10,id:"traderEMA4Length",max:1e3,min:1,name:"Trader EMA 4 length",type:"integer"},{defval:12,id:"traderEMA5Length",max:1e3,min:1,name:"Trader EMA 5 length",type:"integer"},{defval:15,id:"traderEMA6Length",max:1e3,min:1,name:"Trader EMA 6 length",type:"integer"},{defval:30,id:"investorEMA1Length",max:1e3,min:1,name:"Investor EMA 1 length",type:"integer"},{defval:35,id:"investorEMA2Length",max:1e3,min:1,name:"Investor EMA 2 length",type:"integer"},{defval:40,id:"investorEMA3Length",max:1e3,min:1,name:"Investor EMA 3 length",type:"integer"},{defval:45,id:"investorEMA4Length",max:1e3,min:1,name:"Investor EMA 4 length",type:"integer"},{defval:50,id:"investorEMA5Length",max:1e3,min:1,name:"Investor EMA 5 length",type:"integer"},{defval:60,id:"investorEMA6Length",max:1e3,min:1,name:"Investor EMA 6 length",type:"integer"}],plots:[{id:"traderEMA1",type:"line"},{id:"traderEMA2",type:"line" -},{id:"traderEMA3",type:"line"},{id:"traderEMA4",type:"line"},{id:"traderEMA5",type:"line"},{id:"traderEMA6",type:"line"},{id:"investorEMA1",type:"line"},{id:"investorEMA2",type:"line"},{id:"investorEMA3",type:"line"},{id:"investorEMA4",type:"line"},{id:"traderEMA5",type:"line"},{id:"investorEMA6",type:"line"}],styles:{traderEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 1"},traderEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 2"},traderEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 3"},traderEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 4"},traderEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 5"},traderEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Trader EMA 6"},investorEMA1:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 1"},investorEMA2:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 2"},investorEMA3:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 3"},investorEMA4:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 4"},investorEMA5:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 5"},investorEMA6:{histogramBase:0,isHidden:!1,joinPoints:!1,title:"Investor EMA 6"}}},constructor:function(){this.main=function(e,t){this._context=e,this._input=t;var i=this._context.new_var(n.Std.close(this._context)),r=this._input(0),o=this._input(1),s=this._input(2),a=this._input(3),l=this._input(4),c=this._input(5),u=n.Std.ema(i,r,this._context),h=n.Std.ema(i,o,this._context),d=n.Std.ema(i,s,this._context),p=n.Std.ema(i,a,this._context),f=n.Std.ema(i,l,this._context),_=n.Std.ema(i,c,this._context),m=this._input(6),v=this._input(7),y=this._input(8),g=this._input(9),b=this._input(10),S=this._input(11);return[u,h,d,p,f,_,n.Std.ema(i,m,this._context),n.Std.ema(i,v,this._context),n.Std.ema(i,y,this._context),n.Std.ema(i,g,this._context),n.Std.ema(i,b,this._context),n.Std.ema(i,S,this._context)]}}}]},"2h0C":function(e,t,i){var n=i("txPx").getLogger("Chart.PropertyPage.Binding");function r(e,t,i,r,o,s){e?(this._control=e,this._property=t,this._applyOnFly=i,this._undoModel=r,this._undoText=o,this._doesNotAffectSave=!1,t&&(this._formatters=[],this._changed=!1,this.setValue(t.value()),t.subscribe(this,this.propertyChanged))):n.logDebug("Missing control")}r.prototype.addFormatter=function(e){this._formatters.push(e),this.setValue(this._property.value())},r.prototype._formatValue=function(e){return this._formatters.reduce((function(e,t){return t(e)}),e)},r.prototype._setValueToProperty=function(e){this._setter?this._setter.call(this,e):this.setValueToProperty(e)},r.prototype._attachToControl=function(e,t){var i=this;t?e.on("keyup change input",(function(e){var t=i.value();i._setValueToProperty(t),i.setValue(t)})):(e.keypress((function(e){if(i._changed=!0,13===e.which){var t=i.value();i._setValueToProperty(t),i.setValue(t)}})),e.focusout((function(e){var t=i.value();i.changed()&&(i._setValueToProperty(t),i.setValue(t))})),e.change((function(e){var t=i.value() -;$(e.target).is(".ticker")?(void 0!==i._changeTimerId&&clearTimeout(i._changeTimerId),i._changeTimerId=setTimeout((function(){i._setValueToProperty(t)}),250)):i._setValueToProperty(t),i.setValue(t)})))},r.prototype.control=function(){return this._control},r.prototype.changed=function(){return this._changed},r.prototype.setValueToProperty=function(e){this._undoModel.setProperty(this._property,e,this._undoText,this._doesNotAffectSave),this._changed=!1},r.prototype.property=function(){return this._property},r.prototype.propertyChanged=function(e){this.setValue(e.value())},r.prototype.destroy=function(){this._property&&this._property.unsubscribe(this,this.propertyChanged)},r.prototype.disableAffectingSave=function(){this._doesNotAffectSave=!0},t.Binding=r},"2ijp":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("l4sv"),r=i("8Uy/"),o=function(){function e(){this._lineRendererData={y:0,color:"rgba(0, 0, 0, 0)",linewidth:1,linestyle:r.LINESTYLE_SOLID,visible:!1},this._lineRenderer=new n.HorizontalLineRenderer,this._invalidated=!0,this._lineRenderer.setData(this._lineRendererData)}return e.prototype.update=function(){this._invalidated=!0},e.prototype.renderer=function(){return this._invalidated&&(this._updateImpl(),this._invalidated=!1),this._lineRenderer},e}()},"2jXJ":function(e,t,i){"use strict";i.r(t),i.d(t,"supportedLineTools",(function(){return n}));var n={cursor:{name:"cursor",onlySelectable:!0},dot:{name:"dot",onlySelectable:!0},arrow_cursor:{name:"arrow",onlySelectable:!0},eraser:{name:"eraser",onlySelectable:!0},measure:{name:"measure",onlySelectable:!0},zoom:{name:"zoom",onlySelectable:!0},brush:{name:"LineToolBrush"},highlighter:{name:"LineToolHighlighter"},text:{name:"LineToolText"},anchored_text:{name:"LineToolTextAbsolute"},note:{name:"LineToolNote"},anchored_note:{name:"LineToolNoteAbsolute"},signpost:{name:"LineToolSignpost"},callout:{name:"LineToolCallout"},balloon:{name:"LineToolBalloon"},arrow_up:{name:"LineToolArrowMarkUp"},arrow_down:{name:"LineToolArrowMarkDown"},arrow_left:{name:"LineToolArrowMarkLeft"},arrow_right:{name:"LineToolArrowMarkRight"},price_label:{name:"LineToolPriceLabel"},price_note:{name:"LineToolPriceNote"},arrow_marker:{name:"LineToolArrowMarker"},flag:{name:"LineToolFlagMark"},vertical_line:{name:"LineToolVertLine"},horizontal_line:{name:"LineToolHorzLine"},cross_line:{name:"LineToolCrossLine"},horizontal_ray:{name:"LineToolHorzRay"},trend_line:{name:"LineToolTrendLine"},info_line:{name:"LineToolInfoLine"},trend_angle:{name:"LineToolTrendAngle"},arrow:{name:"LineToolArrow"},ray:{name:"LineToolRay"},extended:{name:"LineToolExtended"},parallel_channel:{name:"LineToolParallelChannel"},disjoint_angle:{name:"LineToolDisjointAngle"},flat_bottom:{name:"LineToolFlatBottom"},pitchfork:{name:"LineToolPitchfork"},schiff_pitchfork_modified:{name:"LineToolSchiffPitchfork"},schiff_pitchfork:{name:"LineToolSchiffPitchfork2"},inside_pitchfork:{name:"LineToolInsidePitchfork"},pitchfan:{name:"LineToolPitchfan"},gannbox:{name:"LineToolGannSquare"},gannbox_square:{ -name:"LineToolGannComplex"},gannbox_fixed:{name:"LineToolGannFixed"},gannbox_fan:{name:"LineToolGannFan"},fib_retracement:{name:"LineToolFibRetracement"},fib_trend_ext:{name:"LineToolTrendBasedFibExtension"},fib_speed_resist_fan:{name:"LineToolFibSpeedResistanceFan"},fib_timezone:{name:"LineToolFibTimeZone"},fib_trend_time:{name:"LineToolTrendBasedFibTime"},fib_circles:{name:"LineToolFibCircles"},fib_spiral:{name:"LineToolFibSpiral"},fib_speed_resist_arcs:{name:"LineToolFibSpeedResistanceArcs"},fib_wedge:{name:"LineToolFibWedge"},fib_channel:{name:"LineToolFibChannel"},xabcd_pattern:{name:"LineTool5PointsPattern"},cypher_pattern:{name:"LineToolCypherPattern"},abcd_pattern:{name:"LineToolABCD"},triangle_pattern:{name:"LineToolTrianglePattern"},"3divers_pattern":{name:"LineToolThreeDrivers"},head_and_shoulders:{name:"LineToolHeadAndShoulders"},elliott_impulse_wave:{name:"LineToolElliottImpulse"},elliott_triangle_wave:{name:"LineToolElliottTriangle"},elliott_triple_combo:{name:"LineToolElliottTripleCombo"},elliott_correction:{name:"LineToolElliottCorrection"},elliott_double_combo:{name:"LineToolElliottDoubleCombo"},cyclic_lines:{name:"LineToolCircleLines"},time_cycles:{name:"LineToolTimeCycles"},sine_line:{name:"LineToolSineLine"},long_position:{name:"LineToolRiskRewardLong"},short_position:{name:"LineToolRiskRewardShort"},forecast:{name:"LineToolPrediction"},date_range:{name:"LineToolDateRange"},price_range:{name:"LineToolPriceRange"},date_and_price_range:{name:"LineToolDateAndPriceRange"},bars_pattern:{name:"LineToolBarsPattern"},ghost_feed:{name:"LineToolGhostFeed"},projection:{name:"LineToolProjection"},rectangle:{name:"LineToolRectangle"},rotated_rectangle:{name:"LineToolRotatedRectangle"},ellipse:{name:"LineToolEllipse"},triangle:{name:"LineToolTriangle"},polyline:{name:"LineToolPolyline"},path:{name:"LineToolPath"},curve:{name:"LineToolBezierQuadro"},double_curve:{name:"LineToolBezierCubic"},arc:{name:"LineToolArc"},icon:{name:"LineToolIcon"}}},"2kV1":function(e,t,i){"use strict";i.r(t),i.d(t,"StudyStatusView",(function(){return r}));var n=i("mrSG"),r=function(e){function t(t){return e.call(this,t.statusProvider({}))||this}return Object(n.c)(t,e),t.prototype.color=function(){return this._statusProvider.color()},t.prototype.getSplitTitle=function(){return this._statusProvider.getSplitTitle()},t.prototype.update=function(){this._text=this._statusProvider.text()},t}(i("nBJD").a)},"2uTr":function(e,t,i){"use strict";function n(e){return e+"…"}i.r(t),i.d(t,"appendEllipsis",(function(){return n}))},"3/8U":function(e,t,i){"use strict";function n(e){return"dark"===e?"rgba(30,136,229,0.25)":"rgba(33,150,243,0.25)"}i.r(t),i.d(t,"axesHighlightColor",(function(){return n}))},"33fJ":function(e,t,i){"use strict";i.r(t),i.d(t,"TimeScaleBuilder",(function(){return l}));var n=i("Eyy1"),r=i("Y7w9"),o=i("IiTo"),s=i("IDnv");function a(e,t){return e.length>t}var l=function(){function e(e,t,i){void 0===i&&(i=2e5),this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._projectionFirstIndex=1/0,this._barsTimes=[], -this._minFutureBarsCount=0,this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._extrapolateLimit=i,this._barBuilder=Object(o.newBarBuilder)(t,new o.SessionInfo(e.timezone,e.session,e.holidays,e.corrections),null)}return e.prototype.destroy=function(){this.clear()},e.prototype.clear=function(){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._barsTimes=[],this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._minFutureBarsCount=0,this._projectionFirstIndex=1/0},e.prototype.firstFutureBarIndex=function(){return this._barsTimes.length},e.prototype.futureBars=function(){return this._futureBarsCache},e.prototype.setBarsTimes=function(e,t){void 0===t&&(t=e.length);var i=this._barsTimes;if(this._barsTimes=e,this._projectionFirstIndex=0===this._barsTimes.length?1/0:t,0===e.length)return this._historyBarsCache=[],this._futureBarsCache=[],this._firstRealBarTimeMs=null,void(this._lastRealBarTimeMs=null);if(0===i.length||i[i.length-1]!==e[e.length-1]){this._lastRealBarTimeMs=e[e.length-1];var n=this._futureBarsCache.length,r=this._futureBarsCache.indexOf(this._lastRealBarTimeMs);this._futureBarsCache=-1!==r?this._futureBarsCache.slice(r+1):[],this._ensureExtrapolatedToFutureBar(Math.max(n,this._minFutureBarsCount))}0!==i.length&&i[0]===e[0]||(this._historyBarsCache=[],this._firstRealBarTimeMs=e[0])},e.prototype.extrapolateTimeWithOffsetToTime=function(e,t){if(0===t)return{timeMs:e,exact:!0};0===this._barsTimes.length&&(t<0?null===this._firstRealBarTimeMs?this._firstRealBarTimeMs=e:(this._extendHistoryCacheToTimeFromRight(Math.min(e,null!==this._lastRealBarTimeMs?this._lastRealBarTimeMs:1/0)),this._ensureExtrapolatedToHistoryTime(e)):null===this._lastRealBarTimeMs?this._lastRealBarTimeMs=e:(this._extendFutureCacheToTimeFromLeft(Math.max(e,null!==this._firstRealBarTimeMs?this._firstRealBarTimeMs:1/0)),this._ensureExtrapolatedToFutureTime(e)));var i=this.indexOfTime(e);if(null===i)return null;var n=this._timeOfBarIndex(i+t);return null===n?null:((i<0||this._projectionFirstIndex<=i)&&(n.exact=!1),n)},e.prototype.indexOfTime=function(e){if(null!==this._firstRealBarTimeMs&&ethis._lastRealBarTimeMs){this._ensureExtrapolatedToFutureTime(e);var i=Object(r.lowerbound_int)(this._futureBarsCache,e);return i===this._futureBarsCache.length?null:(this._futureBarsCache[i]!==e&&(i-=1),Math.max(1,this._barsTimes.length)+i)}if(0===this._barsTimes.length)return null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||null!==this._lastRealBarTimeMs&&e<=this._lastRealBarTimeMs?0:null;var n=Object(r.lowerbound_int)(this._barsTimes,e);return this._barsTimes[n]!==e&&(n-=1),n},e.prototype.setMinFutureBarsCount=function(e){return this._minFutureBarsCount=e,0!==this._barsTimes.length&&this._ensureExtrapolatedToFutureBar(e)}, -e.prototype._timeOfBarIndex=function(e){if(e<0){var t=Math.abs(e);this._ensureExtrapolatedToHistoryBar(t);var i=this._historyBarsCache.length-t;return i<0?null:{timeMs:this._historyBarsCache[i],exact:!1}}if(0===e&&0===this._barsTimes.length)return{timeMs:Object(n.ensureNotNull)(this._lastRealBarTimeMs),exact:!1};if(e>=this._barsTimes.length){t=e-Math.max(1,this._barsTimes.length);return this._ensureExtrapolatedToFutureBar(t+1),t>=this._futureBarsCache.length?null:{timeMs:this._futureBarsCache[t],exact:!1}}return{timeMs:this._barsTimes[e],exact:e=e)&&(Object(n.assert)(0===this._barsTimes.length,"bars should be empty"),this._firstRealBarTimeMs=e,0!==this._historyBarsCache.length)){var t=Object(s.extrapolateBarsFrontToTime)(this._barBuilder,this._historyBarsCache[this._historyBarsCache.length-1],e-1,this._extrapolateLimit,!0).times;this._historyBarsCache=this._historyBarsCache.concat(t)}},e.prototype._ensureExtrapolatedToFutureBar=function(e){var t=this;return!(this._futureBarsCache.length>=e||a(this._futureBarsCache,this._extrapolateLimit))&&this._extendFutureCacheFromRight((function(i,n){return Object(s.extrapolateBarsFrontByCount)(t._barBuilder,i,e-n,!0).times}))},e.prototype._ensureExtrapolatedToFutureTime=function(e){var t=this;null!==this._lastRealBarTimeMs&&this._lastRealBarTimeMs>=e||a(this._futureBarsCache,this._extrapolateLimit)||0!==this._futureBarsCache.length&&this._futureBarsCache[this._futureBarsCache.length-1]>=e||(this._extendFutureCacheFromRight((function(i,n){return Object(s.extrapolateBarsFrontToTime)(t._barBuilder,i,e,t._extrapolateLimit,!0).times})),this._futureBarsCache[this._futureBarsCache.length-1]=e||a(this._historyBarsCache,this._extrapolateLimit)||this._extendHistoryCacheFromLeft((function(i,n){ -return Object(s.extrapolateBarsFrontByCount)(t._barBuilder,i,-(e-n),!0).times.reverse()}))},e.prototype._ensureExtrapolatedToHistoryTime=function(e){var t=this;null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||a(this._historyBarsCache,this._extrapolateLimit)||0!==this._historyBarsCache.length&&this._historyBarsCache[0]<=e||(this._extendHistoryCacheFromLeft((function(i,n){return Object(s.extrapolateBarsFrontToTime)(t._barBuilder,i-1,e-1,t._extrapolateLimit,!0).times})),this._historyBarsCache[0]>e&&this._ensureExtrapolatedToHistoryBar(this._historyBarsCache.length+1))},e}()},"38az":function(e,t,i){"use strict";var n=i("k9/m").PlotRowSearchMode;function r(){this.backColorers=[]}function o(e){r.call(this),this._series=e}function s(e,t){r.call(this),this._study=e,this._plotIndex=t}r.prototype.barStyle=function(e,t,i){for(var n={},r=this.backColorers.length-1;r>=0;r--)this.backColorers[r].applyBarStyle(e,t,n,i);return this.applyBarStyle(e,t,n,i),n},r.prototype.pushBackBarColorer=function(e){this.backColorers.push(e)},r.prototype.applyBarStyle=function(e,t,i){throw new Error("This function is supposed to be reimplemented in a subclass")},inherit(o,r),o.upColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.upColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.upColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.upColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.upColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.topLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value()}throw new Error("Unknown series style")},o.downColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.downColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.downColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.downColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.downColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.bottomLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value()}throw new Error("Unknown series style")},o.prototype._applyLineStyle=function(e,t,i,n,r){i.barColor=o.upColor(r)},o.prototype._applyAreaStyle=function(e,t,i,n,r){i.barColor=o.upColor(r)},o.prototype._applyBarStyle=function(e,t,i,n,r){var s=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,n);if(r.barStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,n);i.barColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a,i.barBorderColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a -}else i.barColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a,i.barBorderColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a},o.prototype._applyCandleStyle=function(e,t,i,n,r){var s,a=o.upColor(r,t),l=o.downColor(r,t),c=r.candleStyle.borderUpColor?r.candleStyle.borderUpColor.value():r.candleStyle.borderColor.value(),u=r.candleStyle.borderDownColor?r.candleStyle.borderDownColor.value():r.candleStyle.borderColor.value(),h=r.candleStyle.wickUpColor?r.candleStyle.wickUpColor.value():r.candleStyle.wickColor.value(),d=r.candleStyle.wickDownColor?r.candleStyle.wickDownColor.value():r.candleStyle.wickColor.value(),p=this.findBar(e,!1,n);r.candleStyle.barColorsOnPrevClose.value()?s=this.findPrevBar(e,!1,n)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:s=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=s?a:l,i.barBorderColor=s?c:u,i.barWickColor=s?h:d},o.prototype._applyHollowCandleStyle=function(e,t,i,n,r){var s=o.upColor(r,t),a=o.downColor(r,t),l=r.hollowCandleStyle.borderUpColor?r.hollowCandleStyle.borderUpColor.value():r.hollowCandleStyle.borderColor.value(),c=r.hollowCandleStyle.borderDownColor?r.hollowCandleStyle.borderDownColor.value():r.hollowCandleStyle.borderColor.value(),u=r.hollowCandleStyle.wickUpColor?r.hollowCandleStyle.wickUpColor.value():r.hollowCandleStyle.wickColor.value(),h=r.hollowCandleStyle.wickDownColor?r.hollowCandleStyle.wickDownColor.value():r.hollowCandleStyle.wickColor.value(),d=this.findBar(e,!1,n);this.findPrevBar(e,!1,n)[TradingView.CLOSE_PLOT]<=d[TradingView.CLOSE_PLOT]?(i.barColor=s,i.barBorderColor=l,i.barWickColor=u):(i.barColor=a,i.barBorderColor=c,i.barWickColor=h),i.isBarHollow=d[TradingView.OPEN_PLOT]<=d[TradingView.CLOSE_PLOT]},o.prototype._applyHAStyle=function(e,t,i,n,r){var s,a=o.upColor(r,t),l=o.downColor(r,t),c=r.haStyle.borderUpColor.value(),u=r.haStyle.borderDownColor.value(),h=r.haStyle.wickUpColor.value(),d=r.haStyle.wickDownColor.value(),p=this.findBar(e,t,n);r.haStyle.barColorsOnPrevClose.value()?s=this.findPrevBar(e,t,n)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:s=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=s?a:l,i.barBorderColor=s?c:u,i.barWickColor=s?h:d},o.prototype._applyBaseLineStyle=function(e,t,i,n,r){var s=this.findBar(e,t,n),a=r.baselineStyle,l=this._series.priceScale(),c=Math.round(l.height()*(Math.abs(100-a.baseLevelPercentage.value())/100)),u=this._series.firstValue(),h=l.coordinateToPrice(c,u);s[TradingView.CLOSE_PLOT]>h?i.barColor=o.upColor(r,t):i.barColor=o.downColor(r,t)},o.prototype._applyHiLoStyle=function(e,t,i,n,r){i.barColor=o.upColor(r,t),i.barBorderColor=r.hiloStyle.borderColor.value()},o.prototype.applyBarStyle=function(e,t,i,n){i||(i={}),i.barColor=null,i.barBorderColor=null,i.barWickColor=null,i.isBarHollow=null,i.isBarUp=null,i.upColor=null,i.downColor=null,i.isTwoColorBar=null,i.isMergedBar=null;var r=this._series.properties();switch(r.style.value()){case TradingView.Series.STYLE_LINE:this._applyLineStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_AREA: -this._applyAreaStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_BARS:this._applyBarStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_CANDLES:this._applyCandleStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HOLLOW_CANDLES:this._applyHollowCandleStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HEIKEN_ASHI:this._applyHAStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_BASELINE:this._applyBaseLineStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HILO:this._applyHiLoStyle(e,t,i,n,r)}return i},o.prototype.getSeriesBars=function(e){return e?this._series.nsBars():this._series.bars()},o.prototype._findBarFieldValue=function(e,t,i){var n=this.getSeriesBars(i).valueAt(e);if(null!==n)return n[t]},o.prototype.findBar=function(e,t,i){return i?i.value:this.getSeriesBars(t).valueAt(e)||[]},o.prototype.findPrevBar=function(e,t,i){if(i&&i.previousValue)return i.previousValue;var r=this._series.bars().search(e-1,n.NearestLeft,TradingView.CLOSE_PLOT);return null!==r?r.value:[]},inherit(s,r),s.prototype.getBars=function(){return this._study.series().bars()},s.prototype.firstColoredBar=function(e){for(var t=e,i=0;ie+a)return i;var l=n.styles[s.id];if(l.visible&&!l.visible.value())return i;var c=o.valueAt(e-a);if(null===c)return i;var u=c[this._plotIndex+1];if(null==u)return i;u=Math.round(u);var h=r.plots[this._plotIndex].palette,d=n.palettes[h],p=r.palettes[h].valToIndex?r.palettes[h].valToIndex[u]:u,f=d.colors[p].color.value();return i.barColor=f,i.upColor=f.color,i.downColor=f.color,i},t.SeriesBarColorer=o,t.StudyBarColorer=s},"39QR":function(e,t,i){"use strict";i.r(t),i.d(t,"LineDataSourcePointPriceProperty",(function(){return s}));var n=i("mrSG"),r=i("Eyy1"),o=i("tc+8"),s=function(e){function t(t,i){var n=e.call(this)||this;return n._lineSource=t,n._pointIndex=i,t.pointAdded().subscribe(n,(function(e){n._pointIndex===e&&n._listeners.fire(n)})),t.pointChanged().subscribe(n,(function(e){n._pointIndex===e&&n._listeners.fire(n)})),n}return Object(n.c)(t,e),t.prototype.value=function(){var e=this._lineSource.points()[this._pointIndex].price,t=Object(r.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){var i=t.format(e),n=t.parse(i);return n.res?n.value:e}return e},t.prototype.setValue=function(e){var t=this._lineSource.points()[this._pointIndex];t.price=parseFloat(""+e),this._lineSource.startChanging(this._pointIndex,t),this._lineSource.setPoint(this._pointIndex,t), -this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);var i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i),this._lineSource.properties().lastUpdateTime.setValue((new Date).valueOf())},t}(i.n(o).a)},"3ClC":function(e,t,i){"use strict";i.r(t);var n=i("0YCj"),r=i.n(n),o=i("GVHu"),s=i("PL0c"),a=i("cKqi"),l=i("YzC7"),c=i("TMWk"),u=i("8sOK"),h=i("mrSG"),d=function(e){function t(t,i,n,r){var o=e.call(this,t,i,n,r)||this;return o.properties().styles.vol_ma.visible.listeners().subscribe(o,(function(){return o.invalidateTitleCache()})),o}return Object(h.c)(t,e),t.prototype.base=function(){return 1},t.prototype.destroy=function(){this.properties().styles.vol_ma.visible.listeners().unsubscribeAll(this),e.prototype.destroy.call(this)},t.prototype._titleInputs=function(){var e={symbolsForDisplay:!0,skipHiddenInputs:!0,fakeInputsForDisplay:!0,asObject:!1};return this.properties().styles.vol_ma.visible.value()?this.inputs(e):this.inputs(Object(h.a)(Object(h.a)({},e),{skippedInputs:["length"]}))},t}(o.Study),p=i("Eyy1"),f=i("Qb4w");var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(h.c)(t,e),t.prototype.priceRange=function(e,t){var i=this,n=!1;this.graphics().hhists().forEach((function(e,t){n=n||i.properties().child("graphics").child("hhists").child(t).child("showValues").value()}));var r=function(e,t,i,n){var r=null;return e.forEach((function(e,n){e.forEach((function(e){e.firstBarTime<=i&&e.lastBarTime>=t&&(null===r?r={low:{l:e.priceLow,h:e.priceHigh},high:{h:e.priceHigh}}:(e.priceLowt}var l=function(){function e(e,t,i){void 0===i&&(i=2e5),this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._projectionFirstIndex=1/0,this._barsTimes=[],this._minFutureBarsCount=0,this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._extrapolateLimit=i,this._barBuilder=Object(o.newBarBuilder)(t,new o.SessionInfo(e.timezone,e.session,e.holidays,e.corrections),null)}return e.prototype.destroy=function(){this.clear()},e.prototype.clear=function(){this._firstRealBarTimeMs=null,this._historyBarsCache=[],this._barsTimes=[],this._lastRealBarTimeMs=null,this._futureBarsCache=[],this._minFutureBarsCount=0,this._projectionFirstIndex=1/0},e.prototype.firstFutureBarIndex=function(){return this._barsTimes.length},e.prototype.futureBars=function(){return this._futureBarsCache},e.prototype.setBarsTimes=function(e,t){void 0===t&&(t=e.length);var i=this._barsTimes;if(this._barsTimes=e,this._projectionFirstIndex=0===this._barsTimes.length?1/0:t, +0===e.length)return this._historyBarsCache=[],this._futureBarsCache=[],this._firstRealBarTimeMs=null,void(this._lastRealBarTimeMs=null);if(0===i.length||i[i.length-1]!==e[e.length-1]){this._lastRealBarTimeMs=e[e.length-1];var n=this._futureBarsCache.length,r=this._futureBarsCache.indexOf(this._lastRealBarTimeMs);this._futureBarsCache=-1!==r?this._futureBarsCache.slice(r+1):[],this._ensureExtrapolatedToFutureBar(Math.max(n,this._minFutureBarsCount))}0!==i.length&&i[0]===e[0]||(this._historyBarsCache=[],this._firstRealBarTimeMs=e[0])},e.prototype.extrapolateTimeWithOffsetToTime=function(e,t){if(0===t)return{timeMs:e,exact:!0};0===this._barsTimes.length&&(t<0?null===this._firstRealBarTimeMs?this._firstRealBarTimeMs=e:(this._extendHistoryCacheToTimeFromRight(Math.min(e,null!==this._lastRealBarTimeMs?this._lastRealBarTimeMs:1/0)),this._ensureExtrapolatedToHistoryTime(e)):null===this._lastRealBarTimeMs?this._lastRealBarTimeMs=e:(this._extendFutureCacheToTimeFromLeft(Math.max(e,null!==this._firstRealBarTimeMs?this._firstRealBarTimeMs:1/0)),this._ensureExtrapolatedToFutureTime(e)));var i=this.indexOfTime(e);if(null===i)return null;var n=this._timeOfBarIndex(i+t);return null===n?null:((i<0||this._projectionFirstIndex<=i)&&(n.exact=!1),n)},e.prototype.indexOfTime=function(e){if(null!==this._firstRealBarTimeMs&&ethis._lastRealBarTimeMs){this._ensureExtrapolatedToFutureTime(e);var i=Object(r.lowerbound_int)(this._futureBarsCache,e);return i===this._futureBarsCache.length?null:(this._futureBarsCache[i]!==e&&(i-=1),Math.max(1,this._barsTimes.length)+i)}if(0===this._barsTimes.length)return null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||null!==this._lastRealBarTimeMs&&e<=this._lastRealBarTimeMs?0:null;var n=Object(r.lowerbound_int)(this._barsTimes,e);return this._barsTimes[n]!==e&&(n-=1),n},e.prototype.setMinFutureBarsCount=function(e){return this._minFutureBarsCount=e,0!==this._barsTimes.length&&this._ensureExtrapolatedToFutureBar(e)},e.prototype._timeOfBarIndex=function(e){if(e<0){var t=Math.abs(e);this._ensureExtrapolatedToHistoryBar(t);var i=this._historyBarsCache.length-t;return i<0?null:{timeMs:this._historyBarsCache[i],exact:!1}}if(0===e&&0===this._barsTimes.length)return{timeMs:Object(n.ensureNotNull)(this._lastRealBarTimeMs),exact:!1};if(e>=this._barsTimes.length){t=e-Math.max(1,this._barsTimes.length);return this._ensureExtrapolatedToFutureBar(t+1),t>=this._futureBarsCache.length?null:{timeMs:this._futureBarsCache[t],exact:!1}}return{timeMs:this._barsTimes[e],exact:e=e)&&(Object(n.assert)(0===this._barsTimes.length,"bars should be empty"),this._firstRealBarTimeMs=e,0!==this._historyBarsCache.length)){var t=Object(s.extrapolateBarsFrontToTime)(this._barBuilder,this._historyBarsCache[this._historyBarsCache.length-1],e-1,this._extrapolateLimit,!0).times;this._historyBarsCache=this._historyBarsCache.concat(t)}},e.prototype._ensureExtrapolatedToFutureBar=function(e){var t=this;return!(this._futureBarsCache.length>=e||a(this._futureBarsCache,this._extrapolateLimit))&&this._extendFutureCacheFromRight((function(i,n){return Object(s.extrapolateBarsFrontByCount)(t._barBuilder,i,e-n,!0).times}))},e.prototype._ensureExtrapolatedToFutureTime=function(e){var t=this;null!==this._lastRealBarTimeMs&&this._lastRealBarTimeMs>=e||a(this._futureBarsCache,this._extrapolateLimit)||0!==this._futureBarsCache.length&&this._futureBarsCache[this._futureBarsCache.length-1]>=e||(this._extendFutureCacheFromRight((function(i,n){return Object(s.extrapolateBarsFrontToTime)(t._barBuilder,i,e,t._extrapolateLimit,!0).times})),this._futureBarsCache[this._futureBarsCache.length-1]=e||a(this._historyBarsCache,this._extrapolateLimit)||this._extendHistoryCacheFromLeft((function(i,n){return Object(s.extrapolateBarsFrontByCount)(t._barBuilder,i,-(e-n),!0).times.reverse()}))},e.prototype._ensureExtrapolatedToHistoryTime=function(e){var t=this;null!==this._firstRealBarTimeMs&&this._firstRealBarTimeMs<=e||a(this._historyBarsCache,this._extrapolateLimit)||0!==this._historyBarsCache.length&&this._historyBarsCache[0]<=e||(this._extendHistoryCacheFromLeft((function(i,n){return Object(s.extrapolateBarsFrontToTime)(t._barBuilder,i-1,e-1,t._extrapolateLimit,!0).times})),this._historyBarsCache[0]>e&&this._ensureExtrapolatedToHistoryBar(this._historyBarsCache.length+1))},e}()},"38az":function(e,t,i){"use strict";var n=i("k9/m").PlotRowSearchMode;function r(){this.backColorers=[]}function o(e){r.call(this),this._series=e}function s(e,t){r.call(this),this._study=e,this._plotIndex=t} +r.prototype.barStyle=function(e,t,i){for(var n={},r=this.backColorers.length-1;r>=0;r--)this.backColorers[r].applyBarStyle(e,t,n,i);return this.applyBarStyle(e,t,n,i),n},r.prototype.pushBackBarColorer=function(e){this.backColorers.push(e)},r.prototype.applyBarStyle=function(e,t,i){throw new Error("This function is supposed to be reimplemented in a subclass")},inherit(o,r),o.upColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.upColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.upColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.upColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.upColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.topLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value()}throw new Error("Unknown series style")},o.downColor=function(e,t){switch(e.style.value()){case TradingView.Series.STYLE_LINE:return e.lineStyle.color.value();case TradingView.Series.STYLE_AREA:return e.areaStyle.linecolor.value();case TradingView.Series.STYLE_BARS:return e.barStyle.downColor.value();case TradingView.Series.STYLE_CANDLES:return e.candleStyle.downColor.value();case TradingView.Series.STYLE_HOLLOW_CANDLES:return e.hollowCandleStyle.downColor.value();case TradingView.Series.STYLE_HEIKEN_ASHI:return e.haStyle.downColor.value();case TradingView.Series.STYLE_BASELINE:return e.baselineStyle.bottomLineColor.value();case TradingView.Series.STYLE_HILO:return e.hiloStyle.color.value()}throw new Error("Unknown series style")},o.prototype._applyLineStyle=function(e,t,i,n,r){i.barColor=o.upColor(r)},o.prototype._applyAreaStyle=function(e,t,i,n,r){i.barColor=o.upColor(r)},o.prototype._applyBarStyle=function(e,t,i,n,r){var s=o.upColor(r),a=o.downColor(r),l=this.findBar(e,!1,n);if(r.barStyle.barColorsOnPrevClose.value()){var c=this.findPrevBar(e,!1,n);i.barColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a,i.barBorderColor=c[TradingView.CLOSE_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a}else i.barColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a,i.barBorderColor=l[TradingView.OPEN_PLOT]<=l[TradingView.CLOSE_PLOT]?s:a},o.prototype._applyCandleStyle=function(e,t,i,n,r){var s,a=o.upColor(r,t),l=o.downColor(r,t),c=r.candleStyle.borderUpColor?r.candleStyle.borderUpColor.value():r.candleStyle.borderColor.value(),u=r.candleStyle.borderDownColor?r.candleStyle.borderDownColor.value():r.candleStyle.borderColor.value(),h=r.candleStyle.wickUpColor?r.candleStyle.wickUpColor.value():r.candleStyle.wickColor.value(),d=r.candleStyle.wickDownColor?r.candleStyle.wickDownColor.value():r.candleStyle.wickColor.value(),p=this.findBar(e,!1,n);r.candleStyle.barColorsOnPrevClose.value()?s=this.findPrevBar(e,!1,n)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:s=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT] +;i.barColor=s?a:l,i.barBorderColor=s?c:u,i.barWickColor=s?h:d},o.prototype._applyHollowCandleStyle=function(e,t,i,n,r){var s=o.upColor(r,t),a=o.downColor(r,t),l=r.hollowCandleStyle.borderUpColor?r.hollowCandleStyle.borderUpColor.value():r.hollowCandleStyle.borderColor.value(),c=r.hollowCandleStyle.borderDownColor?r.hollowCandleStyle.borderDownColor.value():r.hollowCandleStyle.borderColor.value(),u=r.hollowCandleStyle.wickUpColor?r.hollowCandleStyle.wickUpColor.value():r.hollowCandleStyle.wickColor.value(),h=r.hollowCandleStyle.wickDownColor?r.hollowCandleStyle.wickDownColor.value():r.hollowCandleStyle.wickColor.value(),d=this.findBar(e,!1,n);this.findPrevBar(e,!1,n)[TradingView.CLOSE_PLOT]<=d[TradingView.CLOSE_PLOT]?(i.barColor=s,i.barBorderColor=l,i.barWickColor=u):(i.barColor=a,i.barBorderColor=c,i.barWickColor=h),i.isBarHollow=d[TradingView.OPEN_PLOT]<=d[TradingView.CLOSE_PLOT]},o.prototype._applyHAStyle=function(e,t,i,n,r){var s,a=o.upColor(r,t),l=o.downColor(r,t),c=r.haStyle.borderUpColor.value(),u=r.haStyle.borderDownColor.value(),h=r.haStyle.wickUpColor.value(),d=r.haStyle.wickDownColor.value(),p=this.findBar(e,t,n);r.haStyle.barColorsOnPrevClose.value()?s=this.findPrevBar(e,t,n)[TradingView.CLOSE_PLOT]<=p[TradingView.CLOSE_PLOT]:s=p[TradingView.OPEN_PLOT]<=p[TradingView.CLOSE_PLOT];i.barColor=s?a:l,i.barBorderColor=s?c:u,i.barWickColor=s?h:d},o.prototype._applyBaseLineStyle=function(e,t,i,n,r){var s=this.findBar(e,t,n),a=r.baselineStyle,l=this._series.priceScale(),c=Math.round(l.height()*(Math.abs(100-a.baseLevelPercentage.value())/100)),u=this._series.firstValue(),h=l.coordinateToPrice(c,u);s[TradingView.CLOSE_PLOT]>h?i.barColor=o.upColor(r,t):i.barColor=o.downColor(r,t)},o.prototype._applyHiLoStyle=function(e,t,i,n,r){i.barColor=o.upColor(r,t),i.barBorderColor=r.hiloStyle.borderColor.value()},o.prototype.applyBarStyle=function(e,t,i,n){i||(i={}),i.barColor=null,i.barBorderColor=null,i.barWickColor=null,i.isBarHollow=null,i.isBarUp=null,i.upColor=null,i.downColor=null,i.isTwoColorBar=null,i.isMergedBar=null;var r=this._series.properties();switch(r.style.value()){case TradingView.Series.STYLE_LINE:this._applyLineStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_AREA:this._applyAreaStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_BARS:this._applyBarStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_CANDLES:this._applyCandleStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HOLLOW_CANDLES:this._applyHollowCandleStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HEIKEN_ASHI:this._applyHAStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_BASELINE:this._applyBaseLineStyle(e,t,i,n,r);break;case TradingView.Series.STYLE_HILO:this._applyHiLoStyle(e,t,i,n,r)}return i},o.prototype.getSeriesBars=function(e){return e?this._series.nsBars():this._series.bars()},o.prototype._findBarFieldValue=function(e,t,i){var n=this.getSeriesBars(i).valueAt(e);if(null!==n)return n[t]},o.prototype.findBar=function(e,t,i){return i?i.value:this.getSeriesBars(t).valueAt(e)||[]},o.prototype.findPrevBar=function(e,t,i){ +if(i&&i.previousValue)return i.previousValue;var r=this._series.bars().search(e-1,n.NearestLeft,TradingView.CLOSE_PLOT);return null!==r?r.value:[]},inherit(s,r),s.prototype.getBars=function(){return this._study.series().bars()},s.prototype.firstColoredBar=function(e){for(var t=e,i=0;ie+a)return i;var l=n.styles[s.id];if(l.visible&&!l.visible.value())return i;var c=o.valueAt(e-a);if(null===c)return i;var u=c[this._plotIndex+1];if(null==u)return i;u=Math.round(u);var h=r.plots[this._plotIndex].palette,d=n.palettes[h],p=r.palettes[h].valToIndex?r.palettes[h].valToIndex[u]:u,f=d.colors[p].color.value();return i.barColor=f,i.upColor=f.color,i.downColor=f.color,i},t.SeriesBarColorer=o,t.StudyBarColorer=s},"39QR":function(e,t,i){"use strict";i.r(t),i.d(t,"LineDataSourcePointPriceProperty",(function(){return s}));var n=i("mrSG"),r=i("Eyy1"),o=i("tc+8"),s=function(e){function t(t,i){var n=e.call(this)||this;return n._lineSource=t,n._pointIndex=i,t.pointAdded().subscribe(n,(function(e){n._pointIndex===e&&n._listeners.fire(n)})),t.pointChanged().subscribe(n,(function(e){n._pointIndex===e&&n._listeners.fire(n)})),n}return Object(n.c)(t,e),t.prototype.value=function(){var e=this._lineSource.points()[this._pointIndex].price,t=Object(r.ensureNotNull)(this._lineSource.ownerSource()).formatter();if(t.parse){var i=t.format(e),n=t.parse(i);return n.res?n.value:e}return e},t.prototype.setValue=function(e){var t=this._lineSource.points()[this._pointIndex];t.price=parseFloat(""+e),this._lineSource.startChanging(this._pointIndex,t),this._lineSource.setPoint(this._pointIndex,t),this._lineSource.model().updateSource(this._lineSource),this._listeners.fire(this);var i=this._lineSource.endChanging(!0,!1);this._lineSource.syncMultichartState(i),this._lineSource.properties().lastUpdateTime.setValue((new Date).valueOf())},t}(i.n(o).a)},"3ClC":function(e,t,i){"use strict";i.r(t);var n=i("0YCj"),r=i.n(n),o=i("GVHu"),s=i("PL0c"),a=i("cKqi"),l=i("YzC7"),c=i("TMWk"),u=i("8sOK"),h=i("mrSG"),d=function(e){function t(t,i,n,r){var o=e.call(this,t,i,n,r)||this;return o.properties().styles.vol_ma.visible.listeners().subscribe(o,(function(){return o.invalidateTitleCache()})),o}return Object(h.c)(t,e),t.prototype.base=function(){return 1},t.prototype.destroy=function(){this.properties().styles.vol_ma.visible.listeners().unsubscribeAll(this),e.prototype.destroy.call(this)},t.prototype._titleInputs=function(){var e={symbolsForDisplay:!0, +skipHiddenInputs:!0,fakeInputsForDisplay:!0,asObject:!1};return this.properties().styles.vol_ma.visible.value()?this.inputs(e):this.inputs(Object(h.a)(Object(h.a)({},e),{skippedInputs:["length"]}))},t}(o.Study),p=i("Eyy1"),f=i("Qb4w");var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(h.c)(t,e),t.prototype.priceRange=function(e,t){var i=this,n=!1;this.graphics().hhists().forEach((function(e,t){n=n||i.properties().child("graphics").child("hhists").child(t).child("showValues").value()}));var r=function(e,t,i,n){var r=null;return e.forEach((function(e,n){e.forEach((function(e){e.firstBarTime<=i&&e.lastBarTime>=t&&(null===r?r={low:{l:e.priceLow,h:e.priceHigh},high:{h:e.priceHigh}}:(e.priceLow'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=i,exports.version=i,exports.widget=r; +"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){return(t=Object.assign||function(t){for(var e,o=arguments,n=1,i=arguments.length;n'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=i,exports.version=i,exports.widget=r; diff --git a/charting_library/charting_library.esm.js b/charting_library/charting_library.esm.js index c8de6c86..808450d2 100644 --- a/charting_library/charting_library.esm.js +++ b/charting_library/charting_library.esm.js @@ -1 +1 @@ -var t=function(){return(t=Object.assign||function(t){for(var e,o=arguments,n=1,i=arguments.length;n'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=i;export{i as version,r as widget}; +var t=function(){return(t=Object.assign||function(t){for(var e,o=arguments,n=1,i=arguments.length;n'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=i;export{i as version,r as widget}; diff --git a/charting_library/charting_library.js b/charting_library/charting_library.js index 1248406f..d4c50a94 100644 --- a/charting_library/charting_library.js +++ b/charting_library/charting_library.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).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})})); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).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/charting_library.standalone.js b/charting_library/charting_library.standalone.js index 1fa7c066..b955ca82 100644 --- a/charting_library/charting_library.standalone.js +++ b/charting_library/charting_library.standalone.js @@ -1 +1 @@ -var TradingView=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}();return window.TradingView=window.TradingView||{},window.TradingView.version=r,t.version=r,t.widget=s,t}({}); +var TradingView=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}();return window.TradingView=window.TradingView||{},window.TradingView.version=r,t.version=r,t.widget=s,t}({}); diff --git a/charting_library/cs-tv-chart.635db441.html b/charting_library/cs-tv-chart.c95ba819.html similarity index 99% rename from charting_library/cs-tv-chart.635db441.html rename to charting_library/cs-tv-chart.c95ba819.html index c1c2eaa9..45a29299 100644 --- a/charting_library/cs-tv-chart.635db441.html +++ b/charting_library/cs-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/da_DK-tv-chart.635db441.html b/charting_library/da_DK-tv-chart.c95ba819.html similarity index 99% rename from charting_library/da_DK-tv-chart.635db441.html rename to charting_library/da_DK-tv-chart.c95ba819.html index de6bb484..ee6f2a3c 100644 --- a/charting_library/da_DK-tv-chart.635db441.html +++ b/charting_library/da_DK-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/de-tv-chart.635db441.html b/charting_library/de-tv-chart.c95ba819.html similarity index 99% rename from charting_library/de-tv-chart.635db441.html rename to charting_library/de-tv-chart.c95ba819.html index 674b0530..7313353e 100644 --- a/charting_library/de-tv-chart.635db441.html +++ b/charting_library/de-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/el-tv-chart.635db441.html b/charting_library/el-tv-chart.c95ba819.html similarity index 99% rename from charting_library/el-tv-chart.635db441.html rename to charting_library/el-tv-chart.c95ba819.html index 5e9074f8..a006ad7d 100644 --- a/charting_library/el-tv-chart.635db441.html +++ b/charting_library/el-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/en-tv-chart.635db441.html b/charting_library/en-tv-chart.c95ba819.html similarity index 99% rename from charting_library/en-tv-chart.635db441.html rename to charting_library/en-tv-chart.c95ba819.html index f1214e40..d1340974 100644 --- a/charting_library/en-tv-chart.635db441.html +++ b/charting_library/en-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/es-tv-chart.635db441.html b/charting_library/es-tv-chart.c95ba819.html similarity index 99% rename from charting_library/es-tv-chart.635db441.html rename to charting_library/es-tv-chart.c95ba819.html index df222800..5d23881a 100644 --- a/charting_library/es-tv-chart.635db441.html +++ b/charting_library/es-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/et_EE-tv-chart.635db441.html b/charting_library/et_EE-tv-chart.c95ba819.html similarity index 99% rename from charting_library/et_EE-tv-chart.635db441.html rename to charting_library/et_EE-tv-chart.c95ba819.html index 40cbfb94..f31f2509 100644 --- a/charting_library/et_EE-tv-chart.635db441.html +++ b/charting_library/et_EE-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/fa-tv-chart.635db441.html b/charting_library/fa-tv-chart.c95ba819.html similarity index 99% rename from charting_library/fa-tv-chart.635db441.html rename to charting_library/fa-tv-chart.c95ba819.html index a3f514a1..e0f40237 100644 --- a/charting_library/fa-tv-chart.635db441.html +++ b/charting_library/fa-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/fr-tv-chart.635db441.html b/charting_library/fr-tv-chart.c95ba819.html similarity index 99% rename from charting_library/fr-tv-chart.635db441.html rename to charting_library/fr-tv-chart.c95ba819.html index d98a0c36..1bfd8313 100644 --- a/charting_library/fr-tv-chart.635db441.html +++ b/charting_library/fr-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/he_IL-tv-chart.635db441.html b/charting_library/he_IL-tv-chart.c95ba819.html similarity index 99% rename from charting_library/he_IL-tv-chart.635db441.html rename to charting_library/he_IL-tv-chart.c95ba819.html index 184a9200..5d54e235 100644 --- a/charting_library/he_IL-tv-chart.635db441.html +++ b/charting_library/he_IL-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/hu_HU-tv-chart.635db441.html b/charting_library/hu_HU-tv-chart.c95ba819.html similarity index 99% rename from charting_library/hu_HU-tv-chart.635db441.html rename to charting_library/hu_HU-tv-chart.c95ba819.html index 2023cd64..5dd50576 100644 --- a/charting_library/hu_HU-tv-chart.635db441.html +++ b/charting_library/hu_HU-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/id_ID-tv-chart.635db441.html b/charting_library/id_ID-tv-chart.c95ba819.html similarity index 99% rename from charting_library/id_ID-tv-chart.635db441.html rename to charting_library/id_ID-tv-chart.c95ba819.html index dbadcb86..9aa5b8d1 100644 --- a/charting_library/id_ID-tv-chart.635db441.html +++ b/charting_library/id_ID-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/it-tv-chart.635db441.html b/charting_library/it-tv-chart.c95ba819.html similarity index 99% rename from charting_library/it-tv-chart.635db441.html rename to charting_library/it-tv-chart.c95ba819.html index 17017577..be3b7dc2 100644 --- a/charting_library/it-tv-chart.635db441.html +++ b/charting_library/it-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/ja-tv-chart.635db441.html b/charting_library/ja-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ja-tv-chart.635db441.html rename to charting_library/ja-tv-chart.c95ba819.html index 466598c5..2b3b97ad 100644 --- a/charting_library/ja-tv-chart.635db441.html +++ b/charting_library/ja-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/ko-tv-chart.635db441.html b/charting_library/ko-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ko-tv-chart.635db441.html rename to charting_library/ko-tv-chart.c95ba819.html index d7fdf630..0705769e 100644 --- a/charting_library/ko-tv-chart.635db441.html +++ b/charting_library/ko-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/ms_MY-tv-chart.635db441.html b/charting_library/ms_MY-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ms_MY-tv-chart.635db441.html rename to charting_library/ms_MY-tv-chart.c95ba819.html index 5a93c4fd..cd4f5e67 100644 --- a/charting_library/ms_MY-tv-chart.635db441.html +++ b/charting_library/ms_MY-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/nl_NL-tv-chart.635db441.html b/charting_library/nl_NL-tv-chart.c95ba819.html similarity index 99% rename from charting_library/nl_NL-tv-chart.635db441.html rename to charting_library/nl_NL-tv-chart.c95ba819.html index e95a910d..25ff3684 100644 --- a/charting_library/nl_NL-tv-chart.635db441.html +++ b/charting_library/nl_NL-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/no-tv-chart.635db441.html b/charting_library/no-tv-chart.c95ba819.html similarity index 99% rename from charting_library/no-tv-chart.635db441.html rename to charting_library/no-tv-chart.c95ba819.html index ed6cb17c..88aae441 100644 --- a/charting_library/no-tv-chart.635db441.html +++ b/charting_library/no-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/package.json b/charting_library/package.json index 9fcb841d..794ef07b 100644 --- a/charting_library/package.json +++ b/charting_library/package.json @@ -1,6 +1,6 @@ { "private": true, - "description": "CL v19.035 (internal id 635db441 @ 2021-07-05T09:22:43.310Z)", + "description": "CL v19.036 (internal id c95ba819 @ 2021-07-08T17:01:22.099Z)", "type": "module", "main": "charting_library.cjs.js", "module": "charting_library.esm.js", diff --git a/charting_library/pl-tv-chart.635db441.html b/charting_library/pl-tv-chart.c95ba819.html similarity index 99% rename from charting_library/pl-tv-chart.635db441.html rename to charting_library/pl-tv-chart.c95ba819.html index 7318fe59..693b70a0 100644 --- a/charting_library/pl-tv-chart.635db441.html +++ b/charting_library/pl-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/pt-tv-chart.635db441.html b/charting_library/pt-tv-chart.c95ba819.html similarity index 99% rename from charting_library/pt-tv-chart.635db441.html rename to charting_library/pt-tv-chart.c95ba819.html index ab40737b..28f72358 100644 --- a/charting_library/pt-tv-chart.635db441.html +++ b/charting_library/pt-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/ro-tv-chart.635db441.html b/charting_library/ro-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ro-tv-chart.635db441.html rename to charting_library/ro-tv-chart.c95ba819.html index df1d81dc..a0355a5b 100644 --- a/charting_library/ro-tv-chart.635db441.html +++ b/charting_library/ro-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/ru-tv-chart.635db441.html b/charting_library/ru-tv-chart.c95ba819.html similarity index 99% rename from charting_library/ru-tv-chart.635db441.html rename to charting_library/ru-tv-chart.c95ba819.html index 70c3fa30..2b3a4ad6 100644 --- a/charting_library/ru-tv-chart.635db441.html +++ b/charting_library/ru-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/sk_SK-tv-chart.635db441.html b/charting_library/sk_SK-tv-chart.c95ba819.html similarity index 99% rename from charting_library/sk_SK-tv-chart.635db441.html rename to charting_library/sk_SK-tv-chart.c95ba819.html index 2827edf7..6616bd8a 100644 --- a/charting_library/sk_SK-tv-chart.635db441.html +++ b/charting_library/sk_SK-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/sv-tv-chart.635db441.html b/charting_library/sv-tv-chart.c95ba819.html similarity index 99% rename from charting_library/sv-tv-chart.635db441.html rename to charting_library/sv-tv-chart.c95ba819.html index eed395a2..a706e9fb 100644 --- a/charting_library/sv-tv-chart.635db441.html +++ b/charting_library/sv-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/th-tv-chart.635db441.html b/charting_library/th-tv-chart.c95ba819.html similarity index 99% rename from charting_library/th-tv-chart.635db441.html rename to charting_library/th-tv-chart.c95ba819.html index 4310b371..eeb36fdd 100644 --- a/charting_library/th-tv-chart.635db441.html +++ b/charting_library/th-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/tr-tv-chart.635db441.html b/charting_library/tr-tv-chart.c95ba819.html similarity index 99% rename from charting_library/tr-tv-chart.635db441.html rename to charting_library/tr-tv-chart.c95ba819.html index 5ead9f34..1161f254 100644 --- a/charting_library/tr-tv-chart.635db441.html +++ b/charting_library/tr-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/vi-tv-chart.635db441.html b/charting_library/vi-tv-chart.c95ba819.html similarity index 99% rename from charting_library/vi-tv-chart.635db441.html rename to charting_library/vi-tv-chart.c95ba819.html index 61efee55..f5afb33e 100644 --- a/charting_library/vi-tv-chart.635db441.html +++ b/charting_library/vi-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/zh-tv-chart.635db441.html b/charting_library/zh-tv-chart.c95ba819.html similarity index 99% rename from charting_library/zh-tv-chart.635db441.html rename to charting_library/zh-tv-chart.c95ba819.html index 07de26f5..a755c31a 100644 --- a/charting_library/zh-tv-chart.635db441.html +++ b/charting_library/zh-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/zh_TW-tv-chart.635db441.html b/charting_library/zh_TW-tv-chart.c95ba819.html similarity index 99% rename from charting_library/zh_TW-tv-chart.635db441.html rename to charting_library/zh_TW-tv-chart.c95ba819.html index c4bf6f47..3dfa76f3 100644 --- a/charting_library/zh_TW-tv-chart.635db441.html +++ b/charting_library/zh_TW-tv-chart.c95ba819.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file