Order Block Matrix Trade Engine
- Göstergeler
-
Hoang Linh Luc
Hello traders and developers in the MQL5 community,
I am Luc Hoang Linh, Director of VINABOT Co., Ltd., based in Vietnam. With a deep passion for algorithmic trading, I specialize in the development, optimization, and licensing of premium Expert Advisors (EAs) on the MetaTrader 5 (MT5) platform. - Sürüm: 1.0
What is the Order Block Matrix Trade Engine?
This Alpha Extract indicator combines two functions: (1) detecting high-quality Order Blocks and drawing an intuitive volume 'mountain' inside each block, and (2) a Trade Engine that simulates trades based on price reaction at the block, so you can judge each OB's effectiveness right on the chart.
Core components
Order Block detection
- Order Block Breadth — the scan width used to define a block.
- Two methods: Breadth (fast) or Full (detailed).
- Volume Mountain — a 'mountain' shape showing volume distribution inside the block; higher volume = more reliable.
Trade Engine
- Entry Trigger: Touch or Rejection of the block.
- Stop Loss: Block Edge or ATR.
- Take Profit: by a configurable RR ratio.
- Trade Stats: an on-chart panel of trade count, win-rate and average RR.
Trading strategy
- Wait for price to approach a fresh (unmitigated), high-volume Order Block.
- Enter when the trigger fires (Touch or Rejection) in the block's direction.
- SL behind the block edge or by ATR; TP by RR (default 2.0).
- Use the Trade Stats panel to tune parameters per symbol/timeframe.
Configuration parameters
- Order Block Breadth (default 10), Method Breadth/Full, Risk Method Close/Wick.
- Maximum Order Blocks (default 6) and Window Mode/Bars to bound the scan.
- Mountain Detail/Width/Height: tune the volume shape; Show OB Volume Badge.
- Enable OB Trade Engine, Entry Trigger, Min Volume Strength, Take Profit RR, Stop Loss Mode.
- Show Trade Stats + panel position.
Usage notes
The Trade Engine only simulates trades to evaluate OB zones — it is not an auto-trading EA. Works well on XAUUSD, indices and liquid Forex pairs. The .mq5 file compiles successfully on MetaTrader 5 build 4000+.
