VibeFox Market Regime
- Indicators
- Version: 1.20
- Updated: 2 July 2026
- Activations: 5
VibeFox Market Regime — composite regime filter for trend, range and transition
VibeFox Market Regime is a real-time market context indicator for MetaTrader 5. It calculates a composite Trend Quality Score from 0 to 100 on every bar and classifies the current market into one of four regimes: TREND, RANGE, VOLATILE or NEUTRAL. The score is plotted as a colored line in a separate subwindow; a cross marker appears on the price chart at every regime change. The indicator does not produce BUY or SELL signals — it answers a prior question: what kind of market is this right now?
What the Trend Quality Score measures
The score is a weighted composite of three independent components, each measuring a different dimension of market structure. Together they produce a single number that reflects whether the market is moving with purpose, drifting without direction, or simply churning with noise.
ADX component — trend strength
The ADX (Average Directional Index) component measures how strong the prevailing directional move is, regardless of its direction. A high ADX reading means price is moving consistently in one direction; a low ADX means the market is going nowhere. The ADX Period parameter controls the lookback. The Weight ADX parameter scales how much this component contributes to the final score relative to the other two.
ATR component — relative volatility
The ATR (Average True Range) component measures the current volatility relative to its own history — specifically as a percentile of recent ATR values. High relative volatility often accompanies breakouts and strong trends; low relative volatility is a hallmark of a compressed, ranging market. The ATR Period parameter controls the lookback. The Weight ATR parameter sets its contribution to the composite score.
ER component — move purity
The ER (Kaufman Efficiency Ratio) component measures how directly price is moving from A to B — the ratio of the net displacement to the total path length. An ER close to 1 means price moved in a nearly straight line; an ER near 0 means it wandered back and forth covering the same ground repeatedly. This is the purest measure of trend quality: a market can have strong ATR and a moderate ADX but still be choppy if the ER is low. The ER Period parameter controls the lookback. The Weight ER parameter sets its contribution.
How the score is calculated and regimes are assigned
Each component is normalised to the 0–100 range and then combined using a weighted average. The three weights — W_ADX, W_ATR and W_ER — default to 1.0 each, giving the components equal influence. Raising one weight shifts the composite toward that dimension of market structure. Setting a weight to zero removes that component entirely.
Two thresholds divide the 0–100 scale into classification zones. When the composite score is at or above Trend Threshold (default 60), the regime is classified as TREND. When the score is at or below Range Threshold (default 40), the regime is classified as RANGE. The band between the two thresholds is a transition zone: bars there are classified as VOLATILE (high ATR but low ER — choppy expansion) or NEUTRAL (moderate readings, no clear structural bias). The threshold lines are drawn as dashed horizontal levels directly on the score line, so the classification boundary is always visible.
The score line is drawn in four distinct colors to make the regime readable at a glance: green for TREND, gray for RANGE, orange for VOLATILE and blue for NEUTRAL.
ALERT — regime change notifications
Regime change marker
Every time the classified regime changes on a closed bar — for example from RANGE to TREND — a cross marker is placed on the price chart at that bar's location. The color of the marker matches the new regime, so a green cross means the market has just entered TREND and a gray cross means it has just entered RANGE. Markers represent transitions, not entries: they tell you the context has changed, not that you should act on it immediately.
The Alert toggle in the ALERT group switches marker drawing on or off. When Alert is on, historical markers for all regime changes in the visible chart history are drawn; when it is off, no markers are shown. The Size field next to the toggle controls the marker size from 1 to 5.
VibeFox Market Regime is a filter and context layer, not a directional entry signal. A regime change from RANGE to TREND does not mean buy; it means the market has entered conditions where trend-following strategies are more likely to work. Use this information together with your directional system, not instead of it.
Visual control
The score line occupies a fixed 0–100 scale in a separate subwindow. Three horizontal dashed levels are always present: the Trend level at the Trend Threshold, the Range level at the Range Threshold, and a neutral Mid level at 50. The line color changes bar by bar as the regime shifts, so the entire history of regime states is readable from the line alone. The live regime name and current score value are displayed as a readout inside the panel.
Interactive on-chart panel
The entire interface is a smooth canvas-based panel built for fast mouse control. All parameters are gathered into tidy rows in three columns. The panel header holds the control icons.
Power — turns the score line, markers and signals on and off without removing the indicator from the chart.
Settings (gear) — opens and closes the settings section.
Updown (arrows) — moves the panel between a separate subwindow and the main chart.
Close (cross) — closes the indicator.
Resizable — drag the bottom-right corner to scale the panel.
Collapsible — a double click on the header collapses the panel into a compact strip.
Mouse wheel — hover over any numeric field and scroll the wheel 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: a light, dark or automatic Theme, an adjustable panel width, header size, row height and font size. Extra touches let you hide the bottom bar via Hide Footer, shrink the header when collapsed with Mini Header, and automatically collapse the panel on a click outside it. Almost every parameter changes live right on the panel — the input fields on the Inputs tab only set the starting values. You can also run several independent copies on one chart by giving each a unique Instance number, to monitor different period combinations side by side.
Regime change notifications
You do not need to watch the chart waiting for a regime transition. Each change can be sent through several notification channels that are enabled independently right on the panel.
Alert — a pop-up message inside the terminal.
Push — a mobile notification to the MetaTrader app on your phone.
Email — a letter 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 the market transitions from one regime to another on the symbol and timeframe you are working with.
Visual history — Html report
Enable the Html channel, and every regime change notification is saved to an HTML report together with a screenshot of the chart at the moment it fired. The report is stored in the terminal's Files folder, in the VibeFox_MarketRegime directory, and opens in any browser — giving you a visual log of every regime transition the indicator detected. A one-click trash button clears the report and its screenshots 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 multilingual help
A full help page is built into the panel, 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 startup.
Score
ADX Period — lookback period for the ADX component, range 1..200. Default: 14.
ATR Period — lookback period for the ATR relative-volatility component, range 1..200. Default: 14.
ER Period — lookback period for the Kaufman Efficiency Ratio component, range 1..200. Default: 10.
Weights / Thresholds
W_ADX (trend-strength weight) — relative weight of the ADX component in the composite score, range 0.0..10.0. Default: 1.0.
W_ATR (volatility weight) — relative weight of the ATR relative-volatility component, range 0.0..10.0. Default: 1.0.
W_ER (move-purity weight) — relative weight of the Kaufman ER component, range 0.0..10.0. Default: 1.0.
Trend Threshold (score>=) — composite score at or above which the regime is classified as TREND, range 0..100. Default: 60.
Range Threshold (score<=) — composite score at or below which the regime is classified as RANGE, range 0..100. Default: 40.
Entry Points
Regime Change signal — enables regime change cross markers on the price chart. Default: off.
Marker Size (1-5) — size of the regime change marker on the chart. Default: 2.
Notifications
Push Notification — push notification to the mobile MetaTrader terminal. Default: off.
Alert Popup — Alert pop-up window inside the terminal. Default: off.
Email — a letter through the terminal's mail settings. Default: off.
Html Report — saves every regime change with a screenshot to an HTML report (Files folder, VibeFox_MarketRegime 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 — color theme: Auto (follows chart), Dark or Light. Default: Auto.
Row height (px) — panel row height in pixels. Default: 34.
Font size — panel font size. Default: 8.
Hide Footer — hide the panel's bottom bar. 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 startup: Subwindow or Chart. Default: Subwindow.
