Market Regime Detector

MORE TOOLS

All my indicators, Expert Advisors and utilities are listed here:

Market Regime Detector - Know Which Kind Of Market You Are In

A breakout method loses money in a range. A mean reversion method loses money in a trend. Neither method is broken; they are simply being used in the wrong conditions. Market Regime Detector names the current conditions so you can decide whether your approach fits them.

Three independent measurements are combined into one label, and the label only changes when the new state has held for long enough to be believed.

THE THREE MEASUREMENTS

Direction. ADX for trend strength, plus the relationship between a fast and a slow moving average and the separation between them expressed in ATR, so that the same threshold behaves sensibly on a quiet currency pair and on a volatile index.

Efficiency. The ratio of net movement to the total distance price actually travelled over the lookback. A value near one means a straight, purposeful move; a value near zero means the market covered a lot of ground and arrived nowhere.

Volatility. Current ATR against its own long average. This is a ratio rather than an absolute figure, which is what makes it comparable across instruments.

THE SEVEN STATES

STRONG TREND UP and STRONG TREND DOWN. Directional and efficient. Continuation methods suit these conditions.

WEAK TREND UP and WEAK TREND DOWN. There is a drift but it lacks conviction. Reduced size is a reasonable response.

RANGE. Not enough strength or efficiency to call it a trend. Fading the edges suits this better than trading breakouts.

VOLATILE. Expansion without direction. Stops need room, or the market needs to be left alone.

QUIET. Compression. Often precedes expansion, which makes it a poor time to force a trade and a good time to prepare.

THE CONFIRMATION FILTER

A raw classification changes constantly on live data, which makes it useless for decisions. Here a candidate state must repeat for a configurable number of bars before it replaces the accepted one. The label you read has therefore already proved it is stable.

MAIN INPUTS

ADX period, fast and slow moving average periods, ATR period, ATR baseline period and efficiency lookback. Thresholds for strong and weak ADX, minimum efficiency for a trend, and the ATR ratios that define volatile and quiet. Number of bars required to confirm a regime change. Panel with corner, offsets and font size. Optional colour strip on the chart showing the current regime at a glance. Separate colours for uptrend, downtrend, range, volatile and quiet. Alert on regime change with popup, sound and push notification.

TRADING IDEAS

Use it as a switch rather than a signal. Turn a breakout approach off in RANGE and a fading approach off in STRONG TREND, instead of trying to make one method work everywhere.

Treat QUIET as preparation time. Compression tends to resolve into expansion, so it is a reasonable moment to mark levels rather than to enter.

In VOLATILE conditions, consider whether your usual stop distance is still appropriate. The same stop that was sensible last week may now sit inside ordinary noise.

Compare the regime label with your own results. If your losses cluster in one regime, that is a filter you can apply rather than a flaw in your method.

Watch the efficiency reading on its own. A market can have a high ADX and still be inefficient, which usually means the trend is choppy enough to stop you out on the way to being right.

COMPATIBILITY

Works on any symbol and any timeframe. Analysis only: this indicator never sends, modifies or closes an order. The regime code, ADX, efficiency and volatility ratio are published to indicator buffers so an Expert Advisor or another indicator can read them.

More from author
Elliott Wave Principle MT4
Mohamed Amr Mohamed Osama Abdelwahab
**Trade the waves the way the book teaches — not by guesswork.** Meta Trader 5 version can be found at:  https://www.mql5.com/en/market/product/184530?source=Site +Market+My+Products+Page This indicator reads price structure and labels Elliott Wave impulses (1-2-3-4-5) and corrections (A-B-C) automatically, then shows you exactly where the next wave is likely to go and where the book says the trade is. It is built directly on *Elliott Wave Principle — Key to Market Behavior*   by A.J. Frost &
No Chase Entry Filter MT4
Mohamed Amr Mohamed Osama Abdelwahab
5 (1)
No Chase Entry Filter - Entries That Are Not Late Many losing trades are not wrong about direction. They are late. The idea was sound, the entry came after the move had already happened, and the stop was hit on an ordinary pullback that a better price would have survived. No Chase Entry Filter marks buy and sell entries from market structure, and refuses the ones taken at a bad price. A green dot means buy from here. A red dot means sell from here. A coloured level marks where the trade is cl
Perfect VWAP Pro M4
Mohamed Amr Mohamed Osama Abdelwahab
Perfect VWAP Pro - Anchored VWAP, Session Anchoring and Band Squeeze Detection Most VWAP indicators calculate one thing: a rolling average over the last N bars. Perfect VWAP Pro adds the two calculations that professional traders actually ask for, a true anchored VWAP and a session anchored VWAP, and then measures what the deviation bands are doing rather than only drawing them. THREE CALCULATION MODES Anchored. Choose any date and the average accumulates forward from that point and never re
Perfect VWAP MT4
Mohamed Amr Mohamed Osama Abdelwahab
**Perfect VWAP** is a highly professional technical analysis tool designed for MetaTrader 5 that brings a modern twist to traditional Volume Weighted Average Price trading. Unlike standard VWAP indicators that reset at the beginning of each day, session, or week, this indicator utilizes a **Rolling Window approach**. It calculates VWAP dynamically over a user-defined moving period, rendering a smooth, uninterrupted curve perfectly suited for both intraday scalping and long-term swing trading.
FREE
Elliott Wave Principle
Mohamed Amr Mohamed Osama Abdelwahab
**Trade the waves the way the book teaches — not by guesswork.** This indicator reads price structure and labels Elliott Wave impulses (1-2-3-4-5) and corrections (A-B-C) automatically, then shows you exactly where the next wave is likely to go and where the book says the trade is. It is built directly on *Elliott Wave Principle — Key to Market Behavior* by A.J. Frost & Robert Prechter, and it is faithful to the source: the four inviolable wave rules are enforced at 100%, so a count that isn't
Perfect VWAP
Mohamed Amr Mohamed Osama Abdelwahab
MT4 version:  https://www.mql5.com/en/market/product/186266 **Perfect VWAP** is a highly professional technical analysis tool designed for MetaTrader 5 that brings a modern twist to traditional Volume Weighted Average Price trading. Unlike standard VWAP indicators that reset at the beginning of each day, session, or week, this indicator utilizes a **Rolling Window approach**. It calculates VWAP dynamically over a user-defined moving period, rendering a smooth, uninterrupted curve perfectly suit
FREE
Kaufman Pairs Spread MT4
Mohamed Amr Mohamed Osama Abdelwahab
Professional Expert Advisor for MetaTrader, implementing proven trading methods Market-neutral spread trading: when the z-score of the ratio between two correlated symbols stretches, it shorts the rich leg and buys the cheap one, exiting near the mean. Inputs: - InpSymbolA — first leg symbol - InpSymbolB — second leg symbol - InpLookback — z-score lookback in bars - InpEntryZ — entry z-score threshold - InpExitZ — exit z-score threshold - InpLotsA — lot size for each leg - InpMagic — magic nu
Chart Patterns full
Mohamed Amr Mohamed Osama Abdelwahab
Chart Patterns in Depth — Professional Pattern Detector Chart Patterns in Depth automatically detects, draws and manages the 16 classic chart pattern variants used by professional price-action traders: Symmetrical, Ascending and Descending Triangles, Head & Shoulders and its Inverse, Cup & Handle and its Inverse, Falling and Rising Wedges, Bullish and Bearish Rectangles, Flags, Pennants, Double Tops/Bottoms and Triple Tops/Bottoms. Unlike simple pattern scanners, this indicator implements a c
Gann S9 Pro Signals and Star MT4
Mohamed Amr Mohamed Osama Abdelwahab
5 (1)
**Gann Square of Nine 2 — Advanced Price & Time Forecaster** MT5 version: https://www.mql5.com/en/market/product/183730?source=Site +Market+My+Products+Page The Square of Nine is one of W.D. Gann's most powerful forecasting tools. This indicator is a complete second-generation implementation for MetaTrader 5, built directly on Patrick Mikula's "The Definitive Guide to Forecasting Using W.D. Gann's Square of Nine." It adds a full interactive toolbar, a trading signals panel, a Gann Star diagram,
Cycle Channel Index
Mohamed Amr Mohamed Osama Abdelwahab
Professional indicator for MetaTrader, implementing proven trading methods Shows where price sits inside the channel of the dominant market cycle, normalized 0-100, with a signal line. Inputs: - InpCyclePeriod — dominant cycle length in bars - InpSignalPeriod — signal line smoothing Trading ideas: - Buy near 20 and sell near 80 in ranging markets. - Tune the cycle length to your symbol's natural rhythm. Works on any symbol and timeframe. No DLLs, no external dependencies. Contact me after
MO Exit Manager
Mohamed Amr Mohamed Osama Abdelwahab
**Exit Manager — trail and close your trades by rule** Exit Manager takes over the exits on trades you already have open. You open positions however you like — by hand, from a signal, or from another EA — and this one manages them out with three rules you can mix: a peak-based Trailing Take-Profit, a Time-in-Trade close, and an ATR-trailing stop. It never opens a position. It only trails and closes the ones on the current symbol (all of them, or just one magic number), so it slots cleanly on
FREE
Gann S9 Pro Signals and Star
Mohamed Amr Mohamed Osama Abdelwahab
5 (1)
**Gann Square of Nine 2 — Advanced Price & Time Forecaster** MT4 version: https://www.mql5.com/en/market/product/184390?source=Site +Market+My+Products+Page Gann arranged numbers in a spiral. Moving one full rotation (360 degrees) around the spiral changes the square root of the value by 2. From any anchor price, the levels at 45-degree steps around the spiral act as natural support and resistance. The cardinal cross (0/90/180/270) and the diagonal cross (45/135/225/315) are the strongest ang
MO Exit Manager MT4
Mohamed Amr Mohamed Osama Abdelwahab
**Exit Manager — trail and close your trades by rule** Exit Manager takes over the exits on trades you already have open. You open positions however you like — by hand, from a signal, or from another EA — and this one manages them out with three rules you can mix: a peak-based Trailing Take-Profit, a Time-in-Trade close, and an ATR-trailing stop. It never opens a position. It only trails and closes the ones on the current symbol (all of them, or just one magic number), so it slots cleanly on
FREE
Big Candle Scanner Dashboard MT 4
Mohamed Amr Mohamed Osama Abdelwahab
What's new in version 2: - On-chart control panel: every feature is now one click away, draggable anywhere on the chart, position is saved - Candle count per period: show 1..N candles (1 = current, 2 = current + last, ...) for Daily, Weekly, Monthly and Yearly independently - New color scheme: ONE color per period — bullish candles use the light shade, bearish the dark shade of the same color - On-chart color palette: change any period's color with one click, no settings dialog needed - FILL but
Harmonic Strategy Suite Pro MT4
Mohamed Amr Mohamed Osama Abdelwahab
HARMONIC STRATEGY SUITE PRO MT5 Harmonic Strategy Suite Pro   is a technical indicator and strategy-evaluation dashboard designed for MT5. Unlike basic pattern finders that only plot lines, this indicator features a built-in on-chart backtester that simulates professional trade execution, calculates precise target probability metrics, and dynamically adapts its layout for maximum readability.  KEY FEATURES Interactive Draggable Dashboard:   Tracks real-time statistical metrics (Passed Entries, T
Kaufman Momentum Divergence MT4
Mohamed Amr Mohamed Osama Abdelwahab
Professional indicator for MetaTrader, implementing proven trading methods Automatically finds swing points where price and momentum disagree and draws the divergence lines and arrows on the chart. Inputs: - InpMomPeriod — momentum period - InpSwingBars — bars on each side to confirm a swing point - InpDrawLines — draw divergence lines on the chart Trading ideas: - Use bearish divergence to tighten stops or take profit on longs. - Combine with support/resistance for reversal entries. Works
N Day Breakout MT4
Mohamed Amr Mohamed Osama Abdelwahab
Professional Expert Advisor for MetaTrader, implementing proven trading methods Trades N-bar channel breakouts, but only when the Efficiency Ratio confirms a trending market. ATR-based stops and optional risk-percent position sizing. Inputs: - InpBreakoutPeriod — breakout channel lookback in bars - InpERPeriod — Efficiency Ratio period - InpERThreshold — minimum ER value to allow entries - InpLots — fixed lot size - InpRiskPercent — risk per trade in % of balance (0 = fixed lots) - InpATRPeri
Momentum Divergence MT4
Mohamed Amr Mohamed Osama Abdelwahab
Momentum Divergence EA Expert Advisor for MetaTrader that trades momentum divergence on confirmed swing points. The EA carries the full indicator logic inside it. There is no iCustom call, no DLL and no external dependency: the .ex4/.ex5 file contains everything it needs to run. HOW IT WORKS On each new bar the EA looks for the most recent swing point that can be confirmed by completed bars on both sides, then compares it with the previous swing of the same kind: - Bearish divergence: pric
Market Regime Detector MT4
Mohamed Amr Mohamed Osama Abdelwahab
MORE TOOLS All my indicators, Expert Advisors and utilities are listed here: https://www.mql5.com/en/users/amrosama77/seller Market Regime Detector - Know Which Kind Of Market You Are In A breakout method loses money in a range. A mean reversion method loses money in a trend. Neither method is broken; they are simply being used in the wrong conditions. Market Regime Detector names the current conditions so you can decide whether your approach fits them. Three independent measurements are co
FREE
Resistances and Support
Mohamed Amr Mohamed Osama Abdelwahab
**Resistances and Support — Strength-Rated Zones with Alerts** Resistance and support are among the most important factors when you enter the market. This indicator automatically finds them for you and shows how strong each one is. Instead of plain lines, it draws support and resistance as ZONES, because price reacts to areas, not exact prices. Each zone is rated by how many times price has respected it — the stronger the zone, the bolder it is drawn. You instantly see which levels matter mos
Big Candle Scanner Dashboard
Mohamed Amr Mohamed Osama Abdelwahab
**The Big Candle — Higher-Timeframe Candles Overlaid on Your Chart** See the daily, weekly, monthly and yearly candles directly on your trading chart, without ever switching timeframe. The Big Candle draws large higher-timeframe candles as semi-transparent overlays at their real open, high, low and close levels. Bigger periods sit fainter and wider behind smaller ones, giving you an instant map of the market structure across timeframes — all on one screen. **What it shows:** - Daily, Weekly,
Harmonic Strategy Suite Pro MT5
Mohamed Amr Mohamed Osama Abdelwahab
HAMONIC STRATEGY SUITE PRO MT5 Harmonic Strategy Suite Pro   is a technical indicator and strategy-evaluation dashboard designed for MT5. Unlike basic pattern finders that only plot lines, this indicator features a built-in on-chart backtester that simulates professional trade execution, calculates precise target probability metrics, and dynamically adapts its layout for maximum readability. KEY FEATURES Interactive Draggable Dashboard:   Tracks real-time statistical metrics (Passed Entrie
Kaufman Momentum Divergence
Mohamed Amr Mohamed Osama Abdelwahab
Professional indicator for MetaTrader, implementing proven trading methods Automatically finds swing points where price and momentum disagree and draws the divergence lines and arrows on the chart. Inputs: - InpMomPeriod — momentum period - InpSwingBars — bars on each side to confirm a swing point - InpDrawLines — draw divergence lines on the chart Trading ideas: - Use bearish divergence to tighten stops or take profit on longs. - Combine with support/resistance for reversal entries. Works
N Day Breakout
Mohamed Amr Mohamed Osama Abdelwahab
Professional Expert Advisor for MetaTrader, implementing proven trading methods Trades N-bar channel breakouts, but only when the Efficiency Ratio confirms a trending market. ATR-based stops and optional risk-percent position sizing. Inputs: - InpBreakoutPeriod — breakout channel lookback in bars - InpERPeriod — Efficiency Ratio period - InpERThreshold — minimum ER value to allow entries - InpLots — fixed lot size - InpRiskPercent — risk per trade in % of balance (0 = fixed lots) - InpATRPeri
Kaufman Pairs Spread
Mohamed Amr Mohamed Osama Abdelwahab
Professional Expert Advisor for MetaTrader, implementing proven trading methods Market-neutral spread trading: when the z-score of the ratio between two correlated symbols stretches, it shorts the rich leg and buys the cheap one, exiting near the mean. Inputs: - InpSymbolA — first leg symbol - InpSymbolB — second leg symbol - InpLookback — z-score lookback in bars - InpEntryZ — entry z-score threshold - InpExitZ — exit z-score threshold - InpLotsA — lot size for each leg - InpMagic — magic nu
No Chase Entry Filter
Mohamed Amr Mohamed Osama Abdelwahab
No Chase Entry Filter - Entries That Are Not Late Many losing trades are not wrong about direction. They are late. The idea was sound, the entry came after the move had already happened, and the stop was hit on an ordinary pullback that a better price would have survived. No Chase Entry Filter marks buy and sell entries from market structure, and refuses the ones taken at a bad price. A green dot means buy from here. A red dot means sell from here. A coloured level marks where the trade is cl
Perfect VWAP Pro
Mohamed Amr Mohamed Osama Abdelwahab
Perfect VWAP Pro - Anchored VWAP, Session Anchoring and Band Squeeze Detection Most VWAP indicators calculate one thing: a rolling average over the last N bars. Perfect VWAP Pro adds the two calculations that professional traders actually ask for, a true anchored VWAP and a session anchored VWAP, and then measures what the deviation bands are doing rather than only drawing them. THREE CALCULATION MODES Anchored. Choose any date and the average accumulates forward from that point and never re
Momentum Divergence MT5
Mohamed Amr Mohamed Osama Abdelwahab
Momentum Divergence EA Expert Advisor for MetaTrader that trades momentum divergence on confirmed swing points. The EA carries the full indicator logic inside it. There is no iCustom call, no DLL and no external dependency: the .ex4/.ex5 file contains everything it needs to run. HOW IT WORKS On each new bar the EA looks for the most recent swing point that can be confirmed by completed bars on both sides, then compares it with the previous swing of the same kind: - Bearish divergence: pric
Filter:
No reviews
Reply to review