indicatorscandlesticktypescript
Fibonacci retracement added, with cleaner TypeScript support
Shipped17 commits+8043−3312
- AA
- CA
- New Fibonacci retracement tool — You can now calculate common retracement levels with `fibonacciretracement(start, end)`, making it easier to plot trend retracements.
- TypeScript declarations are easier to use — The package now ships cleaner declaration files and module paths, with clearer types for indicators, candlesticks, and related inputs.
- indicatorsAdded `fibonacciretracement(start, end)` for calculating common Fibonacci retracement levels from a start and end point.
- typescriptMoved generated TypeScript declaration files into a dedicated `declarations/` folder for easier consumption.
- typescriptRemoved unnecessary `.js` extensions from internal module paths for cleaner imports.
- documentationAdded documentation comments to public type definitions to make generated API docs easier to scan.
- typescriptExpanded indicator input types with a new `format` option and an `AllInputs` type for indicators that accept multiple data arrays.
- typescriptUpdated indicator, candlestick pattern, and stock data type definitions to better match the public exports.
- typescriptSome candlestick pattern and indicator classes now use default exports in TypeScript, so import statements may need to be updated.
- documentationFixed README heading spacing and code block formatting so the documentation reads more cleanly.
- documentationAdded a local documentation test page and setup instructions for previewing examples in the browser.