Skip to content

Commit bf29beb

Browse files
committed
abstract: describe TA-Lib's bar index, segmented and color pattern output 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.
1 parent cb8faca commit bf29beb

3 files changed

Lines changed: 3667 additions & 3645 deletions

File tree

‎talib/_abstract.pxi‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,9 @@ TA_OUTPUT_FLAGS = {
669669
8192: 'Output is optional (nullable)',
670670
16384: 'Output is display-shifted',
671671
32768: 'Weak Pattern (+/-80 = a weaker form of the pattern)',
672+
65536: 'Value is a bar index into the input arrays',
673+
131072: 'Segmented line (never connect across a change of the integer output)',
674+
262144: 'Color Pattern (Black candle < 0, None = 0, White candle > 0)',
672675
}
673676

674677
def _ta_getFuncInfo(char *function_name):

0 commit comments

Comments
 (0)