Batch by design
Many symbols — and several intervals — go in a single request, which keeps a watchlist screen to one network round-trip.
Case study · Open source
An unofficial TradingView technical-analysis client for Dart and Flutter: indicators, buy/sell recommendations and support/resistance levels for many symbols and intervals in one request.
tradingview_ta01Problem
Python has a popular client for TradingView's technical-analysis data; Dart and Flutter apps had none. I wrote a Dart take on it so a Flutter trading app can show the same indicators and recommendations users see on TradingView.
02My role
I created the package in June 2023 and maintain it on pub.dev.
03How it works
A TradingViewModel names the screener (crypto, forex, a stock market…), the symbols with their exchange, and the interval. The client sends one Dio POST to TradingView's public scanner endpoint and maps the 91 returned columns into typed results per symbol.
$ dart pub add tradingview_ta # Dart final ta = TradingViewTA(tradingView: TradingViewModel( screener: "crypto", symbols: ["BINANCE:BTCUSDT", "BINANCE:ETHUSDT"], interval: Intervals.INTERVAL_1_HOUR)); final levels = await ta.getSupportAndResistant();
04Key technical decisions
Many symbols — and several intervals — go in a single request, which keeps a watchlist screen to one network round-trip.
Support and resistance (S3–R3) average the Classic, Fibonacci, Camarilla and Woodie monthly pivots instead of trusting one method.
05Hard parts solved
getSupportAndResistant() summed the four pivot methods instead of averaging them. 2.1.0 averages them null-safely and handles integer pivot values.
Results no longer carry raw suffixes like |2h; the multi-frame method became typed, while the existing Intervals names were kept.
06Outcome
Version 2.1.0 moved to Dart 3, added documentation, offline tests and CI, and was run live against TradingView for BTC and ETH before release.
10 versions in June–July 2023, then 2.1.0. Source: pub.dev API.
07Stack & links
Not affiliated with TradingView. Nothing here is financial advice.
© 2026 Abd Alftah Salem · Back to portfolio