UT Bot Scanner Pro MT4
- Indicatori
-
Allan Aparece Ninal
Sviluppo indicatori ed Expert Advisor per MetaTrader 5.
Come lavoro:
- Ogni indicatore viene controllato contro il repainting: i segnali vengono decisi solo su barre chiuse, e un test su ogni tick conferma che non cambiano in seguito. - Versione: 1.2
- Aggiornato: 26 novembre 2026
- Attivazioni: 10
UT Bot Scanner Pro MT4 is an indicator for MetaTrader 4 that shows the UT Bot side of many symbols and timeframes in one panel. Each cell also shows how many closed bars ago the last signal came. The scanner sends an alert when a new signal appears.
Cells use closed bars only, so a cell never changes after its bar has closed. Run the free demo in the Strategy Tester on your own symbol before you decide.
It shows signals and sends alerts. It places no orders.
MetaTrader 4 edition: the same calculation, panel, inputs, alerts and buffers as the MetaTrader 5 version. The columns can use the nine MetaTrader 4 timeframes (M1, M5, M15, M30, H1, H4, D1, W1, MN1).
In plain words
UT Bot is a popular rule that follows price with a trailing stop line. When the close crosses to the other side of that line, the rule gives a signal. Above the line is the buy side. Below it is the sell side.
The line sits a set multiple of ATR from price. ATR is the average size of a bar's range, so the line adapts to how much the symbol moves.
On one chart this is easy to read. On 30 symbols and four timeframes it is not. The scanner runs the same rule for the whole list and puts the result in one panel.
A cell shows the side and the age of the last signal. A fresh signal stands out. The panel tells you which chart to open. It does not tell you what price will do next.
What you see on the chart
- A panel with symbols as rows and timeframes as columns.
- Each cell shows BUY or SELL and a number, for example "BUY 3". The word is the side. The number is how many closed bars ago the last signal came.
- A brighter, bold cell means the signal is fresh. You set how many bars count as fresh (2 by default).
- A "+" after the text means the next timeframe to the right is on the same side. It is a quick check that two timeframes agree.
- Hover over a cell for the stop line and the last signal. Click a cell to open that symbol and timeframe.
A cell can also read "loading" (its history has not arrived yet), "n/a" (too few bars) or "warming up" (not enough bars for the ATR).
Worked example
Take XAUUSD in the H4 column, default settings (key value 1, ATR 10), with the bars of the MetaTrader 4 parity test (server time).
The H4 bar that opened on 25 September 2026 at 20:00 closed at 4,285.24, above its stop line at 4,267.16. The cell was on the buy side.
The next bar opened at 00:00 on 28 September and closed at 4,230.85. The stop line was now 4,265.46, above the close. That is a SELL signal, and the cell read SELL 0.
After the next three H4 bars closed, the cell read SELL 1, SELL 2 and SELL 3. It was brighter and bold while the age was 2 or less. It stayed on the sell side until the close came back above the stop line.
Key facts
| Type | Scanner indicator on one chart for MetaTrader 4: a panel of symbols x timeframes. |
| Shows | Per cell: the UT Bot side, the age of the last signal in closed bars and a mark for the next timeframe. |
| When a signal is final | When its bar closes. A cell uses closed bars only and never changes after its bar has closed. The forming bar is never used. |
| Reload and timeframe change | The panel is built again and each cell reloads its closed bars (1,000 by default). The values come out the same, with the same history. No alerts are sent for signals found while loading. |
| Alerts | Pop-up and push are on. Sound and e-mail are off. One message per closed-bar signal and cell, never twice. Alerts are silent in the Strategy Tester. |
| Trades | No. It places no orders. |
| Other products needed | None. The calculation is built in. |
| Symbols | Market Watch (up to 30 by default, at most 60) or your own list. A broker suffix is found automatically. |
| Timeframes | Up to 8 columns. Any of the nine MetaTrader 4 timeframes (M1 to MN1). |
| Tested on | EURUSD, GBPJPY, XAUUSD and BTCUSD on M15, H1, H4 and D1. |
Quick start
- Attach the indicator to any chart. The panel opens in the top left corner.
- Choose Which symbols (Market Watch, or My list) and Timeframes (M15,H1,H4,D1 by default).
- Keep Key value 1.0 and ATR period 10, or match the values you use on your chart.
- Pop-up and push alerts are on by default. Turn on sound or e-mail if you want them.
- Click a cell to open that symbol and timeframe.
The defaults work without tuning. Key value is the first input to change.
Who it is for
For traders who use the UT Bot rule on several symbols and want to see where a signal just came without flipping through charts.
If you watch one chart, the free UT Bot Signal Alerts MT4 is enough. Not for you if you want automatic trading.
How it works under the hood
How a signal is built
- The ATR is Wilder's (the same smoothing as on TradingView). The step size is key value x ATR.
- Source = the close. With the Heikin Ashi option it is (open + high + low + close) / 4.
- The stop line trails the source. Below price it rises with the trend and never falls. Above price it falls and never rises. When the source crosses it, the line jumps to the other side.
- Signal: a BUY when the source crosses above the stop line on a closed bar. A SELL when it crosses below.
- Side: BUY while the source is above the stop line, SELL while it is below.
- EMA filter (off by default): a BUY only when the close is above the EMA (200), a SELL only when it is below.
Closed bars and loading
A cell starts from the newest closed bars of its history (1,000 by default), then adds one closed bar at a time. The forming bar is never used. If the history changes under a cell, the cell starts again.
The panel refreshes every second and starts at most 12 cells per refresh while live. A long list fills in over a few seconds.
The "+" mark
The "+" compares each cell with the cell to its right. It shows when both cells are on the same side. You can also set alerts to fire only when the next timeframe agrees.
Starting settings
Four starting points. They differ in how many signals they give, not in profit. None is optimised. The table shows UT Bot signals per month on EURUSD, GBPUSD, USDJPY and XAUUSD, October 2023 to October 2026, on closed bars. It is a code calculation, not a trading result.
| Timeframe | Key value | ATR period | Signals per month |
|---|---|---|---|
| M15 | 2.0 | 10 | about 95 to 115 |
| H1 | 1.0 (default) | 10 | about 57 to 62 |
| H4 | 1.0 | 10 | about 15 |
| D1 | 1.0 | 10 | about 2 to 3 |
A higher key value gives fewer signals. The ATR period changes little. For different values on different timeframes, attach one scanner per timeframe.
Inputs
| Input | Default | What it does |
|---|---|---|
| Which symbols | Market Watch | Market Watch, or your own list. |
| My list | EURUSD,GBPUSD,USDJPY,XAUUSD,BTCUSD | Used when My list is chosen. |
| Broker suffix to try first | empty | For example .m. Found automatically if empty. |
| Most symbols shown | 30 | From 1 to 60. |
| Timeframes | M15,H1,H4,D1 | The columns of the panel, comma separated, up to 8. |
| Key value | 1.0 | ATR multiple. Higher gives fewer signals. |
| ATR period | 10 | Length of the ATR. |
| Heikin Ashi source | off | Use the Heikin Ashi close. |
| EMA filter / EMA period | off / 200 | Only signals on the side of the EMA. |
| Closed bars each cell starts from | 1000 | History read once, then updated. 200 to 5000. |
| Highlight a signal up to this many bars old | 2 | Brighter cell. |
| Mark "+" when the next timeframe to the right agrees | on | Agreement mark. |
| Alert only when the next timeframe agrees | off | Limits alerts to cells with a "+". |
| Panel corner, distances, font size, colours | top left, 10, 20, 9 | Look and place of the panel. |
| Clicking a cell opens that symbol and timeframe | on | Opens the chart. |
| Template for charts opened by a click | empty | Optional template name. |
| Pop-up alert / sound / push / e-mail | on / off / on / off | Each switched separately. |
| Debug log for bug reports | false | See Found a problem? |
Alerts and Expert Advisors
Alerts. Pop-up, sound, push notification and e-mail, each switched separately. Nothing is sent while history loads, twice for the same cell and bar, or in the Strategy Tester.
Buffers. Buffer 0 holds the number of cells on the buy side and buffer 1 the number on the sell side, on the newest bar.
How it was checked
- Code check: in the MetaTrader 4 Strategy Tester, 12,835,040 cell values were compared bar by bar with an independent Python calculation. The test used 156 files: EURUSD, GBPJPY, XAUUSD and BTCUSD on M15, H1, H4 and D1, with three settings.
- Live run: in a run through the test period, every cell used only bars that had closed. After start-up, the panel matched on all 8,991,498 checks.
- The frequency table comes from the same calculation on broker history. It counts signals. It is not a trading result.
Not covered: alerts, because the tester is silent for alerts. No trading results are claimed.
Limits
- A signal is not a call to buy or sell. A crossing can reverse. A fresh signal is not a better signal.
- It places no orders and gives no stop loss, target or lot size.
- A cell needs history for its symbol and timeframe. It reads "loading" until the terminal has it.
- A cell shows the last signal within the bars it loaded (1,000 by default). An older signal reads "-".
- The bars come from your broker. Another broker's history can give slightly different signals.
- Alerts need the terminal running and the chart open.
FAQ
Does it repaint? No. Cells use closed bars only.
Can I try it first? Yes. The Strategy Tester demo shows the panel in visual mode.
Does it work on gold and crypto? Yes, on any symbol with history.
Can I get alerts on my phone? Yes, with push set up in the terminal. The terminal must be running.
What does the number in a cell mean? The number of closed bars since the last signal. 0 means the bar that just closed.
How is it different from the free indicator? The calculation is the same. UT Bot Signal Alerts MT4 draws arrows on one chart. The scanner covers many symbols and timeframes in one panel.
Is there a MetaTrader 5 version? Yes, UT Bot Scanner MT5, with the same inputs.
Try it first
Download the free demo from this page and run it in the Strategy Tester on your own symbol. Check the cells against the bars on the charts.
The free UT Bot Signal Alerts MT4 shows the same signals on one chart. It is a good way to learn how a crossing looks before you use the scanner. You do not need it to use the scanner.
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 |
|---|---|---|
| Confluence Dashboard MT4 | Use the dashboard for how many checks agree now. Use the scanner for when the last signal came. | One is a state and the other is timing. Agreement between checks is information; it has not been tested for better results. |
| Risk Position Tool MT4 | 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
- UT Bot Scanner MT5: the same scanner for MetaTrader 5.
- UT Bot Signal Alerts MT4: the free indicator with the same calculation, drawn as arrows on one chart.
- Gold Trend Sentinel MT4: a gold Expert Advisor whose entry uses the UT Bot line (key value 1.5, ATR period 10).
- Signal Trader MT4: an Expert Advisor that trades the UT Bot, SuperTrend, Range Filter or Half Trend signal. The calculation is built in.
- Confluence Signal Alerts MT4: the free card for one chart that counts eight checks, UT Bot among them.
- More scanners: WaveTrend Scanner MT4, MACD Multi Timeframe Scanner MT4, Vix Fix Scanner MT4 and Squeeze Momentum Scanner Pro MT4.
- 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 of the Terminal window. 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 shows the state of a technical rule; it does not predict the market, and past signals are no indication of future results.
