HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode/frontend/node_modules/highcharts/indicators/chaikin.js
/*
 Highstock JS v10.3.3 (2023-01-20)

 Indicator series type for Highcharts Stock

 (c) 2010-2021 Wojciech Chmiel

 License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/chaikin",["highcharts","highcharts/modules/stock"],function(f){a(f);a.Highcharts=f;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function f(a,b,e,f){a.hasOwnProperty(b)||(a[b]=f.apply(null,e),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:b,module:a[b]}})))}
a=a?a._modules:{};f(a,"Stock/Indicators/AD/ADIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b){var e=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var g in d)d.hasOwnProperty(g)&&(a[g]=d[g])};return a(b,c)};return function(b,c){function h(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(h.prototype=c.prototype,new h)}}(),f=a.seriesTypes.sma,
m=b.error,n=b.extend,q=b.merge;b=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}e(b,a);b.populateAverage=function(a,b,d,g,k){k=b[g][1];var c=b[g][2];b=b[g][3];d=d[g];return[a[g],b===k&&b===c||k===c?0:(2*b-c-k)/(k-c)*d]};b.prototype.getValues=function(a,h){var d=h.period,g=a.xData,k=a.yData,c=h.volumeSeriesID,e=a.chart.get(c);h=e&&e.yData;var f=k?k.length:0,p=[],l=[],n=[];if(!(g.length<=d&&f&&4!==k[0].length)){if(e){for(c=
d;c<f;c++)a=p.length,e=b.populateAverage(g,k,h,c,d),0<a&&(e[1]+=p[a-1][1]),p.push(e),l.push(e[0]),n.push(e[1]);return{values:p,xData:l,yData:n}}m("Series "+c+" not found! Check `volumeSeriesID`.",!0,a.chart)}};b.defaultOptions=q(f.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}});return b}(f);n(b.prototype,{nameComponents:!1,nameBase:"Accumulation/Distribution"});a.registerSeriesType("ad",b);"";return b});f(a,"Stock/Indicators/Chaikin/ChaikinIndicator.js",[a["Stock/Indicators/AD/ADIndicator.js"],
a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,b,e){var f=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function g(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}}(),m=b.seriesTypes.ema,n=e.correctFloat,q=e.extend,t=e.merge,r=e.error;
e=function(b){function c(){var a=null!==b&&b.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}f(c,b);c.prototype.getValues=function(b,c){var d=c.periods,e=c.period,f=[],g=[],h=[],l;if(2!==d.length||d[1]<=d[0])r('Error: "Chaikin requires two periods. Notice, first period should be lower than the second one."');else if(c=a.prototype.getValues.call(this,b,{volumeSeriesID:c.volumeSeriesID,period:e}))if(b=m.prototype.getValues.call(this,c,{period:d[0]}),c=m.prototype.getValues.call(this,
c,{period:d[1]}),b&&c){d=d[1]-d[0];for(l=0;l<c.yData.length;l++)e=n(b.yData[l+d]-c.yData[l]),f.push([c.xData[l],e]),g.push(c.xData[l]),h.push(e);return{values:f,xData:g,yData:h}}};c.defaultOptions=t(m.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume",period:9,periods:[3,10]}});return c}(m);q(e.prototype,{nameBase:"Chaikin Osc",nameComponents:["periods"]});b.registerSeriesType("chaikin",e);"";return e});f(a,"masters/indicators/chaikin.src.js",[],function(){})});
//# sourceMappingURL=chaikin.js.map