DinexSpace Order Block Zones
- Indicateurs
- Version: 1.0
DinexSpace Order Block Zones is an order block indicator for MetaTrader 5 (MT5) that draws each zone from a written rule: the last opposite candle before a bar closes beyond a confirmed swing, with a minimum move measured in ATR, kept on the chart until a bar closes through it.
The rule
- A swing high or low needs N bars on each side, so it is confirmed N bars later and does not change afterwards.
- A break is a bar that closes beyond the last unbroken swing. A wick beyond the level is not a break, and each swing breaks once.
- The order block is the last opposite candle between that swing and the break: the last bearish candle before a break up, the last bullish candle before a break down.
- The move from that candle's close to the breaking close must be at least a multiple of ATR (1.5 by default). A smaller move gives no zone.
- The zone runs to the right until a bar closes through 50% of it or through all of it, as you choose. It is then marked as used.
What you get
- Zones from closed bars only: a zone appears when the breaking bar has closed and does not move or disappear afterwards.
- Zone range: the whole candle (high to low) or its body side (open to low for a bullish zone, high to open for a bearish zone).
- Same swings as DinexSpace Market Structure: with the same swing strength, every zone sits next to a BOS or CHoCH of that indicator on the same chart.
- Clean chart: the newest open zones per side are drawn; used zones can stay in grey or be hidden.
- Panel: open bullish and bearish zones, used zones, and the nearest open zone above and below the price.
- Alerts: pop-up or push notification when a new zone appears on a closed bar.
How to read it
- Green zones are below a break up, red zones are above a break down.
- A zone shows where the last opposite candle stood before price closed beyond a swing. How price behaves when it returns there is for your own strategy to decide.
- Raise the ATR multiple for fewer, stronger moves; lower it to see more zones.
Inputs
- Structure: swing strength, bars scanned at start.
- Order blocks: zone range, minimum move (x ATR), ATR length, when a zone is used (50% or whole), zones drawn per side, keep used zones.
- Colours: bullish, bearish, used.
- Alerts: pop-up, push.
- Panel: show, corner, font size.
Notes
- A zone is known only when the break has closed, which is several bars after the order block candle. That delay is what keeps zones from changing.
- It describes past bars. It gives no entries or exits and does not predict where price goes next.
- Display and alerts only. It does not open or close trades.
Requirements
- MetaTrader 5, any symbol and timeframe.

