# Candlestick Pattern Recognizer AI Agent Connect

> Identify single, two, and three-bar candlestick patterns from price data.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_OaMWR75AEk5iffrPssfa9dn6rZDgcLdnuvcNql09/ai-agent-connect
- **Tags:** candlestick, trading, patterns, technical-analysis, finance

## Description

This MCP server provides a deterministic engine for identifying candlestick patterns in financial markets. It analyzes price action through single-bar shapes, two-bar relationships, and complex three-bar sequences. Use `single_bar_patterns` to detect immediate sentiment shifts like Dojis or Hammers, `two_bar_patterns` for reversal patterns like Engulfing, and `three_bar_patterns` for complex sequences like Morning Stars. It returns the pattern name, market direction, and a reliability score.

## Tools

### single_bar_patterns
Identify single-candle candlestick patterns

### three_bar_patterns
Identify complex three-bar candlestick patterns

### two_bar_patterns
Identify two-bar candlestick reversal patterns

## Prompt Examples

**Prompt:** 
```
Identify any single-bar patterns for a candle with open 100, high 105, low 95, and close 100.
```

**Response:** 
```
The identified pattern is Doji.
```

**Prompt:** 
```
Check for two-bar patterns where the current bar is open 110, high 115, low 105, close 112 and the previous bar was open 100, high 102, low 98, close 101.
```

**Response:** 
```
The identified pattern is Bullish Engulfing.
```

**Prompt:** 
```
What three-bar patterns are present for these three bars: bar1={open:10, high:12, low:9, close:11}, bar2={open:11, high:11.5, low:10.5, close:11}, bar3={open:11, high:14, low:11, close:13.5}?
```

**Response:** 
```
The identified pattern is Morning Star.
```

## Frequently Asked Questions

**What patterns can the engine identify?**
The engine identifies single-bar patterns (Doji, Hammer, etc.), two-bar patterns (Engulfing, Piercing Line, etc.), and three-bar patterns (Morning Star, Three White Soldiers, etc.) using `single_bar_patterns`, `two_bar_patterns`, and `three_bar_patterns` tools.

**How is the reliability score determined?**
The reliability score is a deterministic value calculated by the engine based on the mathematical precision of the price relationships defined in the pattern logic.

**Can I use this with Claude Desktop?**
Yes, you can connect this MCP server to Claude Desktop, Cursor, VS Code, or any other MCP-compatible client via Vinkius Edge.
