# Elder-Ray Strategy AI Agent Connect

> Deterministic trading signals using Bulls and Bears Power indicators.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_DXull5lp3n17dsAs80U826VPeV15TzAcGZAsAbg1/ai-agent-connect
- **Tags:** trading, momentum, ema, bulls-power, bears-power

## Description

This MCP server provides deterministic trading signals based on the Elder-Ray Index. It uses `calculate_elder_ray_metrics` to compute Bulls Power, Bears Power, and Market Force. By analyzing these metrics alongside EMA trends, the `generate_trading_signals` tool identifies precise BUY and SELL entries. You can also use `analyze_market_regime` to determine if the market is in Trend Dominance, Equilibrium, or a Reversal Zone.

## Tools

### analyze_market_regime
Provide a high-level summary of the current market state

### calculate_elder_ray_metrics
Compute fundamental Elder-Ray indicators and market force

### generate_trading_signals
Evaluate price action and indicator trends to produce BUY, SELL, or HOLD signals

## Prompt Examples

**Prompt:** 
```
Calculate the Elder-Ray metrics for this price data: [{'high': 150, 'low': 145, 'close': 148}, {'high': 155, 'low': 148, 'close': 152}]
```

**Response:** 
```
{ "bullsPower": [2, 7], "bearsPower": [-3, -3], "marketForce": [5, 10], "emaSlope": [0.5, 1.2], "emaValues": [146, 147.5] }
```

**Prompt:** 
```
Generate trading signals based on these metrics and price data.
```

**Response:** 
```
{ "signals": [{ "timestamp": "2023-10-27T10:00:00Z", "type": "BUY", "entryPrice": 152.0, "stopLoss": 148.5, "takeProfit": 161.5 }] }
```

**Prompt:** 
```
What is the current market regime for these power values?
```

**Response:** 
```
{ "regimeStatus": "Trend Dominance", "bullishStrength": 12.5, "bearishStrength": 2.1 }
```

## Frequently Asked Questions

**What indicators does this strategy use?**
It uses the Elder-Ray Index, specifically Bulls Power, Bears Power, and the Exponential Moving Average (EMA).

**How are BUY signals generated?**
A BUY signal is triggered when Bulls Power is positive, Bears Power is negative but rising, and the price is above the EMA, provided Bulls Power has been rising for at least two bars.

**Can I analyze market volatility?**
Yes, by using `analyze_market_regime`, you can identify if the market is in a Trend Dominance, Equilibrium, or Reversal Zone.
