Volatility Regime Switchtrend when it is quiet, fade when it is loud
A tempting idea: measure the volatility regime, and run a trend strategy in one regime and a mean-reversion strategy in the other. Two books of this library, switched by one number.
It is in the library because people ask for it and because the reasoning is not stupid. It is rated Weak because the evidence for the switch is much thinner than the evidence for either strategy on its own, and because every version of it has a parameter that decides everything — the threshold — which is exactly where results get fitted to the past.
Read this one as a research direction rather than a finished method.
- Category
- Volatility · Regime
- Timeframe
- H4 regime · H1 execution
- Suitable pairs
- EURUSD · USDJPY · XAUUSD
- Session
- London and New York
- Indicators / tools
- ATR(14) against its own 100-bar median · ADX(14) · EMA(50)
Valid setup
Exact rules
Entry
- Regime test at every H4 close: ATR(14) below its 100-bar median is the quiet regime, above is the loud regime.
- Quiet regime — trade continuation: enter on a pullback to the EMA(50) in the direction of the H4 trend.
- Loud regime — trade reversion: enter against a two-ATR excursion from the EMA(50), only when the ADX is below 25.
- Never hold a position through a regime change. Close it and re-assess; a trade taken under one rule set cannot be managed under the other.
Stop loss
- Quiet regime: 1.0 × ATR(14) beyond the pullback extreme.
- Loud regime: 1.5 × ATR(14) beyond the excursion extreme. Wider, because a loud market will retest.
- Risk 0.5% either way.
Take profit / exit
- Quiet regime: trail the EMA(50). These are the trades worth holding.
- Loud regime: the EMA(50) itself, as a fixed target. Do not trail a reversion trade.
- Both: flat before the regime is re-tested at the next H4 close if the trade has not moved.
Build Volatility Regime Switch
Reading this page is free and always will be. Taking it is what costs — the complete MQL5 for the rules above, yours to keep, permanently. Five of them cost $10 and they never expire.
More from Volatility
Trading carries risk and most retail accounts lose money. Nothing on this page is financial advice or a recommendation to trade. The chart is an illustration of the rules on constructed candles — it is not a record of a trade and not a backtest.
