Nadaraya Watson Envelope Scanner

  • Indicators
  • Evgenii Sutulov
    Evgenii Sutulov
    I build trading indicators, strategies, and dashboards that don't repaint.
    Seven years doing this. MetaTrader 4, MetaTrader 5, TradingView.
    Closed bars only. What you see is what happened.
    The bar being formed never changes a published value.
  • Version: 1.3
  • Activations: 20

Nadaraya Watson Envelope Scanner is two products in one file. The first is Nadaraya Watson Envelope itself, drawn on the chart you are looking at: a causal Nadaraya-Watson kernel regression centre line, an envelope built from the mean absolute error around it, and marks where price came back inside the envelope after having traded outside it.


The price increases every 10 purchases, the next price is $39


The second is a board that runs the same calculation over a list of symbols on several timeframes at once and puts the answer in a table. The board tells you where to look, and the chart under it shows you what is actually there, so you do not have to attach a second indicator to act on what the table found.

The board

A row per symbol, a column per scanned timeframe, up to four of them, on up to twenty-eight symbols. The symbol list is comma separated, or the board can take the Market Watch list instead. Broker prefix and suffix are detected from the chart you are on, or given by hand. Out of the box the board scans four: M15, H1, H4 and D1.

A cell reads like ^14b: a direction glyph, then how many bars ago that signal happened. The word flat means the calculation ran and found no direction there. Three dots mean the cell has not been measured yet, and hovering it says why in words. A cell whose signal is older than the freshness threshold is drawn in the same colour, quieter, so the hue says which way and the weight says how much it still matters. A row with a fresh signal anywhere in it gets a wash of the accent colour so your eye lands on it before you have read a single cell.

The AGREE column is the point of the board. It takes the visible timeframe columns for that symbol, finds the majority side, and prints it as v3/4: the direction the majority agrees on, and how many of the visible timeframes stand on it. A row where every visible timeframe agrees is drawn bold and in that side's colour, because that is the row the board exists to surface. A tie prints a dash and counts as no verdict, because calling a one-one split a signal would be the board inventing conviction it does not have. With only one timeframe visible the column is dropped entirely, header and all, rather than showing a 1/1 that restates the cell beside it.

Every column header is a button. Click a timeframe header and the board sorts by that column, the freshest signal on that timeframe first, and rows with none in it go to the bottom together. Click the same header again to reverse. Click AGREE to sort by agreement, with full agreement first and a full house outranking a partial one of the same count. The active column is drawn in the accent colour with a caret showing the direction, so the sort state is on the header itself. There is also a Sort button that cycles freshest, grade and name, for when you want a whole-board order rather than a column order.

A Show button cycles all, buys, sells and fresh. Buys and sells follow the AGREE verdict rather than any single cell, so a row you see under buys always reads an up glyph in AGREE. A tie shows under neither. This filters the view, not the calculation: a hidden row is still being measured and can still alert.

The legend sits above the table and decodes the notation in one line: up glyph, down glyph, bars since, and what the AGREE fraction means. It can be switched off once you know it by heart.

Timeframe buttons at the top show and hide a column. Hiding one does not stop the calculation measuring it.

The row count is fitted to the height of the chart pane, and the row setting is a maximum rather than a demand. When everything fits, no page buttons are drawn at all. When it does not, previous and next buttons appear with the page number on them. Because the board never draws more rows than the pane holds, the page buttons are always on screen and always reachable, however tall the row setting is.

Clicking a cell switches this chart to that symbol and that timeframe. It does not open a window per click.

Two status lines are always on show: how many symbols are ready of how many, how long ago the board last updated, and how many signals it found in the lookback window, then either the watchdog's own line or a sentence explaining why nothing is showing.

Diagnostics

A second panel, off by default, that answers "why is there no signal". It lists the symbol coverage, which series are short of bars and by how much, how many signals were found in the window, and how many symbols this indicator switched on in Market Watch to do its job. It names the stage a cell failed at rather than leaving the cell blank without explanation.

The chart indicator

Drawn in the price window: the centre line coloured by its slope, the upper and lower envelope, and BUY and SELL marks. It can be turned off from the Styles tab if you only want the board. Its timeframe is set separately from the board's timeframes: the board scans several, the chart draws one.

The settings sheet

The gear opens three tabs. Values holds the timeframe, the window N, the bandwidth h and the envelope multiplier, each with steppers, a range and a sentence of help. Changing one here recalculates the whole board and the panel says so while it works, with a count of how many symbols it has redone.

Alerts holds the master switch, the per-event switches, the channels, the cooldown and a test button.

Styles holds show the legend, draw the indicator on this chart, palette, show the centre line, the envelope and the arrows, line width and arrow size. These are the same display controls the matching single-chart indicator carries, under the same names, so a chart set up one way can be reproduced on the other.

Three colour schemes are available, including a colour-blind safe one that uses blue and orange and never puts red against green. Panel position, scheme, collapsed state, the sort, the filter, which timeframe columns are visible and every value changed on the sheet are stored per chart and survive a timeframe change and a terminal restart. The interface is English.

Alerts

Off out of the box. A master switch on the panel itself turns them all on or off without opening the sheet, and there is a Test alert button that fires through every channel currently on.

Events: a fresh BUY and a fresh SELL, declared separately for each scanned timeframe, plus data health, which speaks when a symbol loses or regains its data. There is a minimum grade setting, and this port does not grade, so every signal counts as grade one for that purpose.

Channels: popup window, sound, push to the mobile terminal, e-mail. Cooldown is per cell and per event, thirty minutes by default, because a board watching many symbols has many more chances to repeat itself than a single chart does. Telegram is not part of this product.

Cost

The work is budgeted. A set number of symbols is refreshed per timer tick, lower being gentler on a slow machine, so a long list spreads its load out instead of stalling the terminal. The first pass is visibly progressive and the panel says what percentage of the symbols it has measured.

Reading it from an EA

The chart indicator publishes ten buffers, readable through iCustom and CopyBuffer. Buffer 0, Buy, holds the mark price on a BUY bar and EMPTY_VALUE otherwise, and it is not drawn; buffer 1, Sell, is the same for a SELL bar. Buffer 2, Center, is the kernel regression centre line and buffer 3 is the colour index that goes with it. Buffer 4, Upper, and buffer 5, Lower, are the two envelope edges. Buffers 6 and 7, BuyMark and SellMark, are the drawn copies of buffers 0 and 1. Buffer 8, Signal, reads +1 for a re-entry from below, -1 for a re-entry from above and 0 for none. Buffer 9, Slope, is +1 while the centre is rising, -1 while it is falling and 0 when it is flat.

Buffers 0 and 1 are the EA contract. They are never painted, and they are filled on every pass whatever the Styles tab is set to, so nothing on the display side can starve a strategy of a signal. What you see on the chart is the drawn copy, kept in step with the contract. Hiding is done by changing how a plot is drawn, never by emptying a buffer, so every index above stays readable through iCustom and CopyBuffer and stays visible in the Data Window with the display switches off.

This map is the scanner's own and is not the same as the single-chart Nadaraya Watson Envelope MTF, which publishes one further buffer at index 10. Read the list above.

The board itself is a panel, not a buffer. It is read by eye and by alert.

Honest limits

The board reads closed bars, and a cell's age is counted in closed bars: a value published on a closed bar does not change afterwards. The mark on the current forming bar of the chart indicator can appear and disappear before that bar closes.

AGREE is a count of timeframes, not a probability. Four timeframes pointing the same way means four correlated readings of the same instrument agreed, which is worth knowing and is not a forecast.

A tie deliberately produces no verdict, and rows with a tie are hidden by both the buys and the sells filters. That is the honest answer rather than a missing one.

Scanning has a cost. Twenty-eight symbols on four timeframes is a hundred and twelve cells and it will be felt on a slow machine. The budget setting is what you turn down.

A symbol your broker does not carry, or one with too little history for the kernel window, cannot be measured. The board says which, and why, rather than showing an empty cell.

No profit figure, win rate or backtest result is claimed here.

More from author
Currency Strength Pro ranks the eight major currencies by relative strength, read from up to 28 pairs, on a multi-timeframe composite, then ranks the basket's own pairs into a graded scanner. Closed bars only, never on a tick. Launch price: $59. It rises to $69 after the next 10 copies, then step by step to the final $98.  The idea is simple: trade a strong currency against a weak one, instead of the chart that happens to look nice today. The strength table answers "which currency". The scanner
UT Bot MTF
Evgenii Sutulov
UT Bot MTF is an ATR trailing stop and the flip signals it produces. The stop follows price at a distance of a chosen multiple of ATR, ratchets in the direction of the move and never gives ground back. When price closes through it, the stop flips to the other side and the indicator marks a BUY or a SELL. That is the whole engine, and it is deliberately simple. What this product adds around it is the part that decides whether you can actually use it: four independent filters, an honest account of
FREE
Currency Strength Flux ranks the eight major currencies by relative strength, read from up to 28 pairs, on a four-timeframe composite that only ever uses closed bars. The idea is simple: trade a strong currency against a weak one, instead of the chart that happens to look nice today. Everything on the panel serves that one decision. What it does The panel ranks EUR, GBP, AUD, NZD, USD, CAD, CHF and JPY from strongest to weakest. Every reading is built from the pairs your broker actually quotes.
FREE
Half Trend MTF draws a stepped trend line that holds its level until the market takes it out, and flips to the other side when it does. Around it sits an ATR channel. The decision it supports is a simple one, and it is stated plainly: the line says which side the trend is currently held on, the flip says the moment that changed, and the channel says how much room the current volatility gives price before the flip is likely to matter. Because the line only moves when the extremes of the last N ba
FREE
Wave Trend Oscillator MTF is a two-line momentum oscillator in its own sub-window. The fast line measures how far the typical price has run from its own smoothed centre, relative to its recent average deviation, and a slower average of that fast line is drawn beside it. The event is a cross between the two lines inside a zone the market has actually reached. Crosses in the middle of the range are not signals, and that single rule is what separates this product from a plain oscillator. Three thin
FREE
Currency Strength Flux ranks the eight major currencies by relative strength, read from up to 28 pairs, on a four-timeframe composite that only ever uses closed bars. The idea is simple: trade a strong currency against a weak one, instead of the chart that happens to look nice today. Everything on the panel serves that one decision. What it does The panel ranks EUR, GBP, AUD, NZD, USD, CAD, CHF and JPY from strongest to weakest. Every reading is built from the pairs your broker actually quotes.
FREE
Exhaustion Count MTF counts. It does not predict direction and it does not tell you which way to trade. It answers one question: has this move been going on long enough that it is running out of participants. Two independent phases run on the chart, a setup and a countdown, each with its own rules, its own cancellation conditions and its own place in the buffers an Expert Advisor can read. The setup Nine consecutive closes on one side of the close four bars back, started by a price flip. A bar t
FREE
Currency Strength Pro ranks the eight major currencies by relative strength, read from up to 28 pairs, on a multi-timeframe composite, then ranks the basket's own pairs into a graded scanner. Closed bars only, never on a tick. Launch price: $59. It rises to $69 after the next 10 copies, then step by step to the final $98.  The idea is simple: trade a strong currency against a weak one, instead of the chart that happens to look nice today. The strength table answers "which currency". The scanner
Squeeze Momentum MTF answers two questions at once, in one sub-window. The first is whether the market is compressed. Bollinger Bands are compared with a Keltner Channel: when the Bollinger Bands sit entirely inside the Keltner Channel, volatility has contracted and the market is in a squeeze. When they push back outside it, the squeeze has released. The second is which way the compressed energy is pointing. A detrended price series is fitted by linear regression and the endpoint of that fit is
FREE
QQE Mod MTF
Evgenii Sutulov
QQE Mod MTF is a momentum oscillator in its own sub-window. It runs two independent QQE blocks over RSI and turns them into one readable histogram. QQE, which stands for Qualitative Quantitative Estimation, smooths RSI and then builds a trailing band around it from the smoothed average of the RSI's own absolute changes. The band does not move against the trend, which is what makes a QQE cross slower and less noisy than an RSI cross. This product runs two of those blocks at once and publishes wha
FREE
Nadaraya Watson Envelope MTF draws a smooth centre line through price and an envelope around it, then marks the bars where price came back inside that envelope after having traded outside it. The question it answers is narrow and it is the only one it claims to answer: price has stretched away from its own recent centre, and it has just stopped stretching. Whether you treat that as a mean-reversion entry, as a place to take profit on a trend position, or as nothing at all is your decision. The i
FREE
Exhaustion Count Scanner is two products in one file. The first is Exhaustion Count MTF itself, drawn on the chart in front of you: the setup and countdown numbers printed bar by bar, the Setup Barrier levels currently in force, and the arrows on completed signals. The second is a board that runs the same counting across a list of symbols on up to eight timeframes at once. A nine or a thirteen is a rare event on any one instrument, which is exactly the case a board is for. The table finds them a
QQE Mod Scanner is two products in one file. The first is the QQE Mod oscillator itself, in this chart's own sub-window: two independent QQE blocks over RSI, reduced to one histogram, a trailing line drawn around zero and a Bollinger filter on that line. The state it publishes is the combination of the two, bright when both blocks agree on a direction and grey when they do not. The second is a board that runs the same calculation across a list of symbols on several timeframes at once. The board
Wave Trend Oscillator Scanner is two products in one file. The first is the Wave Trend oscillator itself, in this chart's own sub-window: the fast and slow wave lines and the histogram of their difference, coloured by whether momentum is expanding or fading, with divergence lines that can also be drawn on the price chart itself. The second is a board that runs the same calculation across a list of symbols on several timeframes at once. This is one of the two products in the family where the grad
Squeeze Momentum Scanner is two products in one file. The first is Squeeze Momentum MTF itself, in this chart's own sub-window: the momentum histogram coloured by expansion and fading, and the row of squeeze dots that says whether the Bollinger Bands are inside the Keltner Channel, outside it, or have just come out. The price increases every 10 purchases, the next price is $39 The second is a board that runs the same calculation across a list of symbols on several timeframes at once. A squeeze
Half Trend Scanner is two products in one file. The first is Half Trend itself, drawn on the chart in front of you: the stepped trend line that holds its level until the market takes it out, the ATR channel around it, and the flip arrows. The second is a board that runs the same calculation across a list of symbols on several timeframes at once. The board says which pairs have flipped and how recently; the chart under it shows you the line and the channel, so you do not have to attach a second i
UT Bot Scanner is two products in one file. The first is UT Bot MTF itself, drawn on the chart in front of you: the ATR trailing stop coloured by the side it is on, and the flip arrows, with the same four optional filters the single-chart product carries. The second is a board that runs the same calculation across a list of symbols on several timeframes at once. The board says which instruments have flipped and how recently; the chart under it shows you the trailing stop, so you do not have to a
Filter:
No reviews
Reply to review