MT-MCP Docs
Tool Reference

Computed Analytics

4 tools — auto-generated from the MCP server's tool schemas.

Generated

This page is generated from packages/server/mcp/src/tools/*.ts by pnpm docs:generate-tools. Do not edit it by hand — edit the tool's description/schema in source and regenerate.

detect_patterns

Runs deterministic rule-based candlestick pattern detection over recent bars: engulfing, hammer, shooting star, doji, inside/outside bar, morning/evening star. Detection thresholds are fixed constants echoed in the response criteria field. Patterns are locations in the data, not trade signals. Available at Pro+ tier.

Parameters

NameTypeRequiredDefaultDescription
symbolstringYes
timeframestringYes(one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1)
barsintegerNo50
patternsarrayNo
terminal_idstringNo

get_currency_strength

Ranks the 8 major currencies (USD EUR GBP JPY CHF CAD AUD NZD) by normalised % change, computed from bars across up to 28 major crosses in the terminal's Market Watch. Strongest first. Symbols missing from Market Watch are skipped and listed in skipped[]; currencies with fewer than 4 contributing pairs are flagged low_confidence. Requires the analytics capability (Team+ tier).

Parameters

NameTypeRequiredDefaultDescription
timeframestringNo"H4"(one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1)
barsintegerNo24
terminal_idstringNo

get_execution_quality

Reports slippage statistics (requested vs filled price) for live market orders placed through MT-MCP: average, median, and worst slippage in points, overall and per symbol. Measurement starts from when fill auditing was enabled — earlier periods return DATA_INSUFFICIENT with the earliest measurable date. Requires the analytics capability (Team+ tier).

Parameters

NameTypeRequiredDefaultDescription
from_datestringNoISO date, default 30 days ago
to_datestringNoISO date, default today
symbolstringNo

get_key_levels

Computes support/resistance key levels for a symbol: classic + Fibonacci pivot points from the prior period, swing highs/lows (fractal detection), and psychological round numbers near the current price. Each level includes its distance from the current price. Available at Free+ tier.

Parameters

NameTypeRequiredDefaultDescription
symbolstringYes
timeframestringNo"D1"(one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1)
swing_barsintegerNo100
terminal_idstringNo

On this page