/* Highstock JS v8.2.0 (2020-08-20) Indicator series type for Highstock (c) 2010-2019 Pawe Dalek 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/natr",["highcharts","highcharts/modules/stock"],function(b){a(b);a.Highcharts=b;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function b(a,e,b,f){a.hasOwnProperty(e)||(a[e]=f.apply(null,b))}a=a?a._modules:{};b(a,"Stock/Indicators/NATRIndicator.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,b){b=b.seriesType; var e=a.seriesTypes.atr;b("natr","sma",{tooltip:{valueSuffix:"%"}},{requiredIndicators:["atr"],getValues:function(a,b){var c=e.prototype.getValues.apply(this,arguments),f=c.values.length,g=b.period-1,h=a.yData,d=0;if(c){for(;d