Latest update

technicalindicators Changelog

psarrsidocumentation

PSAR arrives and RSI edge cases are fixed

Shipped8 commits+1156178
  • Parabolic Stop and Reverse (PSAR) is now availableAdd PSAR to your indicator toolkit for tracking potential trend reversals, with support for full calculations, next-value updates, and TypeScript types.
  • RSI now handles flat and one-sided price moves correctlyRSI results now stay accurate when prices only rise, only fall, or remain unchanged — including returning 100 during steady gains and 0 during steady losses.
  • psarAdded the Parabolic Stop and Reverse (PSAR) indicator to the library.
  • rsiFixed RSI calculations so steady, flat, or one-sided price moves now return valid results.
  • psarExported PSAR from the main package and added TypeScript declarations for its inputs and results.
  • documentationUpdated the README to include PSAR and corrected the Force Index label.
  • packageBumped the package version to 1.0.19.
indicatorstypescript

Wilder Smoothing fix and improved TypeScript types

Shipped3 commits+2622
  • Wilder Smoothing now waits for enough dataEarly indicator values are now left unset until enough data points are available, which makes the output more accurate and easier to interpret.
  • indicatorsFixed Wilder Smoothing so early values stay unset until there is enough data to calculate a result.
  • typescriptAdjusted indicator result typings so they better match the values returned by the library.
  • typescriptUpdated indicator type definitions to include timestamp inputs and improved result typing.
indicatorsdocumentation

v1.0.17 expands indicator exports and updates setup guidance

Shipped4 commits+360105
  • More indicators are available from the main packageYou can now import **CCI**, **Force Index**, and **VWAP** directly from the library's main entry points, making these indicators easier to use.
  • indicatorsAdded exports for `cci`, `forceindex`, and `vwap`, and updated the list of available indicators.
  • indicatorsExpanded Node test coverage to include `cci`.
  • documentationUpdated installation instructions for different Node.js versions and added a note about required canvas-related system packages.
  • documentationMoved contributor setup and testing steps into a dedicated Contribute section and added editor settings for more consistent formatting.
indicatorschartsconfiguration

New indicators, chart types, and precision controls

Shipped32 commits+5682803
  • ADX trend-strength indicator addedYou can now calculate the **Average Directional Index (ADX)**, along with the smoothing method it depends on, to better measure trend strength.
  • More chart types are now availableThis week adds support for **Renko** and **Heikin-Ashi** charts, expanding the ways you can visualize market movement.
  • Custom numeric precision for outputsIndicator values can now be formatted with a configurable number of decimal places, which is especially useful for assets that need more precision.
  • indicatorsAdded the Average Directional Index (ADX) for measuring trend strength.
  • chartsAdded Renko chart support, including fixed-brick and ATR-based brick sizing.
  • chartsAdded Heikin-Ashi chart calculations and exposed them through the main package export.
  • indicatorsAdded the Commodity Channel Index (CCI), VWAP, and Force Index indicators.
  • configurationAdded configurable numeric precision for indicator output.
  • apiAdded `setConfig` and `getConfig` so applications can customize library behavior.
  • apiUpdated ADX results to return the ADX, positive directional index, and negative directional index together.
  • apiUpdated CCI so `nextValue` can accept candle data.
  • apiCandle data and candle lists now include timestamps and volume values.
  • indicatorsImproved true range and moving average calculations for more consistent ADX results.
  • indicatorsFixed several indicators so zero values are handled correctly instead of being treated as missing data.
  • indicatorsFixed KST and ROC so they handle price data more reliably, and removed invalid ROC values from output.
  • chartsFixed Renko brick calculations so they use the correct reference price and track highs, lows, and volume more reliably.
  • documentationImproved setup guidance for older Node.js versions and browser usage, including when `babel-polyfill` is needed.
  • buildAdded a browser playground example to make local testing easier.
  • buildStandardized the Renko file name for consistency and updated build test coverage.
  • documentationUpdated the README with corrected examples for SMA and bullish pattern helpers.
  • documentationAdded ADX, Renko, Heikin-Ashi, and CCI examples to the README and indicator list.
  • documentationAdded guidance for precision configuration and Webpack setup.
  • documentationAdded a donation section and updated several README links and references.
documentation

README examples refreshed for current usage

Shipped2 commits+155
  • Updated getting-started examplesWe refreshed the README examples to match the current lowercase indicator names and function-style usage, including a new `sma` example and an updated bullish pattern call.
  • documentationUpdated the README examples to use the latest lowercase indicator names and function-style calls.
  • documentationAdded a new `sma` example showing how to calculate a simple moving average from a list of prices.
  • documentationUpdated the bullish pattern example to use the current `bullish` call format.
  • documentationAdded a donation section with a Bitcoin address to the README.
nodejsbuildpackage

Improved Node.js support in technicalindicators 1.0.5

Shipped2 commits+594
  • Node.js projects now use the CommonJS build by defaultThe package now ships a Node-friendly entry point by default, while still keeping the browser build available separately.
  • nodejsUpdated the package entry point so Node.js users get the CommonJS build automatically.
  • buildAdded a build step that produces separate browser and Node.js bundles.
browsertypescriptpackaging

technicalindicators improves browser compatibility

Shipped7 commits+1636
  • Better browser support with fewer Node-only dependenciesThe library is now more portable: it no longer depends on Node.js-specific packages, and the browser bundle is packaged to run more reliably on its own.
  • typescriptRemoved Node.js-specific imports and TypeScript settings so the library is more portable.
  • browserUpdated the browser bundle to use an IIFE format for better standalone use in browsers.
browser-build

Version 1.0.2 removes an extra browser dependency

Shipped3 commits+12
  • Browser build no longer needs Babel polyfillThe browser version now loads without the Babel polyfill dependency, making it lighter and easier to use.
  • browser-buildUpdated the browser build so it no longer depends on Babel polyfill.
builddevelopmenttesting

Better build and test setup, plus version 1.0.1 release

Shipped2 commits+61
  • Simplified local development and testingAdded Babel polyfill support and a watch script, making it easier to build and test the project while working on it.
  • buildAdded Babel polyfill support so builds and tests work with a broader set of JavaScript features.
  • developmentAdded a development watch script to automatically rebuild while you work.
  • releaseUpdated the package version to 1.0.1.
packagebrowserdocumentation

Packaging and browser build updates for technicalindicators

Shipped4 commits+12571885
  • Built-in LinkedList support removes an external dependencytechnicalindicators now includes its own LinkedList utilities, so you no longer need to install the separate `linkedlist` package.
  • Browser builds now require a new entry point and `babel-polyfill`The browser bundle was moved to `dist/browser.js` and now depends on `babel-polyfill`, so existing browser imports may need to be updated.
  • packageAdded built-in LinkedList support, removing the need for the external `linkedlist` package.
  • browserSwitched the browser build to Rollup for a cleaner bundled file.
  • packageAdded TypeScript typings for the internal linked list utilities.
  • apiImproved package exports so the library can be imported more reliably with modern JavaScript tooling.
  • apiPackage entry points now use the compiled library files, so custom import paths may need to be reviewed.
  • browserBrowser usage now points to `dist/browser.js` and requires `babel-polyfill` as an external dependency.
  • documentationUpdated the README and browser example to show how to install and include `babel-polyfill`.
  • documentationUpdated the package version to 1.0.0.