CtrlK
BlogDocsLog inGet started
Tessl Logo

candlestick

Candlestick pattern recognition engine, pure pandas vectorized implementation of 15 classic candlestick patterns (5 single-candle + 5 double-candle + 4 triple-candle + 1 trend confirmation), generating a composite signal from bullish/bearish pattern scores.

64

Quality

76%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./agent/src/skills/candlestick/SKILL.md
SKILL.md
Quality
Evals
Security

Candlestick Pattern Recognition

Purpose

Identifies 15 classic candlestick patterns and generates trading signals:

Single-Candle Patterns (5)

PatternSignalDescription
HammerBullishLong lower shadow with a small body at the top
Inverted HammerBullishLong upper shadow with a small body at the bottom
Shooting StarBearishLong upper shadow with a small body at the bottom (appears after an uptrend)
DojiNeutralOpen and close are nearly equal
Spinning TopNeutralSmall body with roughly equal upper and lower shadows

Double-Candle Patterns (5)

PatternSignal
Bullish EngulfingBullish
Bearish EngulfingBearish
Bullish HaramiBullish
Bearish HaramiBearish
Piercing LineBullish
Dark Cloud CoverBearish

Triple-Candle Patterns (4)

PatternSignal
Morning StarBullish
Evening StarBearish
Three White SoldiersBullish
Three Black CrowsBearish

Signal Logic

Bullish patterns score +1, bearish patterns score -1. Go long when the total score is > 0, go short when it is < 0, and stand aside when it equals 0.

Parameters

ParameterDefaultDescription
body_pct0.1Threshold for body-to-range ratio in a doji
shadow_ratio2.0Ratio of shadow length to body length

Dependencies

pip install pandas numpy requests

Signal Convention

  • 1 = long, -1 = short, 0 = stand aside
Repository
HKUDS/Vibe-Trading
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.