Attachments forums

Re: 👨‍🔬 Cagliostro's MT5 Laboratory

Cagliostro, Tue Apr 21, 2026 8:43 am

Smart Money Pattern — MT5

Standalone MT5 indicator that renders the classical contraction → expansion → trend market cycle as a live chart overlay.
────────────────────────────────────────

▸ What it is

Smart Money Pattern maps the three-phase market cycle directly on the chart:
  • Contraction boxes — zones where price is balancing. The midline is the fair-value / true-value reference for that range.
  • Fair-value / expansion lines — the balance midpoint projected forward. Price crossing it is the belief-switch level between buyers and sellers.
  • Liquidity lines (buy / sell) — horizontal levels at the cycle extremes, where trapped-trader stops tend to cluster and forced order flow occurs.
No DLL, no external dependencies, no broker-telemetry, no account widgets. Pure MT5 chart engine.

────────────────────────────────────────

▸ Core methodology

The underlying model is Wyckoff's three-phase cycle — accumulation / distribution → transition → markup / markdown — expressed in the modern Smart Money Concepts (SMC) framing: institutional positioning during contraction, manipulation during expansion, trend once the position transfer is complete.

Liquidity lines are not "signals to fade retail." They are a structural map of where stop clusters live and where forced order flow is most likely to occur when price reaches those zones.

The methodology naturally supports a two-chart workflow:
  • higher timeframe → directional bias
  • lower timeframe → execution around contraction / liquidity
────────────────────────────────────────

▸ Features
  • Contraction boxes (active + confirmed states)
  • Fair-value / midpoint lines
  • Buy / sell liquidity lines with cascade logic
  • Historical liquidity retention toggle
  • Optional duplicate-level merging
  • Heikin-Ashi hybrid candle overlay: Off, Historical HA + live price, Full HA
  • Quantum Color Themes — multiple presets, optional chart background
  • Full custom-colors override for manual palette control
  • Two calculation models: Reference and Adaptive (ATR-weighted threshold)
  • Multi-instance safe (per-chart object prefix via InstanceTag)
  • Standalone MT5 — no DLL, no login, no external data, no telemetry
────────────────────────────────────────

▸ Attribution

This is built on concepts that are part of the public trading literature:
  • Richard Wyckoff (early 20th century) — three-phase market cycle, accumulation / distribution
  • Smart Money Concepts (SMC) — institutional order-flow framing used widely in modern price-action literature
  • Classical liquidity / stop-hunt mapping — as discussed across institutional-trading literature and community material
────────────────────────────────────────

▸ Roadmap

An advanced version with additional workflow features — including HTF bias, an alert framework, and a directional-bias / momentum-shift engine — is currently in development. Availability will be announced in the coming weeks.

────────────────────────────────────────

▸ Install
  1. Copy Smart Money Pattern.ex5 into MQL5/Indicators/
  2. Restart MT5 or refresh the Navigator panel
  3. Attach to chart, pick a theme preset, set visibility toggles
Bug reports, feedback, and chart examples are welcome in this thread. No further features will be added to this version — future development continues separately.

— Cagliostro <3
All files in topic