All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.indicators.roc.js Maven / Gradle / Ivy

The newest version!
!/**
 * Highstock JS v11.4.8 (2024-08-29)
 *
 * Indicator series type for Highcharts Stock
 *
 * (c) 2010-2024 Kacper Madej
 *
 * License: www.highcharts.com/license
 */function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/roc",["highcharts","highcharts/modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function s(t,s,n,o){t.hasOwnProperty(s)||(t[s]=o.apply(null,n),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:t[s]}})))}s(t,"Stock/Indicators/ROC/ROCIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{sma:s}=e.seriesTypes,{isArray:n,merge:o,extend:i}=t;class r extends s{getValues(e,t){let s=t.period,o=e.xData,i=e.yData,r=i?i.length:0,a=[],u=[],c=[],d,l=-1,h;if(!(o.length<=s)){for(n(i[0])&&(l=t.index),d=s;d




© 2015 - 2024 Weber Informatics LLC | Privacy Policy