Having trouble getting CCI working in the latest release 10.0.16const CCI = require('technicalindicators').CCI;
TypeError: Cannot read property 'calculate' of undefined
Fixed. It was not added in the index. It should work in latest release. use
const CCI = require('technicalindicators').CCI
or
const cci = require('technicalindicators').cci
Hi, thanks for this awesome library. You rock!
Having trouble getting CCI working in the latest release
10.0.16
const CCI = require('technicalindicators').CCI;
TypeError: Cannot read property 'calculate' of undefinedconst CCI = require('technicalindicators/lib/oscillators/CCI').CCI;
(function (exports, require, module, filename, dirname) { import { Indicator, IndicatorInput } from '../indicator/indicator'; ^^^^^^ SyntaxError: Unexpected token importThanks in advance!!