# Gap Fill Strategy AI Agent Connect

> Identify and trade mean-reversion opportunities using deterministic gap fill logic.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_HRsvTLRJltiNnPM4JRz9NoC6WE0Z1etpcxTEk5So/ai-agent-connect
- **Tags:** mean-reversion, gap-fill, trading-strategy, ohlc, volatility

## Description

This MCP server provides a deterministic mean-reversion trading strategy focused on price gaps. It identifies valid gap-up and gap-down opportunities by filtering for volatility and size, ensuring trades avoid exhaustion gaps. Use `analyze_gap_opportunities` to scan historical OHLC and ATR data, `calculate_trade_signals` to determine precise entry, stop-loss, and take-profit levels based on intra-day movement, and `track_gap_status` to monitor the progress of a gap fill over time.

## Tools

### track_gap_status
Monitors the status of an active or recent gap to measure how effectively the gap is being filled

### analyze_gap_opportunities
Evaluates historical price data to identify valid gap-up or gap-down opportunities

### calculate_trade_signals
Determines if a specific gap presents a valid entry signal based on intra-day price movement

## Prompt Examples

**Prompt:** 
```
Analyze these OHLC and ATR values for gap opportunities.
```

**Response:** 
```
I have identified a valid gap-down opportunity with a size of 1.5% and no exhaustion risk.
```

**Prompt:** 
```
Calculate the trade signal for this specific gap.
```

**Response:** 
```
A BUY signal is generated with an entry price of 150.00, a stop-loss at 147.00, and a take-profit at 155.00.
```

**Prompt:** 
```
How much progress has been made on the current gap fill?
```

**Response:** 
```
The gap is currently 45% filled and has taken 3 trading days to reach this level.
```

## Frequently Asked Questions

**How does the strategy identify a valid gap?**
A gap is valid if it is at least 1% from the previous close, less than 5% in total size, and not an exhaustion gap (less than 3x ATR).

**What tools are available in this MCP?**
The server provides `analyze_gap_opportunities` for scanning, `calculate_trade_signals` for entry logic, and `track_gap_status` for monitoring progress.

**How is the take-profit level determined?**
The take-profit is set at the previous day's closing price, representing a full gap fill.
