# Ultimate Oscillator Strategy AI Agent Connect

> Deterministic Larry Williams Ultimate Oscillator strategy for high-probability signals.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_7HJxqll7VX5T0wthLlzMaxd8nLdxYJNAftnkPoxD/ai-agent-connect
- **Tags:** momentum, oscillator, larry-williams, divergence, technical-analysis

## Description

This MCP server provides a deterministic implementation of the Larry Williams Ultimate Oscillator (UO) strategy. It connects AI agents to advanced momentum analysis by identifying bullish and bearish divergences across multiple timeframes. Use `analyze_uo_strategy` to generate actionable buy and sell signals with precise entry prices, stop-loss levels, and take-profit targets. You can also use `calculate_uo_metrics` to inspect UO strength and alignment, or `detect_divergence` to isolate momentum shifts in price action.

## Tools

### calculate_uo_metrics
Provides raw diagnostic data regarding the current state of the oscillator

### analyze_uo_strategy
Executes the full deterministic strategy logic to generate buy, sell, or hold signals

### detect_divergence
Identifies whether a bullish or bearish divergence exists between price and the UO

## Prompt Examples

**Prompt:** 
```
Analyze these prices for a buy signal: Highs [105, 104, 103], Lows [95, 94, 93], Closes [100, 98, 96].
```

**Response:** 
```
BUY signal detected. Entry Price: 96.0, Stop-Loss: 93.0, Take-Profit: 100.0.
```

**Prompt:** 
```
Check the current UO metrics for these price arrays.
```

**Response:** 
```
Current UO value is 25.0, indicating oversold conditions with a strength of 75.0 and bullish divergence detected.
```

**Prompt:** 
```
Is there a bearish divergence in this data?
```

**Response:** 
```
No bearish divergence detected at this time.
```

## Frequently Asked Questions

**How do I generate a trading signal?**
You can use the `analyze_uo_strategy` tool by providing arrays of high, low, and close prices. It will return a signal, entry price, stop-loss, and take-profit.

**What is the difference between the tools?**
The `analyze_uo_strategy` tool provides full trade signals, while `calculate_uo_metrics` provides diagnostic data like strength and alignment, and `detect_divergence` focuses specifically on price-momentum divergences.

**Does this support multi-timeframe analysis?**
Yes, the strategy uses three distinct periods (7, 14, and 28) to ensure momentum alignment before confirming a signal.
