# TRIX Strategy AI Agent Connect

> Deterministic momentum trading strategy using Triple EMA and signal line analysis.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5XKMJxTpZchdVHcAAMGiGd484E54vazFYMxwkFzr/ai-agent-connect
- **Tags:** momentum, trix, ema, trading-strategy, technical-analysis

## Description

This MCP server provides a deterministic momentum trading strategy based on the Triple Exponential Moving Average (TRIX). It allows AI agents to calculate advanced momentum indicators and generate precise trading signals. Using `calculate_trix_metrics`, agents can derive the TRIX oscillator, signal line, and momentum acceleration. The `generate_trading_signals` tool identifies BUY and SELL entries by analyzing TRIX crossings and histogram trends, while `analyze_signal_performance` evaluates the historical accuracy of these signals against price data.

## Tools

### analyze_signal_performance
Evaluates the historical accuracy and quality of the generated signals

### calculate_trix_metrics
Calculates the raw TRIX oscillator, signal line, and secondary momentum indicators

### generate_trading_signals
Analyzes TRIX metrics to identify specific BUY, SELL, or HOLD entry and exit signals

## Prompt Examples

**Prompt:** 
```
Calculate the TRIX metrics for these closing prices: [150.2, 152.5, 151.8, 153.0, 154.5]
```

**Response:** 
```
The TRIX oscillator value is 0.45, the signal line is 0.32, and the current slope is 0.13.
```

**Prompt:** 
```
Generate trading signals using these TRIX metrics and ATR values.
```

**Response:** 
```
A BUY signal was generated at price 154.5 with a stop-loss at 152.0 and a take-profit at 158.0.
```

**Prompt:** 
```
What was the performance of the signals given these prices?
```

**Response:** 
```
The strategy achieved a win rate of 65% with an average profit per trade of 2.4% and a maximum drawdown of 5.2%.
```

## Frequently Asked Questions

**What is the TRIX strategy?**
It is a momentum strategy that uses a Triple Exponential Moving Average to smooth price data and identify trend reversals through signal line crossings.

**How are BUY signals generated?**
A BUY signal is triggered when TRIX crosses above the signal line while below zero, provided the TRIX histogram has been rising for at least two bars.

**Can I evaluate my strategy's success?**
Yes, you can use the `analyze_signal_performance` tool to calculate win rates, average profit, and maximum drawdown based on historical price data.
