{"id":13606564,"url":"https://github.com/cinar/indicatorts","last_synced_at":"2026-01-12T06:43:54.700Z","repository":{"id":36973978,"uuid":"437656212","full_name":"cinar/indicatorts","owner":"cinar","description":"Indicator TS delivers a rich set of technical analysis indicators, customizable strategies, and a powerful backtesting framework. No dependencies, just pure simplicity. ✨ See how! 👀","archived":false,"fork":false,"pushed_at":"2025-02-26T02:35:36.000Z","size":1037,"stargazers_count":338,"open_issues_count":33,"forks_count":60,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-03T12:02:18.009Z","etag":null,"topics":["bollinger-bands","finance","financial-instruments","indicators","macd","quant","quantative-finance","quantative-trading","stock-analysis","stock-market","technical-analysis","technical-analysis-indicators","technical-analysis-library","trading-algorithms","trading-strategies","yahoo-finance"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["cinar"]}},"created_at":"2021-12-12T21:05:23.000Z","updated_at":"2025-04-02T07:49:38.000Z","dependencies_parsed_at":"2024-01-15T20:46:29.131Z","dependency_job_id":"5c8bc01b-5d1d-4183-b8e8-cab77f85d390","html_url":"https://github.com/cinar/indicatorts","commit_stats":{"total_commits":109,"total_committers":5,"mean_commits":21.8,"dds":0.3669724770642202,"last_synced_commit":"fe0f109d2891d630700d6d55fd32d23c3e9f16c6"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinar%2Findicatorts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinar%2Findicatorts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinar%2Findicatorts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinar%2Findicatorts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinar","download_url":"https://codeload.github.com/cinar/indicatorts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248539872,"owners_count":21121253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bollinger-bands","finance","financial-instruments","indicators","macd","quant","quantative-finance","quantative-trading","stock-analysis","stock-market","technical-analysis","technical-analysis-indicators","technical-analysis-library","trading-algorithms","trading-strategies","yahoo-finance"],"created_at":"2024-08-01T19:01:10.277Z","updated_at":"2026-01-12T06:43:54.694Z","avatar_url":"https://github.com/cinar.png","language":"TypeScript","funding_links":["https://github.com/sponsors/cinar"],"categories":["TypeScript","trading-strategies","JavaScript","Financial Data \u0026 APIs"],"sub_categories":["FrameWorks"],"readme":"[![npm version](https://badge.fury.io/js/indicatorts.svg)](https://badge.fury.io/js/indicatorts)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Build Status](https://github.com/cinar/indicatorts/actions/workflows/ci.yml/badge.svg)](https://github.com/cinar/indicatorts/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/cinar/indicatorts/branch/main/graph/badge.svg?token=302HZICPD0)](https://codecov.io/gh/cinar/indicatorts)\n[![CodeQL Analysis](https://github.com/cinar/indicatorts/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/cinar/indicatorts/actions/workflows/codeql-analysis.yml)\n\n# Indicator TS\n\nIndicator is a TypeScript module providing various stock technical analysis indicators, strategies, and a backtest framework for trading.\n\n_This is a clone of my [Indicator Go](https://github.com/cinar/indicator) Golang module._\n\n## Indicators Provided\n\nThe following list of indicators are currently supported by this package:\n\n### Trend Indicators\n\n- [Absolute Price Oscillator (APO)](src/indicator/trend/README.md#absolute-price-oscillator-apo)\n- [Aroon Indicator](src/indicator/trend/README.md#aroon)\n- [Balance of Power (BOP)](src/indicator/trend/README.md#balance-of-power-bop)\n- [Chande Forecast Oscillator (CFO)](src/indicator/trend/README.md#chande-forecast-oscillator-cfo)\n- [Community Channel Index (CCI)](src/indicator/trend/README.md#community-channel-index-cci)\n- [Double Exponential Moving Average (DEMA)](src/indicator/trend/README.md#double-exponential-moving-average-dema)\n- [Exponential Moving Average (EMA)](src/indicator/trend/README.md#exponential-moving-average-ema)\n- [Mass Index (MI)](src/indicator/trend/README.md#mass-index-mi)\n- [Moving Average Convergence Divergence (MACD)](src/indicator/trend/README.md#moving-average-convergence-divergence-macd)\n- [Moving Max (MMAX)](src/indicator/trend/README.md#moving-max-mmax)\n- [Moving Min (MMIN)](src/indicator/trend/README.md#moving-min-mmin)\n- [Moving Sum (MSUM)](src/indicator/trend/README.md#moving-sum-msum)\n- [Parabolic SAR (PSAR)](src/indicator/trend/README.md#parabolic-sar-psar)\n- [Qstick](src/indicator/trend/README.md#qstick)\n- [Random Index (KDJ)](src/indicator/trend/README.md#random-index-kdj)\n- [Rolling Moving Average (RMA)](src/indicator/trend/README.md#rolling-moving-average-rma)\n- [Simple Moving Average (SMA)](src/indicator/trend/README.md#simple-moving-average-sma)\n- [Since Change](src/indicator/trend/README.md#since-change)\n- [Triple Exponential Moving Average (TEMA)](src/indicator/trend/README.md#triple-exponential-moving-average-tema)\n- [Triangular Moving Average (TRIMA)](src/indicator/trend/README.md#triangular-moving-average-trima)\n- [Triple Exponential Average (TRIX)](src/indicator/trend/README.md#triple-exponential-average-trix)\n- [Typical Price](src/indicator/trend/README.md#typical-price)\n- [Volume Weighted Moving Average (VWMA)](src/indicator/trend/README.md#volume-weighted-moving-average-vwma)\n- [Vortex Indicator](src/indicator/trend/README.md#vortex-indicator)\n\n### Momentum Indicators\n\n- [Awesome Oscillator (AO)](src/indicator/momentum/README.md#awesome-oscillator-ao)\n- [Chaikin Oscillator (CMO)](src/indicator/momentum/README.md#chaikin-oscillator-cmo)\n- [Ichimoku Cloud](src/indicator/momentum/README.md#ichimoku-cloud)\n- [Percentage Price Oscillator (PPO)](src/indicator/momentum/README.md#percentage-price-oscillator-ppo)\n- [Percentage Volume Oscillator (PVO)](src/indicator/momentum/README.md#percentage-volume-oscillator-pvo)\n- [Price Rate of Change (ROC)](src/indicator/momentum/README.md#price-rate-of-change-roc)\n- [Relative Strength Index (RSI)](src/indicator/momentum/README.md#relative-strength-index-rsi)\n- [Stochastic Oscillator (STOCH)](src/indicator/momentum/README.md#stochastic-oscillator-stoch)\n- [Williams R (WILLR)](src/indicator/momentum/README.md#williams-r-willr)\n\n### Volatility Indicators\n\n- [Acceleration Bands (AB)](src/indicator/volatility/README.md#acceleration-bands-ab)\n- [Average True Range (ATR)](src/indicator/volatility/README.md#average-true-range-atr)\n- [Bollinger Bands (BB)](src/indicator/volatility/README.md#bollinger-bands-bb)\n- [Bollinger Band Width (BBW)](src/indicator/volatility/README.md#bollinger-band-width-bbw)\n- [Chandelier Exit (CE)](src/indicator/volatility/README.md#chandelier-exit-ce)\n- [Donchian Channel (DC)](src/indicator/volatility/README.md#donchian-channel-dc)\n- [Keltner Channel (KC)](src/indicator/volatility/README.md#keltner-channel-kc)\n- [Moving Standard Deviation (MSTD)](src/indicator/volatility/README.md#moving-standard-deviation-mstd)\n- [Projection Oscillator (PO)](src/indicator/volatility/README.md#projection-oscillator-po)\n- [True Range (TR)](src/indicator/volatility/README.md#true-range-tr)\n- [Ulcer Index (UI)](src/indicator/volatility/README.md#ulcer-index-ui)\n\n### Volume Indicators\n\n- [Accumulation/Distribution (AD)](src/indicator/volume/README.md#accumulationdistribution-ad)\n- [Chaikin Money Flow (CMF)](src/indicator/volume/README.md#chaikin-money-flow-cmf)\n- [Ease of Movement (EMV)](src/indicator/volume/README.md#ease-of-movement-emv)\n- [Force Index (FI)](src/indicator/volume/README.md#force-index-fi)\n- [Money Flow Index (MFI)](src/indicator/volume/README.md#money-flow-index-mfi)\n- [Negative Volume Index (NVI)](src/indicator/volume/README.md#negative-volume-index-nvi)\n- [On-Balance Volume (OBV)](src/indicator/volume/README.md#on-balance-volume-obv)\n- [Volume Price Trend (VPT)](src/indicator/volume/README.md#volume-price-trend-vpt)\n- [Volume Weighted Average Price (VWAP)](src/indicator/volume/README.md#volume-weighted-average-price-vwap)\n\n## Strategies Provided\n\nStrategies relies on the following:\n\n- [Asset](src/strategy/README.md#asset)\n  - [New Asset with Length](src/strategy/README.md#new-asset-with-length)\n  - [Concat Assets](src/strategy/README.md#concat-assets)\n- [Action](src/strategy/README.md#action)\n  - [Reverse Actions](src/strategy/README.md#reverse-actions)\n  - [Apply Actions](src/strategy/README.md#apply-actions)\n- [Strategy Function](src/strategy/README.md#strategy-function)\n- [Buy and Hold Strategy](src/strategy/README.md#buy-and-hold-strategy)\n\nThe following list of strategies are currently supported by this package:\n\n### Trend Strategies\n\n- [Absolute Price Oscillator Strategy](src/strategy/trend/README.md#absolute-price-oscillator-strategy)\n- [Aroon Strategy](src/strategy/trend/README.md#aroon-strategy)\n- [Balance of Power Strategy](src/strategy/trend/README.md#balance-of-power-strategy)\n- [Chande Forecast Oscillator Strategy](src/strategy/trend/README.md#chande-forecast-oscillator-strategy)\n- [KDJ Strategy](src/strategy/trend/README.md#kdj-strategy)\n- [MACD Strategy](src/strategy/trend/README.md#macd-strategy)\n- [Parabolic SAR Strategy](src/strategy/trend/README.md#parabolic-sar-strategy)\n- [Typical Price Strategy](src/strategy/trend/README.md#typical-price-strategy)\n- [Volume Weighted Moving Average (VWMA) Strategy](src/strategy/trend/README.md#volume-weighted-moving-average-vwma-strategy)\n- [Vortex Strategy](src/strategy/trend/README.md#vortex-strategy)\n\n### Momentum Strategies\n\n- [Awesome Oscillator Strategy](src/strategy/momentum/README.md#awesome-oscillator-strategy)\n- [Ichimoku Cloud Strategy](src/strategy/momentum/README.md#ichimoku-cloud-strategy)\n- [RSI 2 Stategy](src/strategy/momentum/README.md#rsi-2-strategy)\n- [Stochastic Oscillator Strategy](src/strategy/momentum/README.md#stochastic-oscillator-strategy)\n- [Williams R Strategy](src/strategy/momentum/README.md#williams-r-strategy)\n\n### Volatility Strategies\n\n- [Acceleration Bands Strategy](src/strategy/volatility/README.md#acceleration-bands-strategy)\n- [Bollinger Bands Strategy](src/strategy/volatility/README.md#bollinger-bands-strategy)\n- [Projection Oscillator Strategy](src/strategy/volatility/README.md#projection-oscillator-strategy)\n\n### Volume Strategies\n\n- [Chaikin Money Flow Strategy](src/strategy/volume/README.md#chaikin-money-flow-strategy)\n- [Ease of Movement Strategy](src/strategy/volume/README.md#ease-of-movement-strategy)\n- [Force Index Strategy](src/strategy/volume/README.md#force-index-strategy)\n- [Money Flow Index Strategy](src/strategy/volume/README.md#money-flow-index-strategy)\n- [Negative Volume Index Strategy](src/strategy/volume/README.md#negative-volume-index-strategy)\n- [Volume Weighted Average Price Strategy](src/strategy/volume/README.md#volume-weighted-average-price-strategy)\n\n## Backtest\n\nBacktesting is the method for seeing how well a strategy would have done. The following backtesting functions are provided for evaluating strategies.\n\n- [Strategy Info](src/backtest/README.md#strategy-info)\n- [Strategy Result](src/backtest/README.md#strategy-result)\n- [Backtest Function](src/backtest/README.md#backtest-function)\n- [Company Info](src/backtest/README.md#company-info)\n- [Company Result](src/backtest/README.md#company-result)\n- [Strategy Stats](src/backtest/README.md#strategy-stats)\n  - [Compute Strategy Stats](src/backtest/README.md#compute-strategy-stats)\n\n## Chart\n\nChart provides an easy way to plot the outcome of the indicators and the strategies.\n\n- [Chart Initialization](src/chart/README.md#chart-initialization)\n- [Data Set](src/chart/README.md#data-set)\n- [Add Data](src/chart/README.md#add-data)\n- [Remove Data](src/chart/README.md#remove-data)\n- [Draw Chart](src/chart/README.md#draw-chart)\n\n## Build\n\nThe project can be build from its source through the build command.\n\n```bash\nnpm run build\n```\n\n## Usage\n\nInstall package.\n\n```bash\nnpm install indicatorts\n```\n\nImport indicator.\n\n```TypeScript\nimport { ao } from 'indicatorts';\n\nconst highs = [10, 20, 30, 40];\nconst lows = [1, 2, 3, 4];\n\n// Awesome Oscillator!\nconst result = ao(highs, lows);\n```\n\n## Disclaimer\n\nThe information provided on this project is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.\n\n## License\n\nCopyright (c) 2022 Onur Cinar. All Rights Reserved.\n\nThe source code is provided under MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinar%2Findicatorts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinar%2Findicatorts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinar%2Findicatorts/lists"}