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,CADA1B,CAAAoB,KAAA,CAAWrB,CAAA,CAAKsB,CAAL,CAAX,CACA,CAAAnB,CAAAkB,KAAA,CAAWM,CAAX,CAEJ,OAAO,CACHG,OAAQjB,CADL,CAEHZ,MAAOA,CAFJ,CAGHE,MAAOA,CAHJ,CA5CP,CAhCyD,CAgG7Df,EAAA2C,eAAA,CAA8B9C,CAAA,CAAMJ,CAAAkD,eAAN,CAAmC,CAI7DjC,OAAQ,CACJkC,MAAO,IAAK,EADR,CAOJrB,eAAgB,QAPZ,CAWJL,SAAU,CAXN,CAJqD,CAAnC,CAkB9B,OAAOlB,EAtIyC,CAAlB,CAuIhCP,CAvIgC,CAwIlCG,EAAA,CAAOI,CAAAT,UAAP,CAA+B,CAC3BsD,SAAU,kBADiB,CAA/B,CAGA1E,EAAA2E,mBAAA,CAAkC,KAAlC,CAAyC9C,CAAzC,CAkBA,GAEA,OAAOA,EA/NgK,CAA3K,CAiOArC,EAAA,CAAgBO,CAAhB,CAA0B,+BAA1B;AAA2D,EAA3D,CAA+D,QAAS,EAAG,EAA3E,CAxOoB,CAbvB;","sources":["mfi.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","_modules","SeriesRegistry","U","sumArray","array","reduce","prev","cur","calculateTypicalPrice","point","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","prototype","create","SMAIndicator","seriesTypes","sma","extend","merge","error","isArray","MFIIndicator","_super","_this","arguments","data","options","points","getValues","MFIIndicator.prototype.getValues","series","params","period","xVal","xData","yVal","yData","yValLen","length","decimals","range","volumeSeries","chart","get","volumeSeriesID","yValVolume","MFI","positiveMoneyFlow","negativeMoneyFlow","newTypicalPrice","oldTypicalPrice","isUp","rawMoneyFlow","volume","push","i","shift","negativeMoneyFlowSum","positiveMoneyFlowSum","moneyFlowRatio","MFIPoint","parseFloat","toFixed","values","defaultOptions","index","nameBase","registerSeriesType"]}