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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | — |
timeframe | string | Yes | — | (one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1) |
bars | integer | No | 50 | — |
patterns | array | No | — | — |
terminal_id | string | No | — | — |
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
timeframe | string | No | "H4" | (one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1) |
bars | integer | No | 24 | — |
terminal_id | string | No | — | — |
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
from_date | string | No | — | ISO date, default 30 days ago |
to_date | string | No | — | ISO date, default today |
symbol | string | No | — | — |
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | — |
timeframe | string | No | "D1" | (one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1) |
swing_bars | integer | No | 100 | — |
terminal_id | string | No | — | — |