# Golden Cross Strategy Engine AI Agent Connect

> A deterministic trend-following engine for Golden Cross and Death Cross signals.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_urubrjSoD4S2DcDGAenHkbzQYUQ0DdPpINYhd2NF/ai-agent-connect
- **Tags:** trading, moving-average, golden-cross, technical-analysis, risk-management

## Description

This MCP server provides a deterministic execution engine for identifying market trends using moving average crossovers. It identifies Golden Cross and Death Cross events, calculates signal strength, and generates precise trade execution plans including entry prices, stop-loss, and take-profit levels. Use `calculate_cross_signals` to find historical crossovers, `generate_trade_execution` to define risk parameters, and `analyze_strategy_performance` to evaluate historical win rates.

## Tools

### analyze_strategy_performance
Evaluate the historical effectiveness of the strategy based on past signals and trades

### calculate_cross_signals
Identify all historical Golden Cross and Death Cross events within a price series

### generate_trade_execution
Calculate specific entry, exit, and risk parameters for a confirmed signal

## Prompt Examples

**Prompt:** 
```
Find all Golden Cross signals in this price data: [150, 152, 155, 158, 160, 162, 165]
```

**Response:** 
```
The signal was detected at the price point where the fast MA crossed the slow MA.
```

**Prompt:** 
```
Calculate a trade plan for a signal at price 100 with an ATR of 5 and a 3:1 reward-risk ratio.
```

**Response:** 
```
The entry price is 100, the stop-loss is 95, and the take-profit is 115.
```

**Prompt:** 
```
What was the win rate for these 10 signals and 5 trades?
```

**Response:** 
```
The historical win rate for the provided data is 60%.
```

## Frequently Asked Questions

**What is a Golden Cross?**
A Golden Cross occurs when a fast moving average crosses above a slow moving average, signaling a bullish trend.

**How do I calculate my risk parameters?**
You can use the `generate_trade_execution` tool to automatically calculate entry, stop-loss, and take-profit based on ATR and reward-risk ratios.

**Can I use SMA or EMA?**
Yes, the engine supports both Simple Moving Averages (SMA) and Exponential Moving Averages (EMA).
