Sha256: 16a7a3bcecda44b0ef40a4a022722477771c273fd0bd41281064f9d3817baadc

Contents?: true

Size: 838 Bytes

Versions: 1

Compression:

Stored size: 838 Bytes

Contents

/*
  Highcharts JS v7.0.3 (2019-02-06)

 Indicator series type for Highstock

 (c) 2010-2019 Kacper Madej

 License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define(function(){return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){(function(a){var f=a.seriesType,m=a.isArray;f("roc","sma",{params:{index:3,period:9}},{nameBase:"Rate of Change",getValues:function(a,c){var d=c.period,g=a.xData,f=(a=a.yData)?a.length:0,h=[],k=[],l=[],e=-1,b;if(g.length<=d)return!1;m(a[0])&&(e=c.index);for(c=d;c<f;c++)b=0>e?(b=
a[c-d])?(a[c]-b)/b*100:null:(b=a[c-d][e])?(a[c][e]-b)/b*100:null,b=[g[c],b],h.push(b),k.push(b[0]),l.push(b[1]);return{values:h,xData:k,yData:l}}})})(a)});
//# sourceMappingURL=roc.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aw-highstock_rails-7.0.3 vendor/assets/javascripts/highstock/indicators/roc.js