{"id":18486299,"url":"https://github.com/maxgfr/supertrend","last_synced_at":"2025-06-21T23:03:36.697Z","repository":{"id":64153298,"uuid":"573780381","full_name":"maxgfr/supertrend","owner":"maxgfr","description":"Implementation of supertrend indicator","archived":false,"fork":false,"pushed_at":"2025-06-21T11:24:17.000Z","size":1629,"stargazers_count":3,"open_issues_count":11,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T12:27:31.959Z","etag":null,"topics":["algorithm","javascript","node","supertrend","technical-indicators","technicalindicators","trading","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/supertrend","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/maxgfr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null}},"created_at":"2022-12-03T12:12:43.000Z","updated_at":"2025-06-21T11:23:42.000Z","dependencies_parsed_at":"2023-02-18T19:15:31.520Z","dependency_job_id":"f96ea5dd-8993-4749-9112-74170863c3eb","html_url":"https://github.com/maxgfr/supertrend","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"5159facd15dc544cb8739b74b36686c737cfbe27"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/maxgfr/supertrend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Fsupertrend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Fsupertrend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Fsupertrend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Fsupertrend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxgfr","download_url":"https://codeload.github.com/maxgfr/supertrend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Fsupertrend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261125619,"owners_count":23113275,"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":["algorithm","javascript","node","supertrend","technical-indicators","technicalindicators","trading","typescript"],"created_at":"2024-11-06T12:48:55.447Z","updated_at":"2025-06-21T23:03:31.677Z","avatar_url":"https://github.com/maxgfr.png","language":"TypeScript","readme":"# supertrend\n\nThe Super Trend indicator, is a trending indicator that can be used to identify if the price is in an upward or downward trend. If the price is above the line then it acts as a point of support, and if below the line it acts as a point of resistance. The indicator is based on the ATR indicator, and is used to identify the trend direction and strength.\n\n## Installation\n\n```bash\nyarn add supertrend\n```\n\n## Usage\n\n```typescript\nimport { supertrend } from 'supertrend';\n\nsupertrend({\n  initialArray: [\n    {\"high\":4035,\"low\":3893.77,\"close\":4020.99},\n    ...\n    {\"high\":5000,\"low\":4900.77,\"close\":4950.99},\n  ],\n  multiplier: 3,\n  period: 10,\n})\n// =\u003e [ 0, 4670.9619, 2000 ]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgfr%2Fsupertrend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxgfr%2Fsupertrend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgfr%2Fsupertrend/lists"}