MTContext Docs
Tool Reference

Market Structure

1 tool in this category.

Overview

Market Structure includes 1 tool for this workflow area.

Available tools: detect_structure.

Use the parameter tables and examples below as the canonical request contract.

detect_structure

Detects deterministic SMC/ICT market-structure primitives on one symbol/timeframe from a single GET_BARS dispatch: fair value gaps (fvg), order blocks (order_block), liquidity sweeps (liquidity_sweep), break of structure (bos), and change of character (choch). Every detection is a location in the data — price_top/price_bottom zone bounds, age_bars, and mitigated — not a trade signal, in the same sense detect_patterns already documents. Detection thresholds are fixed, documented constants echoed in criteria on every response and are not caller-tunable. Distinct from the sibling get_market_structure tool (multi-timeframe HH/HL/LH/LL trend classification across up to 4 timeframes) — this tool answers "where might price react on one timeframe", not "which way is each timeframe pointing". Requires the analytics capability (Team+ tier).

Parameters

NameTypeRequiredDefaultDescription
symbolstringYes
timeframestringYes(one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1)
barsintegerNo200
typesarrayNo

Example Request

{
  "tool": "detect_structure",
  "arguments": {
    "symbol": "EURUSD",
    "timeframe": "M1"
  }
}

Usage Notes

  • Start with a smaller count/bars value while iterating, then increase once the workflow is stable.
  • Use one timeframe for quick checks and multiple timeframes only when you need cross-timeframe analysis.

On this page