{"id":13563930,"url":"https://github.com/thisiscetin/indicado","last_synced_at":"2025-09-02T01:37:24.844Z","repository":{"id":44148900,"uuid":"378489305","full_name":"thisiscetin/indicado","owner":"thisiscetin","description":"Technical indicator library for Elixir with no dependencies.","archived":false,"fork":false,"pushed_at":"2022-10-20T05:19:53.000Z","size":84,"stargazers_count":39,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-23T17:24:21.407Z","etag":null,"topics":["cryptocurrency","elixir","indicator","phoenix","technical-analysis"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thisiscetin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-19T19:23:42.000Z","updated_at":"2025-02-25T01:58:09.000Z","dependencies_parsed_at":"2022-07-16T02:17:56.911Z","dependency_job_id":null,"html_url":"https://github.com/thisiscetin/indicado","commit_stats":null,"previous_names":["c7n0/indicado","thisiscetin/indicado"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/thisiscetin/indicado","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisiscetin%2Findicado","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisiscetin%2Findicado/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisiscetin%2Findicado/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisiscetin%2Findicado/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisiscetin","download_url":"https://codeload.github.com/thisiscetin/indicado/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisiscetin%2Findicado/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273218420,"owners_count":25065913,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cryptocurrency","elixir","indicator","phoenix","technical-analysis"],"created_at":"2024-08-01T13:01:24.668Z","updated_at":"2025-09-02T01:37:24.817Z","avatar_url":"https://github.com/thisiscetin.png","language":"Elixir","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"## Indicado 🚀🌕\n\n\u003cp\u003e\n  \u003ca href=\"https://hex.pm/packages/indicado\"\u003e\n    \u003cimg alt=\"Hex Version\" src=\"https://img.shields.io/hexpm/v/indicado.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://hexdocs.pm/indicado\"\u003e\n    \u003cimg alt=\"Hex Docs\" src=\"http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat\"\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://github.com/thisiscetin/indicado/actions\"\u003e\n    \u003cimg alt=\"CI Status\" src=\"https://github.com/thisiscetin/indicado/workflows/ci/badge.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\n    \u003cimg alt=\"Apache 2 License\" src=\"https://img.shields.io/hexpm/l/oban\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[Technical indicator](https://www.investopedia.com/terms/t/technicalindicator.asp) library for Elixir with no dependencies. Indicado helps you analyze historical data to generate future price movement predictions on numerical datasets. Many traders and automated trading platforms use technical analysis because past actions may indicate future prices. Indicado might also be used outside financial markets if data hold patterns and not random.\n\n## What can you do with this library ❔\n\nThis library can be used as an add-on to [Kamil Skorwon's](https://twitter.com/kamilskowron) great project [Hands-on Elixir \u0026 OTP: Cryptocurrency trading bot](https://www.elixircryptobot.com), at some point. So, you can create sophisticated trading strategies that may better fit your risk appetite. You can also use this library for your custom solutions around automated trading/testing/strategy building.\n\nIn the future, in addition to supporting the community, [I](https://twitter.com/thisiscetin) plan to release more open source tools around strategy building, backtesting, and numerical analysis.\n\n\n## Table of Contents 📋\n- [Indicado](#indicado-)\n- [What can you do with this library](#what-can-you-do-with-this-library-)\n- [Table of Contents](#table-of-contents-)\n- [Supported Indicators](#supported-indicators-)\n- [Installation](#installation-)\n- [Usage](#usage-️)\n- [Contributing](#contributing-)\n\n## Supported Indicators 📈\nIndicators below are supported. New indicators being added regularly.\n- Accumulation/Distribution Line ([ADI](https://www.investopedia.com/terms/a/accumulationdistribution.asp))\n- Bollinger Bands ([BB](https://www.investopedia.com/terms/b/bollingerbands.asp))\n- Exponential Moving Average ([EMA](https://www.investopedia.com/terms/e/ema.asp))\n- Money Flow Index ([MFI](https://www.investopedia.com/terms/m/mfi.asp))\n- Moving Average Convergence Divergence ([MACD](https://www.investopedia.com/terms/m/macd.asp))\n- On-Balance Volume ([OBV](https://www.investopedia.com/terms/o/onbalancevolume.asp))\n- Relative Strength Index ([RSI](https://www.investopedia.com/terms/r/rsi.asp))\n- Simple Moving Average ([SMA](https://www.investopedia.com/terms/s/sma.asp))\n- Stochastic Oscillator ([SR](https://www.investopedia.com/terms/s/stochasticoscillator.asp))\n- Williams %R ([WR](https://www.investopedia.com/terms/w/williamsr.asp))\n\nHelper math functions such as mean, stddev, variance is accessible through `Indicado.Math` module.\n\n## Installation 💻\n\nIndicado published to [Hex](https://hex.pm/packages/indicado). Just add it to your dependencies in `mix.exs`.\n\n```elixir\ndef deps do\n  [\n    {:indicado, \"~\u003e 0.0.4\"}\n  ]\nend\n```\nThen run `mix deps.get` to install indicado.\n\n## Usage 🛠️\n\nIndicado provides two functions on the public API of indicators. Namely `eval` and `eval!` function.\n- `eval` function calls return `{:ok, result}` or `{:error, reason}`.\n- `eval!` functions return a single result list or raises exceptions such as `NotEnoughDataError`.\n\nBecause every other indicator may expect different arguments, I recommend you check [online documentation on hexdocs](https://hexdocs.pm/indicado/Indicado.html) before using the indicado. For demonstration purposes how you can calculate a two day Simple Moving Average is shown below.\n\n```elixir\n  iex(2)\u003e Indicado.SMA.eval([1, 3, 5, 7], 2)\n  {:ok, [2.0, 4.0, 6.0]}\n```\n\n## Contributing 🧵\n\nPlease follow standard convention such as `eval` and `eval!` functions defined for all indicators inside `lib` folder.\nRest is easy;\n\n- Fork it!\n- Create your feature branch (git checkout -b my-new-feature)\n- Commit your changes (git commit -am 'Add some feature')\n- Push to the branch (git push origin my-new-feature)\n- Create new Pull Request\n\nTo ensure a commit passes CI run `mix test.ci` before opening a pull request to execute commands below.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisiscetin%2Findicado","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisiscetin%2Findicado","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisiscetin%2Findicado/lists"}