# Scalping Strategy Engine AI Agent Connect

> Deterministic momentum-based scalping engine using EMA and Stochastic oscillators.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_cekwkokwnrvftxUOomO5jQTBNjuEXqFWsyzmAwqN/ai-agent-connect
- **Tags:** scalping, momentum, ema, stochastic, algorithmic-trading

## Description

This MCP server provides a deterministic engine for high-probability scalping. It identifies trend-following momentum reversals by combining Exponential Moving Averages (EMA) with Stochastic oscillators. The engine uses `calculate_signals` to detect precise entry points where price trends align with momentum exhaustion. Users can further refine their analysis using `evaluate_scalp_quality` to assess trade strength via price-to-EMA distance and Stochastic slope, or use `get_market_filters` to ensure liquidity and low transaction costs before entering a position.

## Tools

### evaluate_scalp_quality
Analyzes a specific signal to provide a granular assessment of the trade's strength

### get_market_filters
Validates if current market conditions (liquidity and cost) permit scalping

### calculate_signals
Generates precise buy, sell, or hold signals for a historical price series based on trend and momentum criteria

## Prompt Examples

**Prompt:** 
```
Generate scalping signals for this price data: [{"close": 150.5, "high": 151.0, "low": 149.5, "volume": 1000, "bid": 150.4, "ask": 150.6}]
```

**Response:** 
```
{"timestamp": "2023-10-27T10:00:00Z", "signal": "BUY", "entryPrice": 150.5, "stopLoss": 150.25, "takeProfit": 151.12, "scalpQuality": 0.85}
```

**Prompt:** 
```
Check the quality of a signal where price is 150, EMA is 148, stochK is 15, stochD is 10, and previousStochK was 12.
```

**Response:** 
```
{"distanceFromEmaRatio": 0.0135, "stochSlope": 0.25}
```

**Prompt:** 
```
Are current market conditions suitable for scalping with this data: [{"volume": 500, "bid": 100.0, "ask": 100.01}] and an average volume window of 10?
```

**Response:** 
```
{"isLiquid": false, "isLowCost": true}
```

## Frequently Asked Questions

**What indicators does this engine use?**
The engine uses Exponential Moving Averages (EMA) for trend direction and Stochastic oscillators (%K and %D) for momentum identification.

**How is the scalp quality determined?**
Quality is determined by the relative distance between the price and the EMA, alongside the slope of the Stochastic %K line.

**Does it filter for liquidity?**
Yes, the engine includes filters to ensure volume is above average and the bid-ask spread remains within a low-cost threshold.
