WaveTrend Scanner MT5
- 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.0
- Attivazioni: 5
WaveTrend Scanner MT5 is a scanner indicator for MetaTrader 5. One panel covers many symbols and timeframes. Each cell shows the latest WaveTrend signal and its age, or that WaveTrend is in a zone now. On its own chart it also draws divergences between price and WaveTrend.
It places no orders. It runs the WaveTrend calculation (LazyBear's public method) for a whole list of charts at once, on closed bars only.
Standalone: everything is built in. You do not need to buy or install any other product named on this page.
Quick start
- Attach it to any one chart. By default the panel lists the symbols in your Market Watch (Most symbols shown: 30) against M15, H1, H4 and D1.
- For your own symbols, set Which symbols to My list and fill My list, comma separated. Change Timeframes the same way.
- A cell reads "loading" until its history arrives. The panel title counts how many are loaded. Pop-up and push alerts are on.
What you see on the chart
- A panel with symbols as rows and timeframes as columns.
- BUY 2 or SELL 2: the latest signal was 2 closed bars ago. A BUY is WT1 crossing above WT2 in the oversold zone. A SELL is the mirror in the overbought zone.
- A brighter, bold cell while the signal is fresh (you set how many bars count as fresh).
- OB 64 or OS -57 in amber: WT1 is in the overbought or oversold zone now and no signal is fresh. It is a "watch this" state.
- "+" after BUY or SELL when, on the next timeframe to the right, WT1 is on the same side of WT2.
- "DIV" when a divergence of the same direction was confirmed near the signal.
- A tooltip with WT1, WT2, the latest signal and the next timeframe's reading. Click a cell to open that chart.
- Divergences on the chart: a thin dashed line between two price pivots, green for bullish and red for bearish, with a small tag. Regular divergences point to a turn, hidden ones to a trend that continues.
How it is built
- WaveTrend: the average bar price against its 10-bar average, scaled by its usual distance and smoothed over 21 bars (WT1). WT2 is the 4-bar average of WT1.
- Signal: a cross of WT1 and WT2 on a closed bar, with WT2 at or below -53 (BUY) or at or above 53 (SELL).
- Divergence: price makes a lower low while WT1 makes a higher low (regular bullish), or the reverse (hidden bullish). Bearish mirrors it on highs. A pivot is known only 3 bars after it, and the divergence is drawn on that bar.
- The forming bar is never used, so a cell does not change after its bar has closed.
Who it is for
For traders who use WaveTrend and want to see, across many symbols and timeframes, where a zone signal just happened and where WaveTrend is stretched now.
Inputs
| Input | Default | What it does |
|---|---|---|
| Which symbols | Market Watch | Market Watch, or your own list. |
| My list, comma separated | EURUSD,GBPUSD,USDJPY,XAUUSD,BTCUSD | Used when Which symbols is My list. |
| 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 | Comma separated. They become the columns, left to right. |
| Channel length, average length | 10, 21 | The WaveTrend lengths. |
| Overbought / oversold level | 53 / -53 | A SELL needs WT2 at or above the first, a BUY at or below the second. |
| Look for divergences | on | The DIV mark and the lines on this chart. |
| Regular / hidden divergences | on / on | Which kinds count. |
| Clean lines only | on | No bar may cross the line between the two pivots. |
| Pivot bars on the left / right | 5 / 3 | The right side is the delay before a pivot is known. |
| Pivots at least / at most this many bars apart | 5 / 60 | Distance between the two pivots. |
| DIV mark distance | 10 | A divergence counts if confirmed at most this many bars before the signal, or after it. |
| Draw the divergences on this chart | on | Over the last 1000 bars of the chart. |
| Mark "+" when the next timeframe agrees | on | Higher-timeframe agreement mark. |
| Alert only when the next timeframe agrees | off | Limits alerts to signals with a "+". |
| Closed bars each cell starts from | 1000 | History per cell, 200 to 5000. |
| Highlight a signal this many bars old or less | 3 | Brighter cell for a fresh signal. |
| Show OB / OS | on | The amber zone state when no signal is fresh. |
| Panel corner, font size, colours | top left, 9 | Look and place of the panel and the divergence lines. |
| Clicking a cell opens that symbol and timeframe | on | Opens the chart, or brings it to the front. |
| Template for charts opened by a click | empty | Optional template name. |
| Pop-up alert | on | Alert window in the terminal. |
| Play a sound | off | Plays the sound file below. |
| Sound file | alert.wav | File from the terminal Sounds folder. |
| Push notification | on | Needs your MetaQuotes ID. |
| off | Needs e-mail set up in the terminal options. | |
| Debug log for bug reports | false | Found a problem? |
How often
Signals per month per symbol with the defaults (EURUSD, GBPUSD, USDJPY, XAUUSD, BTCUSD, closed bars, 2024 to 2026; a code count, not a trading result). M15 about 45 to 70, H1 about 11 to 18, H4 about 3 to 5, D1 under 1. Divergences: M15 about 42 to 58, H1 about 11 to 16, H4 about 2 to 5, D1 under 1.
How it was checked
- The WaveTrend calculation is the one in the free WaveTrend Signals indicator. It matched an independent Python calculation on every bar (4 symbols, 4 timeframes, 3 input sets, 47,595 signals). It also passed a tick-by-tick repaint test in the Strategy Tester (EURUSD H1, 10.4 million ticks, 0 changes after a bar closed).
- The scanner's loader starts a cell from history, then adds one closed bar at a time. It was compared with the same Python calculation on the terminal's own bars: 32 files, 313 signals and 434 divergences, 0 differences.
- A two-week run in the Strategy Tester read the scanner every hour: 240 readings, 0 errors.
Alerts and Expert Advisors
Alerts: pop-up, sound, push notification and e-mail, each switched separately. The message names BUY or SELL, the symbol, the timeframe, WT2 and the price. Cells that signal together are sent as one message. Nothing is sent while history loads, never twice for the same cell and bar, and not in the Strategy Tester.
Buffer 0 holds the number of fresh BUY cells, buffer 1 the number of fresh SELL cells, buffer 2 the number of cells in a zone, on the newest bar.
Questions
- Does it repaint? No. Cells and divergences use closed bars only. A divergence appears 3 bars after its pivot, when the pivot is confirmed, and stays.
- What does "+" mean? On the next timeframe to the right, WT1 is above WT2 (for BUY) or below it (for SELL). It describes agreement, not a promise.
- Why is a cell amber? WT1 is in a zone now and no signal is fresh. A signal may follow, or not.
- Does it work on gold and crypto? Yes, on any symbol with history.
- How is it different from the free indicator? The free WaveTrend Signals draws the oscillator on one chart. The scanner covers many symbols and timeframes and adds divergences and a higher-timeframe check.
Related products
- Divergence Scanner MT5: a scanner of the same kind for RSI, MACD and other oscillator divergences.
- UT Bot Scanner MT5: a scanner of the same kind for the UT Bot signal.
- Confluence Dashboard: up to eight checks per symbol and timeframe, voted into one verdict.
- All my products on MQL5
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 it helps your trading, 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 momentum and divergences. It does not predict the market, and past signals are no indication of future results.
