Skip to content

abstract: describe TA-Lib's bar index, segmented and color pattern output flags - #793

Merged
mario4tier merged 1 commit into
devfrom
pattern-color
Nov 11, 2026
Merged

mario4tier merged 1 commit into
devfrom
pattern-color

Conversation

@mario4tier

Copy link
Copy Markdown
Member

TA-Lib C dev adds TA_OUT_PATTERN_COLOR (0x40000) for a candlestick output whose sign is the candle's color (CDLSPINNINGTOP, CDLHIGHWAVE, CDLSHORTLINE), and drops TA_OUT_LINE from every pattern output (TA-Lib/ta-lib@d6b668f9a5, TA-Lib/ta-lib@db0ac992b4). This describes that bit, and the two from TA-Lib/ta-lib#585 that had none yet (TA_OUT_BAR_INDEX, TA_OUT_SEGMENTED). test_flags_newer_than_0_8_1 expects Line on a pattern output only before C 0.8.4 and pins CDLSPINNINGTOP's color flag.

talib/_ta_lib.c is regenerated with .venv/bin/cython talib/_ta_lib.pyx (Cython 3.3.0, numpy 2.2.0, the numpy that reproduces dev's committed file byte for byte); the diff is Cython renumbering its string table for the three new strings.

…tput flags

TA-Lib 0.8.4 adds TA_OUT_PATTERN_COLOR (0x40000) for a candlestick output
whose sign is the candle's color, and drops the Line hint from every
pattern output. TA_OUT_BAR_INDEX (0x10000) and TA_OUT_SEGMENTED (0x20000)
had no description yet either.
@mario4tier
mario4tier merged commit bf29beb into dev Nov 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant