VibeFox Nadaraya Watson Envelope
- Indicators
- Version: 1.10
- Updated: 2 July 2026
- Activations: 5
VibeFox Nadaraya-Watson Envelope — kernel regression channel and bounce signals
VibeFox Nadaraya-Watson Envelope is a non-parametric smoothing indicator for MetaTrader 5. It builds a smooth kernel regression curve and symmetrical envelope bands directly on the price chart, giving you a clear visual channel for trend direction, channel boundaries, and bounce-based entry signals. Everything is controlled through one smooth interactive canvas panel without opening the terminal's input dialog.
What Nadaraya-Watson Envelope measures
The Nadaraya-Watson estimator is a classic non-parametric statistical method that estimates the conditional mean of a variable using a weighted average of observations. In trading, it is applied to price history: each bar's price is weighted by a kernel function that assigns higher weight to nearby bars and lower weight to distant ones. The result is a smooth regression line (Center) that adapts to price structure without fixed period assumptions.
Above and below the center line the indicator plots two envelope bands (Upper and Lower). The distance of the bands from the center is controlled by the Multiplier parameter, scaled by the average deviation of price from the regression. Two kernel types are available: Gaussian gives a classic bell-curve weighting; Rational Quadratic is a scale mixture of Gaussians that reacts more softly to outliers.
Two calculation modes are available: Repaint mode updates the curve on every tick, adapting to incoming data in real time. Non-repaint mode fixes the last bar endpoint so the historical regression never changes after the bar closes.
Entry points
Envelope Bounce — BUY and SELL
The core signal is the Envelope Bounce: price touching or crossing the outer envelope bands. When price touches or crosses below the Lower band a BUY marker is placed on the price chart, indicating the market has stretched statistically to the downside relative to the kernel regression and a mean-reversion move upward is more probable. When price touches or crosses above the Upper band a SELL marker appears.
The Near tolerance (x ATR) parameter adds a proximity zone around each band. A signal fires not only on a direct touch but also when price comes within the specified multiple of ATR from the band, reducing missed signals caused by exact-touch requirements.
Visual control
The center line and envelope bands have independent color and transparency controls. Center Color and Center Transparency % style the regression line; Envelope Color and Envelope Transparency % style the upper and lower bands. Line Width (1-10) sets the pixel thickness of all drawn lines. All visual settings can be adjusted live on the panel without restarting the indicator.
Interactive panel on the chart
The entire interface is a smooth canvas panel designed for fast mouse interaction. All parameters are arranged in neat rows and the entry settings are highlighted with their own section header so signal controls are never confused with line appearance controls. The panel header contains the management icons.
Power — switches drawing of the indicator lines and signals on and off without removing the indicator from the chart.
Settings (gear icon) — opens and closes the settings panel.
Updown (arrows) — moves the panel between the sub-window and the main chart.
Close (cross) — removes the indicator from the chart.
Resizable — drag the bottom-right corner to scale the panel to any size.
Collapsible — double-click the header to collapse the panel to a compact strip.
Mouse wheel — hover over any numeric field and scroll to change the value without opening the keyboard.
Settings and personalisation
The Settings button opens a section where the panel is fitted to your workspace: light, dark or automatic Theme, configurable panel width, header size, row height and font size. Extra touches let you hide the footer strip via Hide Footer, show a compact header when collapsed with Mini Header, and auto-collapse the panel on a click outside it. Almost all parameters change live on the panel — the Inputs tab only sets starting values. You can also run several independent copies on the same chart by giving each a unique Instance number.
Entry notifications
You do not need to watch the chart waiting for a signal. Each entry can be delivered through several notification channels that are toggled independently on the panel.
Alert — a pop-up message inside the terminal.
Push — a mobile notification to the MetaTrader app on your phone.
Email — a message sent through the terminal's mail settings.
Telegram — the alert text together with a chart screenshot, sent straight to your Telegram chat.
Enable only the channels you need and you will be notified the moment a new entry appears on the symbol and timeframe you are monitoring.
Visual history — Html report
Enable the Html channel and every entry signal is saved to an HTML report together with a screenshot of the chart at the moment of the trigger. The report is stored in the terminal's Files folder, in the VibeFox_Nadaraya sub-directory, and opens in any browser — giving you a visual log of every entry the indicator has found. The trash button clears the report and its screenshots in one click whenever you want to start fresh.
Telegram Alerts
Signals can also be delivered straight to your Telegram chat — the alert text together with a screenshot of the chart at the moment of detection. Turn on the Telegram channel and enter your bot token and chat id in the inputs.
Delivery rides on the HTML report: each new signal is written into the report, and the report — opened in a browser — forwards it to your Telegram chat on its own. For this reason, enabling Telegram automatically keeps the Html report on, and the two channels work together.
Built-in multi-language help
A complete help page is built into the panel and available in 10 languages, so every control is explained right where you use it.
Parameters (Inputs tab)
Most settings can also be changed live directly on the panel (Settings button) — the input parameters only set the initial values at launch.
Kernel
Bandwidth h — kernel bandwidth controlling the degree of smoothing. Higher values produce a smoother, slower-reacting curve. Default: 8.0.
Multiplier — envelope width multiplier; scales the distance of the Upper and Lower bands from the center line. Default: 3.0.
Kernel type — type of kernel function: Gaussian or Rational Quadratic. Default: Gaussian.
Window size (bars per estimate) — number of historical bars used in each regression estimate. Default: 500.
Mode
Repaint mode — when false: non-repaint mode, the regression is fixed at the last completed bar and does not redraw history. When true: the curve updates on every tick. Default: false.
Visual
Center Color — color of the center regression line. Default: Gold.
Center Transparency % — transparency of the center line (0 = fully opaque). Default: 0.
Envelope Color — color of the upper and lower envelope bands. Default: DodgerBlue.
Envelope Transparency % — transparency of the envelope bands. Default: 35.
Line Width (1-10) — pixel thickness of all drawn lines. Default: 2.
Entry Points
Envelope Bounce signal — enables the Envelope Bounce signal: price touching the Lower band = BUY, touching the Upper band = SELL. Default: off.
Near tolerance (x ATR) — proximity zone around each band in ATR multiples; signals fire when price is within this distance from the band. Default: 0.25.
Notifications
Push Notification — push notification to the mobile MetaTrader app. Default: off.
Alert Popup — pop-up Alert window inside the terminal. Default: off.
Email — message sent through the terminal's mail settings. Default: off.
Html Report — saves each signal with a chart screenshot to an HTML report (Files folder, VibeFox_Nadaraya directory), opens in any browser. Default: off.
Telegram — send each signal to your Telegram chat (alert text plus a chart screenshot) through the HTML report. Default: off.
Telegram bot token — the token of your Telegram bot, used to send the messages.
Telegram chat id — the id of the Telegram chat that receives the signals.
Panel / Settings
Panel width, px (300..800) — panel width in pixels. Default: 800.
Header size (1..6) — header size. Default: 1.
Theme — colour theme: Auto (follows chart), Dark or Light. Default: Auto.
Row height (px) — row height of the panel in pixels. Default: 34.
Font size — panel font size. Default: 8.
Hide Footer — hide the bottom strip of the panel. Default: off.
Mini Header on collapse — show a mini header when the panel is collapsed. Default: off.
Close on click outside — collapse the panel on a click outside it. Default: off.
Instance (unique per copy: 1,2,3...) — instance number; allows multiple independent copies on the same chart. Default: 1.
Panel Start Window — where the panel opens at launch: Subwindow or Chart. Default: Subwindow.
