# Market Breadth Strategy AI Agent Connect

> Deterministic quantitative trading signals using market breadth indicators.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ZdKGfjikjUO17c1XVS1keWRiSx3I96v7o5S4luqB/ai-agent-connect
- **Tags:** trading, breadth, quantitative, finance, indicators

## Description

This MCP server provides deterministic quantitative trading signals by analyzing market breadth. It uses the `analyze_breadth_signals` tool to generate BUY, SELL, and HOLD signals based on the interaction between price trends and internal strength. It also includes `calculate_breadth_metrics` for momentum indicators like the McClellan Oscillator and breadth divergence, and `get_breadth_summary` for a high-level snapshot of market health.

## Tools

### analyze_breadth_signals
Generates the primary trading signals (BUY, SELL, HOLD) based on the interaction between price trends and internal breadth strength

### calculate_breadth_metrics
Computes secondary momentum and divergence indicators to support the primary signal logic

### get_breadth_summary
Provides a high-level snapshot of current market health based on the most recent data point

## Prompt Examples

**Prompt:** 
```
What is the current market status and score?
```

**Response:** 
```
The current market status is Expanding with a breadth score of 3.
```

**Prompt:** 
```
Generate a trading signal based on these index prices and ADL values.
```

**Response:** 
```
The signal is BUY with an entry price of 4500.00, a stop-loss at 4275.00, and a take-profit at 4950.00.
```

**Prompt:** 
```
Are there any momentum indicators like divergence or thrust?
```

**Response:** 
```
The current metrics show a McClellan Oscillator of 5.2 and no active breadth divergence.
```

## Frequently Asked Questions

**What determines a BUY signal?**
A BUY signal is generated when the Breadth Score is 3, the index price is above its 50-day moving average, and the McClellan Oscillator is positive.

**How is the Breadth Score calculated?**
The score is the sum of three binary checks: positive ADL slope, new highs exceeding new lows, and over 50% of stocks above their 20-day MA.

**What is a Breadth Thrust?**
A Breadth Thrust is an aggressive bullish signal where the Advance/Decline Line increases by more than 10% over a 10-day period.
