Tool Open source
TradingChart is a native SwiftUI trading-chart package for iOS, built on Swift Charts. It renders candlestick, line, and area series and supports live updates, scrolling and pinch zoom, crosshair tooltips, paged history, buy and sell markers, theming, localization, and horizontal, trend-line, and ray drawing tools.
Its indicator modules provide SMA, EMA, WMA, Bollinger Bands, Volume, RSI, and MACD overlays or panes, and a ChartIndicator protocol allows custom indicators. The package separates the data model and math into TradingChartCore, indicator calculations into TradingChartIndicators, and the SwiftUI chart view into TradingChart; the main product re-exports the two lower-level modules. ChartPersistence can save styles, indicators, and drawings, while ChartSeries validates and organizes price points or candles by interval.
The chart UI requires iOS 17 or later, while TradingChartCore and TradingChartIndicators support iOS 16. It is distributed as a Swift Package, is licensed under the MIT license, and includes a demo app and unit-tested core modules.
1 use taken from transcripts — each links to the moment in the video.
A native SwiftUI library for iOS trading charts built on Apple's Swift Charts, with candlestick, line and area styles plus SMA, EMA, Bollinger bands, RSI and MACD, and a protocol for writing your own indicators.
1 in the library.