Skip to content

CDLTRISTAR

Summary

A three-candle pattern of three consecutive doji where the middle doji is a star (its body gaps away from the first). Bullish or bearish reversal signal. +100 = bullish reversal (middle doji gapped down), -100 = bearish reversal (middle doji gapped up).

Notes

  • This reversal pattern does not verify the prior trend it classically assumes.

Inputs

  • inPriceOHLC — Open, High, Low, Close price series

Outputs

  • outInteger — +100 (bullish, star gapped down), -100 (bearish, star gapped up), or 0 when no pattern. Both signs are emitted

Implementation

TA-Lib Definition: cdltristar.c · cdltristar.yaml

Native File
C ta_CDLTRISTAR.c
Rust cdltristar.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Tristar Pattern, Tri-Star

See Also

CDLDOJI · CDLDOJISTAR · CDLMORNINGDOJISTAR · CDLEVENINGDOJISTAR