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AAO,CACHI,OAAQV,CADL,CAEHJ,MAAOK,CAFJ,CAGHJ,MAAOK,CAHJ,CAvF0B,CAjCzC,CAxBJ,CAvBkC,CAArC,CAAA,CA6LC/C,CA7LD,CA6LaE,CA7Lb,CAlDmB,CAXvB;","sources":["dema.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","requiredIndicatorMixin","H","error","isParentLoaded","indicator","requiredIndicator","type","callback","errMessage","generateMessage","indicatorType","required","isArray","EMAindicator","seriesTypes","ema","correctFloat","seriesType","init","args","arguments","ctx","prototype","apply","getEMA","yVal","prevEMA","SMA","index","i","xVal","calculateEma","chart","series","EMApercent","getValues","params","period","doubledPeriod","xData","yData","yValLen","length","DEMA","xDataDema","yDataDema","EMA","EMAlevel2","EMAvalues","DEMAPoint","accumulatePeriodPoints","push","prevEMAlevel2","values"]}