Order block tools on platforms like Quantower show blocks, retests and liquidity together. This quantower order block indicator does the same on MetaTrader: it boxes the last opposite candle before a strong close beyond the recent range, marks a retest within thirty bars, and joins three equal highs or lows with a dotted line.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Main price chart |
| Plots | 4: Bullish OB Top, Bearish OB Base, Buy Retest, Sell Retest |
| Alerts | popup, push notification, email, sound |
| Inputs | 16 |
Everything the Quantower Order Block Indicator draws
Boxes, dotted lines and four kinds of mark.
`Bullish OB Top` marks the block candle in dodger blue.
`Bearish OB Base` marks it in tomato.
`Buy Retest` prints lime with arrow 233.
`Sell Retest` prints red with arrow 234.
`LiqColor` `clrGoldenrod` joins equal highs and lows.
- Bullish OB Top: arrow, dodger blue, width 2, arrow code 234
- Bearish OB Base: arrow, tomato, width 2, arrow code 233
- Buy Retest: arrow, lime, width 2, arrow code 233
- Sell Retest: arrow, red, width 2, arrow code 234

Working through the maths
Break
A close-to-close move larger than `ImpulseMult` `1.5` ranges that also closes above the recent swing high qualifies. `StructureLookback` `50` sets that window.
Block
The last down candle before the break becomes the demand block, drawn when `ShowOrderBlocks` is on.
Retest and pools
A bullish candle dipping into a block from the last thirty bars prints a retest. Three highs within a tenth of a range get a dotted line.
Putting it to work
Blue and tomato marks show where blocks formed.
Lime and red marks show retests.
Gold dotted lines mark equal highs and lows.
`MaxRectangles` `40` keeps the newest boxes.
Blocks only count for thirty bars.
Warm-up needs about sixty-six bars.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
Retests report once per closed bar. `EnableAlerts` covers them, and only the popup is on until you add more routes.
Every Quantower Order Block Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
StructureLookback |
Swing window. Bars behind the break, `50`. | 50 |
AtrPeriod |
ATR period. Range window, `14`. | 14 |
ImpulseMult |
Move size in ATR units to flag OB. Break size in ranges, `1.5`. | 1.5 |
MaxRectangles |
Recent OB rectangles kept. Boxes kept, `40`. | 40 |
ObjPrefix |
(see inputs panel) | QOB_ |
Display settings
| Setting | What it does | Default |
|---|---|---|
ShowOrderBlocks |
Draw OB rectangles. Draw block boxes, `true`. | on |
ShowLiquidity |
Mark equal highs/lows. Join equal highs and lows, `true`. | on |
BullColor |
Demand colour, `clrDodgerBlue`. | dodger blue |
BearColor |
Supply colour, `clrTomato`. | tomato |
LiqColor |
Pool line colour, `clrGoldenrod`. | goldenrod |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master alert switch, `true`. | on |
EnablePopup |
(see inputs panel) | on |
EnablePushNotify |
(see inputs panel) | off |
EnableEmail |
(see inputs panel) | off |
EnableSound |
(see inputs panel) | off |
SoundFile |
(see inputs panel) | alert.wav |

Where it works best
Blocks, retests and pools suit active intraday charts. EURUSD H1 is the reference chart. On M15 the boxes stack quickly. On H4 they are fewer and mark larger moves.
When it misleads
Many boxes can crowd a trending chart.
Equal-level lines need three matching bars.
Retests only count within thirty bars.
Messages start as popups only.
Copy the compiled Quantower Order Block Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the Quantower Order Block Indicator for MT4 and MT5
The zip holds the compiled Quantower Order Block Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
What does ImpulseMult 1.5 measure?
The close-to-close move of the break bar, compared with the average range. It must exceed one and a half ranges and close above the recent swing high.
When does a Buy Retest print?
When a bullish candle dips into a demand block from the last thirty bars and closes above the block’s low. Older blocks no longer produce retests.
What does ShowLiquidity draw?
A dotted goldenrod line where three bars in a row made highs, or lows, within a tenth of a range of each other. Stops tend to collect beyond such levels.
Is this the Quantower platform’s own tool?
No. It is a MetaTrader build that brings the same ideas, blocks, retests and liquidity, to MT4 and MT5 charts. It does not connect to Quantower.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Quantower Order Block Indicator as one input. Always backtest before trading live.