ta library
Technical analysis only — Ta and its result types, without the chart.
package:swm_chart/swm_chart.dart exports these too.
Classes
- AdxResult
- AroonResult
- AtrResult
- AutoTrendline
- An automatically drawn trend line through two swing points — a/b are bar indices, pa/pb the prices there. Extends to the right.
- BollingerResult
- CandlePatternMatch
- A classic candlestick pattern completing on bar index.
- ChartPatternMatch
- Divergence
- A divergence between two swing points (bar indices into the series it was found on).
- DonchianChannelResult
- ElliottCount
- A possible Elliott count: the latest five-wave move on the ZigZag swings that passes the hard rules, plus the A-B-C after it so far. start is where wave 1 begins.
- ElliottPoint
- One labeled point of an Elliott wave count ('1'…'5', 'A'…'C').
- FibonacciLevel
- FibonacciResult
- IchimokuResult
- KeltnerChannelResult
- MacdResult
- ObvResult
- ParabolicSarPoint
- PivotPointsResult
- RegressionChannelResult
- SessionVolumeProfile
- The volume profile of one session (a trading day, say): the bars it spans, as indices into the input, and its profile.
- SineWaveResult
- Ehlers' Sine Wave: sine and leadSine cross ahead of cycle turns; period is the measured dominant cycle length (bars). In a strong trend the two lines run side by side — no usable cycle.
- StochasticResult
- SupertrendPoint
- SupportResistanceLevel
- Ta
- TaBar
- One OHLCV bar for the technical-analysis functions in Ta.
- TaPoint
- A plain TaBar.
- VolumeBucket
- VolumeProfileResult
- ZigZagResult
- ZigZag swings: line runs straight from swing to swing (a value on every bar, so it slices like any other overlay series) and pivots holds the swing price only on the swing bars. The last swing is still forming and can move as new bars come in.
Functions
-
candlePatternLabel(
CandlePatternType t) → String -
candlePatternTag(
CandlePatternType t) → String - Short on-chart tag for a candle pattern marker.
-
chartPatternBullish(
ChartPatternType t) → bool? - Which way a chart pattern conventionally resolves — drives its color. Symmetrical triangles can break either way.
-
chartPatternLabel(
ChartPatternType t) → String - Display name (technical names stay in English across languages, like indicator names) — also what's handed to the AI pattern explainer.