Skip to content

Describe every TA-Lib C flag in the abstract API - #778

Merged
mario4tier merged 1 commit into
devfrom
abstract-flags
Oct 23, 2026
Merged

mario4tier merged 1 commit into
devfrom
abstract-flags

Conversation

@mario4tier

Copy link
Copy Markdown
Member

output_flags and function_flags now describe every flag TA-Lib C sets. Refs #126.

  • Output bit 128 described a strength range that C no longer has; it is now level 200, on the bar that confirms an earlier pattern.
  • Output bits 0x4000 (display shift) and 0x8000 (weak pattern, level 80), and function bits 0x2, 0x4 and 0x8, were silently dropped: output_flags could not tell that CDLENGULFING writes +/-80.

These bits are newer than C 0.8.1, so the new test skips there. Against C dev 2d28209b9 (0.8.3): 1712 passed, 1 skipped (free-threaded only); the new test fails without the _abstract.pxi hunk.

Output bit 128 is now a confirmation level (+/-200 on the bar that confirms
an earlier pattern), not the old strength range. Output bits 0x4000 (display
shift) and 0x8000 (weak pattern, +/-80) and function bits 0x2, 0x4 and 0x8
were dropped: output_flags could not tell that CDLENGULFING writes +/-80.

Refs #126
@mrjbq7

mrjbq7 commented Oct 23, 2026

Copy link
Copy Markdown
Member

👍

@mario4tier
mario4tier merged commit 2b1c8c8 into dev Oct 23, 2026
7 checks passed
@mario4tier
mario4tier deleted the abstract-flags branch October 23, 2026 16:02
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.

2 participants