{"id":25865054,"url":"https://github.com/g-gundam/technicalindicatorcharts.jl","last_synced_at":"2025-03-02T01:33:00.861Z","repository":{"id":248554835,"uuid":"828604184","full_name":"g-gundam/TechnicalIndicatorCharts.jl","owner":"g-gundam","description":"Visualize OnlineTechnicalIndicators.jl using LightweightCharts.jl.","archived":false,"fork":false,"pushed_at":"2025-02-05T23:38:40.000Z","size":918,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T00:27:30.536Z","etag":null,"topics":["julia","technical-analysis","visualization"],"latest_commit_sha":null,"homepage":"https://g-gundam.github.io/TechnicalIndicatorCharts.jl/dev/","language":"Julia","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/g-gundam.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-14T16:38:27.000Z","updated_at":"2025-02-05T23:35:09.000Z","dependencies_parsed_at":"2024-07-15T19:11:50.602Z","dependency_job_id":"5de8be25-e107-438f-a624-42de80627b20","html_url":"https://github.com/g-gundam/TechnicalIndicatorCharts.jl","commit_stats":null,"previous_names":["g-gundam/technicalindicatorcharts.jl"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-gundam%2FTechnicalIndicatorCharts.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-gundam%2FTechnicalIndicatorCharts.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-gundam%2FTechnicalIndicatorCharts.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-gundam%2FTechnicalIndicatorCharts.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-gundam","download_url":"https://codeload.github.com/g-gundam/TechnicalIndicatorCharts.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447463,"owners_count":19964314,"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":["julia","technical-analysis","visualization"],"created_at":"2025-03-02T01:32:34.069Z","updated_at":"2025-03-02T01:33:00.829Z","avatar_url":"https://github.com/g-gundam.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TechnicalIndicatorCharts\n\n[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://g-gundam.github.io/TechnicalIndicatorCharts.jl/dev/)\n[![Build Status](https://github.com/g-gundam/TechnicalIndicatorCharts.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/g-gundam/TechnicalIndicatorCharts.jl/actions/workflows/CI.yml?query=branch%3Amain)\n[![Coverage](https://codecov.io/gh/g-gundam/TechnicalIndicatorCharts.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/g-gundam/TechnicalIndicatorCharts.jl)\n\nVisualize\n[OnlineTechnicalIndicators.jl](https://github.com/femtotrader/OnlineTechnicalIndicators.jl) using\n[LightweightCharts.jl](https://github.com/bhftbootcamp/LightweightCharts.jl).\n\n## Creating a Chart\n\n```julia\nusing OnlineTechnicalIndicators\nusing TechnicalIndicatorCharts\n\ngolden_cross_chart = Chart(\n    \"AAPL\", Week(1);\n    indicators = [\n        SMA{Float64}(;period=50),         # Setup indicators\n        SMA{Float64}(;period=200)\n    ],\n    visuals = [\n        Dict(\n            :label_name =\u003e \"SMA 50\",      # Describe how to draw indicators\n            :line_color =\u003e \"#E072A4\",\n            :line_width =\u003e 2\n        ),\n        Dict(\n            :label_name =\u003e \"SMA 200\",\n            :line_color =\u003e \"#3D3B8E\",\n            :line_width =\u003e 5\n        )\n    ]\n)\n```\n\n## Feeding Your Chart Data\n\nAdding new data to the chart is done with the `update!(chart, candle)` function.\n\n```julia\nusing MarketData\n\nfor row in eachrow(AAPL)\n    c = Candle(\n        ts=DateTime(row.timestamp),\n        o=row.Open,\n        h=row.High,\n        l=row.Low,\n        c=row.Close,\n        v=row.Volume\n    )\n    update!(golden_cross_chart, c)\nend\n```\n\nNotice that `update!` took daily candles from `AAPL` and aggregated them into weekly candles.\n\n\u003e The `update!` function was designed to consume low timeframe candles to incrementally build higher timeframe charts.  Imagine unfinished 1m candles from a websocket being consumed to generate multiple higher-timeframe charts for the same market.  The hope was that this would facilitate realtime, multi-timeframe analysis.\n\n## Visualization\n\nThe `visualize` function will take a chart and generate something that `lwc_show` from [LightweightCharts.jl](https://github.com/bhftbootcamp/LightweightCharts.jl) can display.\n\n```julia\nusing LightweightCharts\n\nlwc_show(visualize(golden_cross_chart))\n# Or\ngolden_cross_chart |\u003e visualize |\u003e lwc_show\n```\n\n![aapl](https://raw.githubusercontent.com/g-gundam/TechnicalIndicatorCharts.jl/refs/heads/main/lwc_show.png)\n\n## Supported Indicators\n\n- [ ] AccuDist\n- [ ] ADX\n- [x] [ALMA](https://www.tradingview.com/support/solutions/43000594683-arnaud-legoux-moving-average/)\n- [ ] AO\n- [ ] Aroon\n- [x] [ATR](https://www.tradingview.com/support/solutions/43000501823-average-true-range-atr/)\n- [x] [BB](https://www.tradingview.com/support/solutions/43000501840-bollinger-bands-bb/)\n- [ ] BOP\n- [ ] CCI\n- [ ] ChaikinOsc\n- [ ] ChandeKrollStop\n- [ ] CHOP\n- [ ] CoppockCurve\n- [x] [DEMA](https://www.tradingview.com/support/solutions/43000589132-double-exponential-moving-average-ema/)\n- [ ] DonchianChannels\n- [ ] DPO\n- [x] [EMA](https://www.tradingview.com/support/solutions/43000592270-exponential-moving-average/)\n- [ ] EMV\n- [ ] ForceIndex\n- [x] [HMA](https://www.tradingview.com/support/solutions/43000589149-hull-moving-average/)\n- [ ] KAMA\n- [x] [KeltnerChannels](https://www.tradingview.com/support/solutions/43000502266-keltner-channels-kc/)\n- [ ] KST\n- [ ] KVO\n- [ ] MACD\n- [ ] MassIndex\n- [x] [McGinleyDynamic](https://www.tradingview.com/support/solutions/43000589175-mcginley-dynamic/)\n- [ ] MeanDev\n- [x] [OBV](https://www.tradingview.com/support/solutions/43000502593-on-balance-volume-obv/)\n- [ ] ParabolicSAR\n- [ ] PivotsHL\n- [ ] ROC\n- [x] [RSI](https://www.tradingview.com/support/solutions/43000502338-relative-strength-index-rsi/)\n- [ ] SFX\n- [x] [SMA](https://www.tradingview.com/support/solutions/43000696841-simple-moving-average/)\n- [x] [SMMA](https://www.tradingview.com/support/solutions/43000591343-smoothed-moving-average/)\n- [ ] SOBV\n- [ ] STC\n- [ ] StdDev\n- [ ] Stoch\n- [x] [StochRSI](https://www.tradingview.com/support/solutions/43000502333-stochastic-rsi-stoch-rsi/)\n- [ ] SuperTrend\n- [ ] T3\n- [ ] TEMA\n- [ ] TRIX\n- [ ] TrueRange\n- [x] [TSI](https://www.tradingview.com/support/solutions/43000592290-true-strength-index/)\n- [ ] TTM\n- [ ] UO\n- [ ] VTX\n- [ ] VWAP\n- [ ] VWMA\n- [x] [WMA](https://www.tradingview.com/support/solutions/43000594680-weighted-moving-average/)\n- [ ] ZLEMA\n\nSee Also:  [Indicators support - OnlineTechnicalIndicators.jl](https://femtotrader.github.io/OnlineTechnicalIndicators.jl/dev/indicators_support/)\n\nHelp Wanted:  [Visualization Function Writers](https://g-gundam.github.io/TechnicalIndicatorCharts.jl/dev/indicators/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-gundam%2Ftechnicalindicatorcharts.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-gundam%2Ftechnicalindicatorcharts.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-gundam%2Ftechnicalindicatorcharts.jl/lists"}