Abd Alftah Salem
Hire me
←All case studies

Case study · Open source

dart-tradingview-ta

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.

01Problem

TradingView's technicals, from Dart

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

Creator and maintainer

I created the package in June 2023 and maintain it on pub.dev.

03How it works

One request, many symbols and intervals

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.

Request flow

Request flowTradingViewModelscreener · symbols · intervalDio POSTscanner.tradingview.comgetAnalysis()91 indicatorsMulti-frameintervals at oncePivotsS3 … R3
$ 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

The choices that shaped it

Batch by design

Many symbols — and several intervals — go in a single request, which keeps a watchlist screen to one network round-trip.

Averaged pivot levels

Support and resistance (S3–R3) average the Classic, Fibonacci, Camarilla and Woodie monthly pivots instead of trusting one method.

05Hard parts solved

What made it more than a script

Levels that were 4× too high

getSupportAndResistant() summed the four pivot methods instead of averaging them. 2.1.0 averages them null-safely and handles integer pivot values.

Clean interval labels, no API break

Results no longer carry raw suffixes like |2h; the multi-frame method became typed, while the existing Intervals names were kept.

06Outcome

A maintained Dart client

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.

11releases on pub.dev
160/160pana score on the release branch (was 140)
6GitHub stars (Oct 2026)

Release history on pub.dev

1.0.0Jun 20232.1.0Oct 2026

10 versions in June–July 2023, then 2.1.0. Source: pub.dev API.

07Stack & links

Built with

Not affiliated with TradingView. Nothing here is financial advice.

© 2026 Abd Alftah Salem · Back to portfolio