Candlestick Scanner MT5
- Индикаторы
-
Allan Aparece Ninal
Я разрабатываю индикаторы и советники (Expert Advisors) для MetaTrader 5.
Как я работаю:
- Каждый индикатор проверяется на перерисовку: сигналы определяются только на закрытых барах, а тест на каждом тике подтверждает, что они потом не меняются. - Версия: 1.2
- Обновлено: 13 ноября 2026
- Активации: 10
Candlestick Scanner MT5 is a scanner indicator for MetaTrader 5 that shows the latest candlestick pattern for many symbols and timeframes in one panel. It knows 26 patterns. Every cell uses closed bars only, so it never changes after its bar has closed. Run the free demo in the Strategy Tester on your own symbol before you decide.
It works on closed bars only. A cell never changes after its bar has closed. It shows patterns and sends alerts; it places no orders.
Standalone: everything is built in. You do not need to buy or install any other product named on this page.
In plain words
A candlestick pattern is a named shape of one to three candles, such as an engulfing or a hammer. Checking one chart for these shapes is easy. Checking 30 symbols on three timeframes is not.
The scanner does that work. It runs the same pattern rules on every symbol and timeframe you choose. It puts the latest pattern of each one in a cell of a panel.
A cell shows B (bullish) or S (bearish), a short pattern name and the number of closed bars since the pattern formed. A fresh pattern is highlighted.
A context filter keeps only patterns that form at a recent low (bullish) or high (bearish). That removes many patterns that appear in the middle of a range.
A statistics table shows what price did after each pattern in your own history, next to the same measure for any bar. You can see whether a pattern differs from chance on your symbols.
What you see on the chart
- A panel with symbols as rows and timeframes as columns. The title shows the loading progress, for example 12/60 loaded.
- Each cell shows the latest pattern: B or S, a short name and its age in closed bars. A fresh pattern is highlighted. An Inside Bar has no direction, so its cell is grey.
- Point at a cell. The tooltip names every pattern of that bar and its time.
- Click a cell to open that symbol and timeframe.
- A statistics table sits in another corner, with one row per pattern and two rows for any bar.
Worked example
XAUUSD H4, default pattern rules, from the parity test of the pattern engine (terminal history, bar open times in server time). A Bullish Engulfing on 14 October 2026, 20:00.
| Bar opens | Open | High | Low | Close | Role |
|---|---|---|---|---|---|
| 14 Oct 2026 12:00 | 4143.17 | 4155.58 | 4085.07 | 4097.80 | close below its EMA(20) of 4157.86: downtrend |
| 14 Oct 2026 16:00 | 4097.81 | 4107.23 | 4073.25 | 4083.49 | bearish bar, body 14.32 |
| 14 Oct 2026 20:00 | 4083.49 | 4106.53 | 4077.88 | 4102.49 | bullish bar, body 19.00: Bullish Engulfing |
The 20:00 bar opened at the close of the bar before it and closed above that bar's open (4097.81). Its body is larger, and the trend before was down. That is a Bullish Engulfing.
The context filter (10 bars by default) then checks the pattern's last three bars. Their lowest low, 4073.25, is also the lowest low of the last 10 bars, so the pattern stays.
When the next bar opens, the XAUUSD H4 cell reads B ENG 0 and is highlighted as fresh. After one more closed bar it reads B ENG 1.
Key facts
| Type | Scanner indicator with a panel and a statistics table, for MetaTrader 5. |
| What it shows | The latest pattern of each symbol and timeframe, its direction and its age in closed bars. |
| When a signal is final | When its bar closes. A cell shows a pattern only from closed bars and never changes it afterwards. A newer pattern replaces it as a new event. |
| Reload and timeframe change | Every cell loads its history again (2000 closed bars by default) and shows the same patterns. No alerts are sent for old patterns. |
| Alerts | Pop-up and push are on. Sound and e-mail are off. Alerts of the same second come as one message. |
| Trades | No. It places no orders. |
| Other products needed | None. |
| Symbols and timeframes | Market Watch (up to 30 by default, 60 at most) or your own list. Timeframes: H1, H4 and D1 by default, or any you choose. |
Quick start
- Attach the indicator to one chart. The panel lists your Market Watch symbols (up to 30) by H1, H4 and D1.
- In the inputs, choose Market Watch or your own list of symbols, and the timeframes.
- Switch pattern groups on or off (Doji, Marubozu and Inside Bar are off by default). Set the context filter: 10 bars by default, 0 = off.
- Pop-up and push alerts are on by default. Add sound or e-mail if you want them. Click a cell to open that chart.
Who it is for
For traders who watch a list of symbols. They get the latest candlestick pattern of each one in one panel, with statistics next to a baseline.
Not for you if you want a ready-made strategy. It does not claim that any pattern gives an edge.
How it works under the hood
The patterns
- From the free edition: Engulfing, Hammer, Hanging Man, Inverted Hammer and Shooting Star. Also Doji, Morning and Evening Star, Harami, Piercing Line and Dark Cloud Cover. Also Inside Bar, Strong Bull and Bear Bar and Bullish and Bearish Pin Bar (rejection candle).
- Added here: Three White Soldiers, Three Black Crows, Tweezer Bottom and Top, Bullish and Bearish Marubozu, Dragonfly Doji, Gravestone Doji.
How they are recognised
- Body, wicks and range are compared with each other and with the average body and range of the 10 bars before. Patterns that need a prior trend use the close against its 20-period EMA.
- No standard defines Inside Bar, Strong Bar or Pin Bar, so every threshold is an input. These include wick % of range, ATR period and multiple, and whether the wick must reach past the previous bar. The defaults are the common ones.
- An Inside Bar has no direction. Its cell is grey and it has no row in the statistics.
- A Marubozu has a body of at least 95% of its range. A Dragonfly Doji has a body and an upper wick of at most 10% of the range. Its lower wick is at least 70%, after a decline. The Gravestone Doji is the mirror, after a rise.
Context filter
It keeps only patterns whose last three bars make the lowest low (bullish) or highest high (bearish) of the last 10 bars. You can change the number or switch it off with 0.
Statistics
- For each pattern: how many there were in the bars loaded. Also how often the close 5 bars later (adjustable) had moved in the pattern's direction, and the average move in ATR(14) of the pattern bar.
- The same for any bar, up and down, as the baseline. A pattern is only interesting where it differs from that baseline.
- On broker history most patterns land close to the baseline. The table lets you check this for your own symbols instead of trusting a promise. It is past behaviour, not a forecast.
Loading and reload
Each cell starts from the closed bars of its symbol and timeframe, 2000 by default. After that it adds only the bars that closed. A gap or a changed bar restarts the cell. Cells load a few at a time, so a large panel fills over some seconds.
Inputs
| Input | Default | Description |
|---|---|---|
| Which symbols | Market Watch | Or your list. The broker suffix is found automatically. |
| Most symbols shown | 30 | From 1 to 60. |
| Timeframes | H1,H4,D1 | Comma separated. |
| Pattern groups | all on, except Doji, Marubozu and Inside Bar | Switch each group on or off. |
| Pattern rules: Inside Bar, Strong Bar, Pin Bar (nine inputs) | as the free edition | Thresholds of the three patterns without a standard. |
| Context: only at the low (bullish) or high (bearish) of the last N bars | 10 | 0 = off. |
| Closed bars each cell loads | 2000 | From 300 to 5000. |
| Highlight a pattern this many bars old or less | 1 | Fresh patterns have a brighter colour. |
| Statistics table, bars after the pattern | on, 5 | Bars after the pattern from 1 to 50. |
| Panel corner, font size, colours | - | The statistics table has its own corner. |
| Pop-up, push, sound, e-mail | on, on, off, off | Push needs your MetaQuotes ID. |
| Debug log for bug reports | off | See Found a problem? |
How it was checked
- Build: compiled with 0 errors and 0 warnings.
- Code check: an independent Python calculation was compared with the pattern engine and the history loader, statistics counters included. It used 48 test files (EURUSD, GBPJPY, XAUUSD and BTCUSD on M15, H1, H4 and D1, three input settings). There were 0 mismatches.
- Closed bars only: a cell is decided on closed bars and never changed afterwards.
Not tested: alerts on a live chart (the tester is silent for alerts). The statistics describe past history and are not a forecast.
Limits
- A candlestick pattern describes one to three bars. On its own it is not a reason to trade.
- The statistics are measured on the bars loaded in the cells. They are past behaviour, not a forecast.
- A cell shows only the latest pattern. The tooltip lists the other patterns of the same bar.
- A large panel loads a few cells at a time. It can take some seconds to fill.
- The marks depend on your broker's bars. Alerts need the terminal running with the chart open.
FAQ
Does it repaint? No. Patterns are decided on closed bars and never changed afterwards.
What happens if I change the timeframe or reload the chart? The cells load their history again and show the same patterns. No alerts are sent for old patterns.
The title says "12/60 loaded". Is something wrong? No. Cells load their history a few at a time, and the title shows the progress.
Does a pattern mean I should buy or sell? No. The statistics table shows how each pattern did on your own history next to the baseline.
Can I scan only some symbols? Yes. Choose "my list" in the inputs and type the symbols.
Is there a MetaTrader 4 version? Yes, it is listed under Related products.
Try it first
Run the free demo in the Strategy Tester on your own symbol before you decide. To see the patterns on one chart, try the free edition, Candlestick Signal Alerts. It uses the same pattern engine.
Works well with
These are workflow suggestions. I have not found that any pair gives better trading results. You do not need any of them.
| Product | How to use them together | Why |
|---|---|---|
| Session Levels | Add it to the same chart. | It draws the Asia, London and New York sessions and killzones, the previous day and week levels and a time panel as context. It is not a signal. |
| Risk Position Tool | Pick the trade from the chart, then drag the entry and stop lines. The tool gives the lot for your risk. | It separates where you enter from how much you risk. The tool places no orders. |
Related products
- Candlestick Scanner MT4: the same scanner for MetaTrader 4.
- Candlestick Signal Alerts - the free indicator. It marks 18 patterns on one chart, with alerts, using the same engine.
- Divergence Scanner MT5 - another scanner panel with symbols by timeframes, closed bars only and click-to-open, for RSI, MACD, Stochastic, CCI and OBV divergences.
- Vix Fix Scanner MT5 - another scanner panel for many symbols and timeframes, for the Williams Vix Fix.
- All my products on MQL5
Custom work
Want an EA that trades this indicator, a custom version of it, several of my indicators or EAs combined into one, an EA that trades another indicator you use (mine or another developer's), or a new indicator or EA of your own? Order it through MQL5 Freelance and choose me as the developer: order through Freelance. Send your requirements, rules and the flow or algorithm you want. The whole order, payment and delivery stay inside MQL5 Freelance.
Found a problem?
- In the inputs, set "Debug log for bug reports" to true.
- Repeat what went wrong.
- Open the Experts tab in the Toolbox. Copy the lines that start with "DBG" and paste them in a comment on this page, with the symbol and timeframe.
- Set the debug log back to false.
The debug lines never contain your account number, name, server, balance or equity.
If you find it useful, a short review on this page helps other traders find it.
Questions: use the comments on this page or send me a message on MQL5.
Trading involves risk. The scanner finds chart patterns; it does not tell you to buy or sell.
