detect_patterns
Identify candlestick patterns on recent bars, including doji, engulfing, harami, stars, and more. Returns each pattern's bias (bullish/bearish/neutral) and bars_ago for trade signals.
Instructions
Detect candlestick patterns on the most recent lookback candles.
Recognizes doji (incl. dragonfly/gravestone), hammer/hanging man,
inverted hammer/shooting star, marubozu, spinning top, bullish/bearish
engulfing & harami, piercing line, dark cloud cover, tweezers, morning/
evening star, and three white soldiers/black crows. Each result carries
its conventional bias (bullish/bearish/neutral) and bars_ago.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| exchange | No | ||
| lookback | No | ||
| timeframe | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||