Files
ai/charting_library/static/bundles/export-data.ea9e219d1d41389ea3b7.js
Jenkins 967db57659 VERSION 1.15 @ 2019-12-18 11:58:16.705704
setVisibleRange additional argument - right margin % #4512
Indicators are slided when zooming chart #4456
save_load_adapter after removing chart #4454
Overriding timezone definitions #4449
Error while applying study template #4407
Wrong range of overlay after switching timeframe #4372
Intraday Data is Requesting from the server since 1970 #4366
Display price in thousands, millions, billions #4360
setBodyFont of position line tool doesn't work correctly #4353
Realtime updates shifts indicator's data for realtime bars count back #4283
Adaptive indicators dialogs #4247
Click instead of mouseDown for positionLine onClose. #4245
Add applyRightMargin flag to setVisibleRange #4233
Open volume on new pane if volume_force_overlay is enabled #4198
Keep the first visible point when a new bar comes #4188
getVisibleRange should return 00:00 for DWM #4187
21 more indicators #4170
Main series API #4169
Can not set Text property of the Note Shape #4144
Unable to hide legend #4126
setVisibleRange or getVisibleRange adds one more bar to the left #4110
Cannot set tooltip for order line #4079
Dialog is closed immediately if it is invoked from mouse_down event #4077
setVisibleRange doesn't work for multiple charts at once #4068
how to disable mp3 files being loaded? #4052
Increase spacing between bars to display short time periods #4043
Event Marker Placement always uses high #4042
Number cannot be passed as symbol into widget constructor #4039
custom_css_url not working in unstable branch #4017
ConfirmDialog does not close after YES is clicked #3981
Side DOM chart does not render in certain conditions #3975
`getAllShapes` does not return drawings loaded from state #3966
Text inside order/position lines is too small #3962
Removing the last saved chart #3954
get current chart timezone #3943
Text shape throws error setValue #3930
Wrong Symbol and Price values in context menu for secondary instrument. #3926
text override in Horizontal Line does not work #3918
Sticky magnet mode #3902
Add thin bars #3900
Event that study has been removed from the chart #3899
High-Low bars #3898
Multiple Y-axis #3897
Issue with Renko with volume and vwap indicators #3893
Layout rename doesn't send request to server #3878
Cannot create copy of copy of a chart layout #3872
Chart scrolls when tap on a trend line Safari/iphone7 #3871
Chart border overlap scale values #3826
IDatafeedChartApi.subscribeDepth parameters #3821
Error in console when restore defaults #3755
Timeframe is not precise #3722
Wrong year Ticker displayed on X axis if resolution < 2H #3678
New chart layouts #3629
Drawings disappear at certain resolutions #3594
Remove jQuery from loading custom indicator #3563
Align symbol labels #3513
createOrderLine().onMove broken in 1.13 #3480
When changing theme on the fly - chart type changing too #3459
Pivot Points Standard - path to some style params #3441
createMultipointShape overrides with dot don't work #3419
Add inverting price scale #3376
Transparent chart background color #3288
Previous timescale tooltips stay when switching currency #3165
disableSelection still shown the selections on hover #2864
Override symbol from saved_data #2493
Forecast balloon too short #2289
Context menu submenus cover up other options #2007
Add setVisiblePriceRange method #1408
Modify panes height/order #1232
Add custom Interval  #1191
2019-12-18 14:58:22 +03:00

1 line
2.9 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["export-data"],{SIoL:function(e,t,n){"use strict";function i(e,t){var n,i,s,d,h,p,w,m,g,v,b,O,x,N,T,y,P,S,I,j,k,R,L;for(void 0===t&&(t={}),i=Object.assign({},f,t),s={schema:[],data:[]},d=e.timeScale().points(),h=e.mainSeries(),p=function(e,t){var n=e.allStudies().filter(function(e){return e.showInObjectTree()});if("all"===t)return n;return n.filter(function(e){return t.includes(e.id())})}(e,i.includedStudies),w=function(e,t,n,i){var l,s,o,r,d,f,h,p,w;for(l=Object(a.ensureNotNull)(void 0!==n?e.indexOf(n,!0):e.firstIndex()),s=Object(a.ensureNotNull)(void 0!==i?e.indexOf(i,!0):e.lastIndex()),o=s,r=l,d=0,f=t;d<f.length;d++)h=f[d],null!==(p=h.search(l,c.PlotRowSearchMode.NearestRight))&&p.index<o&&(o=p.index),null!==(w=h.search(s,c.PlotRowSearchMode.NearestLeft))&&w.index>r&&(r=w.index);return Object(a.assert)(o<=r,"Range must contain at least 1 time point"),new u.BarsRange(o,r)}(d,[h.bars()],i.from,i.to),m=w.firstBar(),g=w.lastBar(),i.includeTime&&s.schema.push({type:"time"}),v=s.schema.length,i.includeSeries&&(s.schema.push(o("open")),s.schema.push(o("high")),s.schema.push(o("low")),s.schema.push(o("close"))),b=s.schema.length,O=[],x=0,N=p;x<N.length;x++)y=l(T=N[x]),O.push(y),(n=s.schema).push.apply(n,y.fields);if(0===(P=s.schema.length))return s;for(S=m;S<=g;++S)(I=new Float64Array(P)).fill(NaN),s.data.push(I);if(i.includeTime)for(S=m;S<=g;++S)s.data[S-m][0]=Object(a.ensureNotNull)(d.valueAt(S));for(i.includeSeries&&h.bars().range(m,g).each(function(e,t){var n=s.data[e-m];return n[v]=r(t[1]),n[v+1]=r(t[2]),n[v+2]=r(t[3]),n[v+3]=r(t[4]),!1}),j=0;j<p.length;++j){for(T=p[j],k=O[j],R=function(e){var t=k.fieldPlotOffsets[e],n=k.fieldToPlotIndex[e],i=m-t,l=g-t,o=b+e;T.data().range(i,l).each(function(e,t){return s.data[e-i][o]=r(t[n]),!1})},L=0;L<k.fields.length;++L)R(L);b+=k.fields.length}return s}function l(e){var t,n,i,l,o,r=e.metaInfo(),u={fieldToPlotIndex:[],fieldPlotOffsets:[],fields:[]},c=e.id(),f=e.title(!1,void 0,!1);for(t=0;t<r.plots.length;++t){if(n=r.plots[t],i=void 0,l="",Object(d.isLinePlot)(n))i=Object(a.ensureDefined)(r.styles)[n.id];else if(Object(d.isOhlcPlot)(n))switch(i=r.ohlcPlots&&r.ohlcPlots[n.target],n.type){case"ohlc_open":l=" ("+window.t("Open")+")";break;case"ohlc_high":l=" ("+window.t("High");break;case"ohlc_low":l=" ("+window.t("Low")+")";break;case"ohlc_close":l=" ("+window.t("Close")+")"}void 0===i||i.isHidden||void 0===i.title||(o=""+i.title+l,u.fields.push(s(c,f,o)),u.fieldToPlotIndex.push(t+1),u.fieldPlotOffsets.push(e.offset(n.id)))}return u}function s(e,t,n){return{type:"value",sourceType:"study",sourceId:e,sourceTitle:t,plotTitle:n}}function o(e){return{type:"value",sourceType:"series",plotTitle:e}}function r(e){return null!=e?e:NaN}var a,u,c,d,f;n.r(t),n.d(t,"exportData",function(){return i}),n("YFKU"),a=n("Eyy1"),u=n("ZJKN"),c=n("k9/m"),d=n("23IT"),f={includeTime:!0,includeSeries:!0,includedStudies:"all"}}}]);