Regime Filtering
Regime Filtering
RISKMANAGEMENT
TABLE OF CONTENTS
I. What Is a Regime Filter and Why Does It Matter?
a. Raw ADX
b. Percentile ADX
a. Stop-Loss Multipliers
b. Take-Profit Multipliers
XII. Parameters
I. What Is a Regime Filter and Why Does It Matter?
You already know about regimes I do not have to explain them. But you should be using a
regime filter on your exits & entries.
This regime filter system is a risk management tool that reads the environment before anything
else happens. Before a trade is entered or exited, before a stop-loss or take-profit level is
calculated, the regime system runs first. This is the opposite of curve-fitting or over-fitting, this is
robust risk management.
Each active filter produces a multiplier. Multipliers above 1.0 mean the environment is
favourable for the trade. Multipliers below 1.0 mean conditions are hostile. These multipliers are
blended into two final outputs: how wide the stop-loss should be, and how far the take-profit
should reach.
Z-scores express a value as the number of standard deviations from a rolling mean. While
statistically elegant, they assume the underlying distribution is roughly normal – which market
data frequently is not. They also respond poorly to outliers: a single extreme reading shifts the
mean and inflates the standard deviation, suppressing z-scores for subsequent genuine extremes.
Raw percentiles are more robust, more interpretable, and more consistent across real market
conditions. They are the preferred approach throughout this system.
The answer is expressed as a percentile. A price at the 5th percentile means that 95% of all
historical prices for this pair were higher than today's price. It is an extremely low, extended
reading. A price at the 95th percentile means 95% of all historical closes were lower than
today – it is an extremely elevated, extended reading.
This is the rarest territory on the map. Fewer than 3% of all historical closes ever reached these
levels. When price is here, something significant is happening. Either the market is in a genuine
structural breakdown (or breakthrough), or it has been pushed to an extreme by panic selling (or
euphoric buying) that cannot be sustained. This zone demands attention regardless of which
strategy is running.
For a mean-reversion strategy, EXTREME-TAIL is terrifying. When you are trying to fade a
move (bet it reverses) and price keeps pushing further and further into the tail, you are losing
money and the system warns you that a full structural break may be underway. This is the zone
where mean-reversion strategies exit entirely, because the statistical rubber band has either
snapped or the whole playbook has changed.
TAIL (3rd to 10th percentile low side / 90th to 97th percentile high side)
Extended but not yet in the realm of structural breaks. Price has moved significantly from its
centre of gravity. At this level, markets often develop a natural urge to revert. Think of a rubber
band: the further you stretch it, the greater the tension pulling it back toward its natural length. A
price in the TAIL zone has significant rubber-band tension built up against it.
Mean-reversion strategies begin to get excited here. This is the outer edge of their preferred entry
range. Momentum strategies are still participating, but they begin to watch more carefully for
signs of exhaustion.
OUTER SHOULDER (10th to 20th percentile low side / 80th to 90th percentile high side)
This is the most strategically important zone in the entire price distribution system. It is the
"sweet spot" for mean-reversion entries. Price is far enough from its centre to have meaningful
statistical reversion potential, but not so far that structural break risk becomes dominant. The
risk-reward balance here is at its most favourable for counter-trend trades.
For mean-reversion strategies, this is the primary entry trigger zone. When price is in the
OUTER SHOULDER, the system increases stop-loss generosity slightly (because you expect
some overshoot before the reversal), and extends the take-profit all the way back toward the
centre of the distribution (the CORE zone).
Early signal territory. The market is showing a directional lean, but has not yet reached a
statistically meaningful extreme. Think of this as the market warming up to either a bigger
trending move or a reversion setup. It is not a high-conviction entry zone for either momentum or
mean-reversion, but it tells the system that conditions are developing in a particular direction.
The middle of the distribution. Price is exactly where it spends most of its time. There is no
statistical edge from the distribution alone here. Mean-reversion strategies do not want to enter
here because there is nowhere statistically compelling to revert from. Momentum strategies do
not want to close here because, if a real trend is running, the CORE is just a pit stop on the way
to a tail.
If price is at the OUTER SHOULDER (low side, 12th percentile), the system says: good
conditions for a reversion long. Stop goes just below the TAIL boundary. Target is the CORE.
Position size is at or near maximum for this strategy.
If price is at the CORE (50th percentile), the system says: no edge here from the distribution. The
mean-reversion strategy will not take this trade based on distribution alone, or will take a much
smaller size.
OUTER SHOULDER (high side, 85th percentile): momentum is building toward the tail. Good
conditions. Momentum strategy starts to size up.
EXTREME-TAIL (high side, 98th percentile): a powerful trend is confirmed by statistical rarity.
Momentum strategy is at maximum size, holding the position, waiting for trend exhaustion
signals from other regime filters before considering an exit.
Lens 1: EMA Stack Alignment. The system tracks three exponential moving averages: a
fast one (short-period), a medium one, and a slow one (long-period). When all three are
stacked in order – fast above medium above slow for an uptrend, fast below medium below
slow for a downtrend – it tells you the trend is organised, consistent, and not just a random
fluctuation. When the EMAs are tangled together or crossing each other, it means the
market is confused and directionless.
Lens 2: Slope of the Moving Averages. Even when the EMAs are properly stacked, the
slope of those averages tells you whether the trend is accelerating, cruising at a steady pace,
or running out of steam. A steeply rising fast EMA means price is moving aggressively. A
nearly flat fast EMA means the trend is barely alive, even if it technically still exists.
Lens 3: Higher Highs and Higher Lows (or Lower Highs and Lower Lows). This is the most
traditional and time-honoured definition of a trend. In an uptrend, every swing high is
higher than the previous swing high, and every pullback low is higher than the previous
pullback low. In a downtrend, the opposite is true. This lens operates independently of
moving averages, so it can confirm (or contradict) what the EMA stack is showing.
TREND PERCENTILES:
STRONG-UPTREND
All three conditions are met simultaneously. The fast EMA is above the medium, which is above
the slow. Price itself is sitting above all three, like a ball resting on top of a tiered set of
platforms. ADX (the trend strength indicator, covered in the next section) is above 40, which
means there is real power behind the move. The market is making higher highs and higher lows.
This is the clearest, most powerful bullish signal the system can generate. Momentum strategies
go to maximum size here.
UPTREND
The market is directionally bullish, but not every condition is perfectly met. Perhaps the EMA
stack is bullish and price is above the slow EMA, but ADX is between 25 and 40 rather than
above 40. Or perhaps two of the three lenses are clearly bullish and the third is borderline. It is a
clear uptrend, just not at maximum power. Momentum strategies size up, but not to the absolute
maximum.
WEAK-UPTREND
Some bullish signals exist but ADX is between 15 and 25, which means the trend is there but the
engine behind it is weak. It could strengthen into a full uptrend, or it could fade back into a
sideways range. Both momentum and mean-reversion strategies approach this zone with caution.
Position sizes are moderate.
RANGING
ADX is below 15, meaning there is essentially no directional trend. Price is going nowhere. The
EMA stack may be tangled. There are no consistent higher highs or lower lows; the market is
oscillating back and forth. This is the worst environment for momentum strategies (they will get
chopped apart by whipsaws) and one of the best environments for mean-reversion strategies (the
market keeps returning to its centre).
TREND-REVERSAL-UP or TREND-REVERSAL-DOWN
The system has detected that the trend was previously pointing clearly in one direction, and has
now flipped. This is a transitional state and typically one of the most volatile and dangerous ones.
When a downtrend reverses into an uptrend, there is usually a period of confusion where both
bulls and bears are fighting for control. Stops get hit more frequently during reversals because
the market does not move cleanly in the new direction yet. The system responds by slightly
tightening stops and reducing targets during this phase.
TREND-EXHAUSTION
This is a special and important label. It is triggered when the system was reading
STRONG-UPTREND (or STRONG-DOWNTREND) and then suddenly the trend drops to
WEAK in just a few candles. The freight train was moving at full speed and suddenly the engine
cut out. Price has not reversed yet, but the momentum has dried up. This is frequently the
precursor to a major reversal. The system responds aggressively: stop-loss multiplier drops to
0.7x (tighten the stop significantly), take-profit multiplier drops to 0.6x (take profit sooner, do
not wait for the usual target). Get out before the full reversal hits.
This makes ADX extraordinarily valuable. It is the answer to the question: "Is anything
happening right now, or is the market just making noise?"
ADX was created by J. Welles Wilder and published in his 1978 book New Concepts in
Technical Trading Systems. Despite being nearly 50 years old, it remains one of the most
robust and widely used trend strength indicators available.
Mathematically, ADX is derived from two sub-components called the Positive Directional
Indicator (+DI) and the Negative Directional Indicator (-DI). ADX is the smoothed, absolute
average of the relationship between these two. The higher the ADX, the more decisively one side
(buyers or sellers) is winning the daily battle. A low ADX means both sides are roughly equal,
resulting in a chopping, indecisive market.
The system implements ADX classification in three different methods because no single method
is perfect in all situations. You can use whichever method best fits your data:
This is the prime zone for momentum strategies. The trend has clear strength but is not yet at the
potentially-exhausted extreme. Price is moving with purpose. Pullbacks within this trend are
normal and should be expected without alarming the system. Momentum strategies are awarded
the maximum standard size multiplier here (1.30x). Mean-reversion strategies, on the other hand,
see this as hostile territory (0.60x), because fading a market with an ADX of 45 is fighting a
moving freight train.
A standard trending environment. This is where markets spend a reasonably large fraction of
their time when they are not ranging. Directional bias is clear but the trend is not unusually
strong. Both momentum (1.10x) and carefully positioned mean-reversion (0.90x) strategies can
operate here, though neither is at its best. Momentum has a slight edge but must keep stops
wider.
Trend is present but barely. The signal is mixed. Momentum strategies should reduce their size
(0.80x) because the weak trend increases the probability of a whipsaw – price reversing suddenly
and stopping you out before the real move occurs. Mean-reversion starts to become viable
(1.10x) because the low trend strength means the market is more likely to oscillate than trend.
Below the threshold of a meaningful trend. The market is ranging, generating noise, and making
it very easy to get stopped out repeatedly on trend-following entries. This is one of the most
dangerous environments for momentum strategies (0.50x size – cut in half). It is simultaneously
prime territory for mean-reversion (1.30x), because a choppy market is one where buying low
and selling high works consistently.
The percentile approach solves this by replacing fixed thresholds with relative ones. Instead of
asking "is ADX above 40?" it asks "is today's ADX in the top 25% of ADX readings seen for this
instrument over the past 100 periods?"
The ADX value is ranked inside a rolling window to produce a percentile from 0 to 100. A
percentile of 90 means today's ADX is higher than 90% of all ADX readings in the recent
window. A percentile of 10 means ADX is lower than 90% of recent readings.
ADX is at its highest 10% over the rolling window. Whatever this market considers a powerful
trend, it is in one right now. This is historically elevated trend strength for this specific
instrument, regardless of what the raw ADX number happens to be.
Trend strength is in the top quarter of recent history. This is consistently the best zone for
momentum strategies because it represents genuine elevated trend strength relative to this
market's own norms.
Below-average trend strength for this instrument right now. Caution for trend-following.
ADX is at its historical minimum for this lookback window. The most dormant conditions this
instrument typically produces.
The percentile method is generally preferred over raw thresholds because it adapts automatically
to each instrument and to changing market regimes over time.
For momentum strategies: high trend strength means the market will make deep pullbacks
within the trend. Set a tight stop in a HIGH-TRENDING market and you will be stopped
out on every normal retracement before the trend continues. HIGH-TRENDING gets a
1.30x stop multiplier – widen the stop to accommodate the typical pullback depth of a
trending market. CHOPPY markets use a tight stop (0.50x) because if a momentum trade
fails in a choppy market it fails fast, and there is no reason to give it room to bleed.
For mean-reversion strategies, the logic inverts: high trend strength is dangerous for
fading. A market with ADX of 45 can stay statistically overextended far longer than any
model expects. The stop must be tighter (0.60x) because if the reversion thesis is wrong, you
want out quickly rather than letting a trending market run the stop far from entry.
Consider two markets, both with an ADX of 40 (HIGH-TRENDING). The first market has been
grinding steadily higher over 60 candles, moving about 0.3% per candle. The second market
spiked up 8% in a single candle after a news announcement. Both have similar ADX readings
because both have produced consistent directional movement. But the slope of the second market
is dramatically steeper. That slope tells you something ADX does not: the second market is
moving at a pace that is probably unsustainable.
Slope is the speedometer. ADX is the odometer. Both tell you something true; together they tell
you more than either does alone.
Dividing by current price is important because it makes the measurement comparable across
different instruments. A price move of $1 on a $10 stock is 10% – massive. A price move of $1
on a $1,000 instrument is 0.1% – trivial. The normalised slope removes this distortion.
Like ADX, slope can be classified using raw values, rolling percentiles, or z-scores. The
percentile approach is typically most useful because it adapts to each market's normal speed.
SLOPE PERCENTILES:
EXTREME-STEEP-UP (slope above 2% per period, or above 95th percentile)
Price is moving parabolicly upward. This is the market equivalent of a vertical line. Parabolic
moves are visually dramatic and emotionally exciting, but they are inherently unstable. No
market can move in a straight vertical line indefinitely. At some point the buyers exhaust
themselves and there is no one left to buy at the elevated prices. The result is typically a sharp
and sudden reversal.
Both momentum and mean-reversion strategies treat EXTREME-STEEP-UP with caution. For
momentum, the size multiplier is actually reduced (0.70x for longs) compared to the optimal
zone, because entering a parabolic move is high-risk. For mean-reversion, this is a potential entry
signal for a reversal trade, but only with very tight risk controls.
Strong, sustained upward momentum. Price is moving fast but not yet at parabolic extremes. This
is the sweet spot for momentum strategies entering or holding long positions. The move has
speed and conviction. In breakout mode, STEEP-UP gets the highest size multiplier of all slope
categories (1.40x), because a steep slope on a confirmed breakout is about as high-conviction a
signal as exists.
A healthy, sustainable uptrend slope. Price is moving up steadily but not rushing. This is actually
the optimal zone for long-term momentum hold trades because MODERATE-UP slopes tend to
persist longer than STEEP-UP slopes. The trade has room to continue running without imminent
parabolic reversal risk. Take-profit multiplier is at its highest here for standard momentum
(1.30x).
For stop placement, the most important questions are about trend strength and multi-timeframe
confirmation – is this trade fighting a bigger trend, and is there real momentum behind it? Slope
is less relevant for stops because even a slow-moving trade can have its stop hit if the trend
reverses; speed alone does not determine stop risk.
For take-profit placement, slope is paramount. The take-profit target represents how far price is
expected to travel. And the best predictor of how far price will travel is how fast it is currently
moving. A market with a STEEP slope is running hard; give it a bigger target. A market with a
FLAT slope is coasting; bring the target in.
VI. DI Spread Regime
The Scorecard Between Buyers and Sellers
The Positive Directional Indicator (+DI) accumulates and smooths the upward movement across
recent periods. It rises when today's high exceeds yesterday's high, capturing the incremental
gains buyers are making. The Negative Directional Indicator (-DI) does the same for downward
movement, rising when today's low is lower than yesterday's low.
ADX, as covered in the previous section, is derived from the relationship between +DI and -DI.
But the DI Spread goes back to the source material and looks at the gap between the two
indicators directly:
A DI Spread of +25 means buyers have a 25-point advantage over sellers right now. A DI Spread
of -15 means sellers are winning by 15 points. A DI Spread near zero means the contest is
roughly even – no clear winner.
This is fundamentally different from ADX. ADX would be high in both a DI Spread of +25 and
a DI Spread of -25, because both represent strong directional movement. But the DI Spread
tells you the direction of that dominance. ADX tells you there is a war happening; DI Spread
tells you who is winning.
DI SPREAD PERCENTILES:
EXTREME-BULLISH (spread > 30, or above 95th percentile)
Buyers are completely dominating the market. The positive DI is more than 30 points above the
negative DI. This level of bullish dominance is historically rare. At this extreme, an interesting
paradox applies: such dominant buying pressure is a sign that buying is becoming exhausted.
When everyone who wants to buy has already bought, there is no one left to push price further.
The last of the bulls have been fully committed. Mean-reversion traders see
EXTREME-BULLISH as a potential entry for a short reversion trade. Momentum traders reduce
their long size slightly (0.80x) as a precaution against imminent reversal.
Mild bullish advantage. Buyers have an edge but not a dominant lead. Think of it as buyers
winning the weekly battle but not every individual day. Longs have a slight statistical advantage
here (1.20x for momentum).
The battle is roughly even. Neither buyers nor sellers have a meaningful advantage. Both sides
are trading blows and neither is landing the decisive blow. There is no DI Spread confirmation
for either long or short entries. The system applies neutral multipliers (1.00x) here.
Sellers have begun to take the upper hand. Not dramatically, but consistently enough to register.
A long trade entered in MODERATE-BEARISH conditions is entering against the current
directional pressure. Size is reduced (0.70x for momentum longs).
Clear bearish control. Sellers are winning decisively. This is a hostile environment for long
trades (0.40x size) and a confirming environment for short trades.
Sellers are completely dominating. The mirror image of EXTREME-BULLISH, and equally
paradoxical: such extreme selling may be approaching exhaustion. Momentum short traders are
slightly cautious here; mean-reversion long traders start watching for an entry.
High ADX + Strong Bullish DI: This is the gold standard confirmation for a momentum
long. ADX says the trend is strong; DI Spread says buyers are winning that trend. Size up
confidently.
High ADX + Neutral DI: Dangerous ambiguity. The trend is powerful but direction is
contested. This sometimes happens at major trend reversals where ADX is still elevated
from the previous trend while the new direction takes over. The system is cautious here.
High ADX + Strong Bearish DI for a long position: This is the most dangerous situation for
a long. The trend strength is real (high ADX) but it is a bearish trend (sellers winning the
DI battle). Being long here means you are directly fighting the current directional engine.
Size is cut severely.
Low ADX + Extreme Bullish DI: Buyers are pushing hard but the trend is not yet
established. This can be the early signal of a new trend developing. Watch carefully but do
not go to full size yet.
The system uses this implicitly through its momentum multipliers: as DI Spread transitions from
STRONG-BULLISH toward NEUTRAL, the size and target multipliers for longs decrease even
if price has not yet reversed.
The bigger the timeframe, the bigger the participants that use it. Hedge funds, institutions, and
central banks operate on daily and weekly charts. Swing traders operate on 4-hour and daily
charts. Day traders operate on 1-hour and 15-minute charts. When the daily chart is in a strong
downtrend, institutions are selling. Every bounce on the 1-hour chart is being sold into by forces
that are far larger than anything a 1-hour trader can muster. The 1-hour long trader is a small fish
swimming against an institutional current.
The HTF Alignment Score measures how much of that institutional current is with you or against
you.
- Is momentum (measured by ADX and slope on the higher timeframe) confirming the direction?
Each higher timeframe produces a sub-score from -100 to +100. These sub-scores are weighted
(nearer timeframes get more weight than distant ones, but all contribute) and combined into the
single HTF Alignment Score.
A score of +80 means: almost every signal on almost every higher timeframe is pointing bullish.
You are trading with the current. A score of -50 means: the higher timeframes are more bearish
than bullish. You are trying to swim against a moderate headwind. A score of -90 means:
everything above you is screaming bearish. Your long trade has almost every institutional force
against it.
Every higher timeframe signal is bullish. The daily chart is in a strong uptrend. The weekly chart
is in an uptrend. The 4-hour chart is confirming the move. The institutional current is flowing
powerfully in your direction. This is the best possible HTF environment for a long trade, and the
system rewards it with the highest position size multiplier (1.40x). When you have
PERFECT-ALIGNMENT, the trade has tailwinds from every angle. You can afford to give it
more room (wider stop) and expect it to run further (bigger target) because the big picture is fully
supportive.
Mixed signals. Some higher timeframes are supportive, some are neutral, perhaps one is mildly
against. The institutional current is not strongly against you but it is not strongly helping either.
Normal conditions. Size is 1.00x (no adjustment in either direction).
The higher timeframes are beginning to work against the trade. More timeframes are
neutral-to-bearish than bullish, though not overwhelmingly so. The trade is partially swimming
against the current. Size is reduced (0.70x). The stop needs to be tighter because the HTF
pressure makes it easier for the trade to fail.
The higher timeframes are actively working against the entry direction. You are trying to go long
while the daily, weekly, and 4-hour charts are in downtrends. This is the definition of fighting the
tape. Momentum strategies are very reluctant to trade here (0.40x size). The system is not
completely prohibiting it – sometimes counter-trend signals do work – but it is extracting a
significant cost for taking this risk.
Every larger force in the market is pushing against the trade. The daily, weekly, and higher charts
are all in strong trends against your trade direction. This is like trying to throw a paper ball
against a hurricane. Momentum strategies are almost completely prohibited here (0.20x size –
10x reduction from PERFECT-ALIGNMENT). Mean-reversion strategies, which are designed to
be counter-trend, can still trade here, but must accept that the reversal will require the full
opposing institutional pressure to reverse, which takes time and produces wide, painful
drawdowns before the trade resolves.
The single most common reason for a trade being stopped out on a clean-looking lower
timeframe setup is an opposing higher timeframe trend. HTF Alignment exists specifically to
catch this before the position is opened rather than after.
When the HTF is against you, your stop WILL be tested. The HTF pressure creates selling into
every rally (for a long trade), which means pullbacks are deeper and more frequent. A tighter
stop in that environment gets hit before the trade has a chance to work. You need to be aware of
this by widening the stop or simply not taking the trade at full size.
But once a trade is in profit, the HTF has already failed to stop it. If a trade in CONFLICTING
HTF has made it 3% into profit, the immediate HTF pressure has been overwhelmed by whatever
local force drove the entry. The take-profit is then more influenced by the slope and DI Spread of
the immediate price action rather than the distant HTF.
The four regime filters described above do not operate in isolation. They all feed into a single
integrated calculation engine called RegimeExitCalculator. This is where all the individual
readings are converted into the three numbers the strategy actually uses: the stop-loss multiplier,
the take-profit multiplier, and the position size (stake) multiplier.
Understanding how the blending works is important because it explains why certain regimes can
dominate the outcome even if other regimes are favourable.
A multiplier of 1.30 means: widen the stop by 30% beyond the base. The trade needs more room.
A multiplier of 0.70 means: tighten the stop to 70% of the base. The trade should exit faster if it
goes wrong.
Why would you ever widen a stop? Because in a strong trend, normal pullbacks are large.
If you trade a strong uptrend with ADX of 45 and set a tight 0.5% stop, you will get
stopped out on every single normal intraday retracement before the trend continues. The
solution is to widen the stop to accommodate the typical pullback size of a trending market.
Yes, you lose more if the trade is wrong, but you also stay in the trade when it is right.
ADX dominates because trend strength is the primary driver of how much room a trade needs.
HTF is the second largest weight because an opposing HTF trend is the primary reason stops get
hit prematurely.
The formula combining all four regime inputs into the distribution stop multiplier is:
But this distribution multiplier is not the final answer. It is then blended with the basic trend and
price distribution regime multiplier:
The 60/40 split means the basic trend regime (Section III) accounts for 60% of the final stop-loss
decision, and the more sophisticated distribution-weighted calculation accounts for 40%. For a
momentum strategy, this is the correct balance: the trend is the primary signal, and the four
distribution regimes refine and adjust that signal.
Because these are different questions, the weights assigned to each regime are different.
Slope is the dominant factor for take-profits because it is the most direct measure of price
velocity. The question "how far will this trade run" is most directly answered by "how fast is
price currently moving." A STEEP-UP slope means price is covering a lot of ground per candle;
stretch the target. A FLAT slope means price is barely moving; bring the target in.
ADX and DI Spread share equal importance (25% each) because they both tell you about the
sustainability of the move. High ADX says the trend is powerful; stretch the target. Strong
Bullish DI says buyers are actively in control; the move is likely to continue. Both together are
strong confirmation.
HTF gets the lowest weight for take-profits (20%) because, once a trade is running in your
favour, the immediate price dynamics – how fast it is moving right now (slope) and who is in
control right now (DI) – are more predictive of how far the current run will go than the distant
higher timeframe trend, which changes slowly.
The formula:
MOMENTUM STRATEGY
Momentum strategies are designed to ride trends. They enter when a directional move has
established itself and hold until the trend weakens or reverses. They make money by staying in
winning trades for a long time and cutting losing trades quickly.
ADX: HIGH-TRENDING. The trend engine is running. There is real power behind the
move.
Slope: STEEP-UP or MODERATE-UP for longs. Price is actively moving in the desired
direction.
DI Spread: STRONG-BULLISH for longs. Buyers are winning the daily battle decisively.
HTF: PERFECT or STRONG ALIGNMENT. The bigger timeframes are pulling in the
same direction.
When all active filters are favourable, momentum sets wide stops to let the trend breathe and
extends targets to capture the full move. When ADX is CHOPPY or HTF is CONFLICTING, the
system penalises aggressively because these are the conditions where momentum strategies get
destroyed by whipsaws and stop-outs.
In the exit blending, momentum applies 60% weight to the basic Trend Regime and 40% to the
Distribution Regime, because trend direction is the primary guide for momentum.
HTF: CONFLICTING. This sounds counterintuitive: why is an opposing HTF trend good
for mean reversion? Because when the daily chart is bearish and the 1-hour is trying to
form a bottom, the HTF pressure is what created the oversold extreme in the first place.
That same HTF pressure has now compressed a rubber band that is ready to snap back to
the 1-hour mean.
Mean reversion applies 60% weight to the Distribution Regime (where is price in its statistical
distribution?) and 40% to the Trend Regime. The primary trigger is that price is statistically
overextended, not that the trend is favourable.
When ADX is HIGH-TRENDING, this is the most important condition to respect: do not try to
fade a market that has a genuine, powerful trend behind it. A trending market can stay
"overextended" by any statistical measure for far longer than any mean-reversion model expects.
The rubber band thesis breaks down when the market is in a true trend.
BREAKOUT STRATEGY
A third mode, BREAKOUT, is tuned for a specific type of trade: price has consolidated, built up
energy, and then explodes through a resistance level with force. The goal is to enter on the
explosive move and hold it as it runs.
Breakout mode differs from standard momentum in how it interprets DI extremes and Slope
extremes. Where standard momentum is slightly cautious about EXTREME-BULLISH DI
(potential exhaustion at 0.80x), breakout mode rewards it strongly (1.30x), because a DI reading
at its historical extreme during a breakout is not exhaustion – it is confirmation that the crowd is
piling in and the breakout is genuine.
Similarly, STEEP-UP slope in breakout mode is the highest-rewarded zone (1.40x), compared to
MODERATE-UP being the optimum in standard momentum. In a breakout, steep price velocity
confirms the force of the move rather than warning of a potential parabolic reversal.
Breakout mode is appropriate for strategies designed around price level breaks, volume
explosions, and range expansion events.
X. The Combined Conviction Score
A Single Number That Summarises All Regime Information
After the four regime multipliers are calculated and combined into the combined-multiplier, there
is one more calculation: the conviction score.
The conviction score is not just a rescaled version of the combined multiplier. It is designed to
be a practical, intuitive 0-to-100 number that answers the simple question: right now, is the
market environment good for this trade, and how confident should we be?
A conviction of 100 means every regime filter is screaming in the same favourable direction. A
conviction of 0 means the regimes are either all hostile or completely divided against each other.
A conviction of 50 is neutral – the regimes are not providing useful directional information.
As an exit accelerator: If a trade is open and the conviction score drops below a threshold
(say, below 30), the strategy can tighten the stop or reduce the take-profit target. The
market environment has degraded since entry. Do not wait for the original target when the
environment is now hostile.
Conviction 60 to 80: Most regimes are favourable with minor mixed signals. Good setup. Normal
parameters.
Conviction 40 to 60: Mixed signals. Some regimes favourable, some neutral or slightly hostile.
Moderate setup. Standard parameters.
Conviction 20 to 40: Regime headwinds present. Multiple filters are giving negative signals.
Tighter parameters.
Conviction 0 to 20: The regime environment is poor. Multiple filters are hostile. Consider
skipping the trade entirely or treating any entry as tentative.
The following three examples walk through the full regime calculation for different market
scenarios. Each shows how the regime readings combine to produce the final stop and target
parameters.
A momentum strategy is evaluating a long entry signal. The current regime readings are:
HTF Alignment score = 75 (the daily and 4-hour charts are both bullish). Classification:
STRONG-ALIGNMENT.
ADX of 42 at HIGH-TRENDING means: there is a real trend here with genuine power behind it.
Not at the extremes that would suggest imminent exhaustion, but clearly and confidently
trending.
Slope at 82nd percentile means: price is moving faster than 82% of all recent readings. The move
has speed. Not parabolic, but strong and purposeful.
DI Spread of +24 at STRONG-BULLISH means: buyers are winning the daily battle by a wide
margin. The buying pressure is clear and consistent.
HTF at STRONG-ALIGNMENT means: the daily chart is in an uptrend and the 4-hour chart
confirms it. The institutional flow is broadly supportive of longs.
The Calculations
Combined multiplier: (0.25 x 1.30) + (0.25 x 1.20) + (0.25 x 1.30) + (0.25 x 1.20) = 0.325 +
0.300 + 0.325 + 0.300 = 1.25
Conviction score: (1.25 - 0.50) x 100 = 75 out of 100. High conviction. This trade passes any
gate set at or below 75.
If the base ATR stop was 2.0%, the final stop is 2.0 x 1.255 = 2.51%. If the base target was 4.0%,
the final target is 4.0 x 1.25 = 5.0%. The trade has more room to breathe and a bigger upside
target. The system is saying: this is a good trade in a good environment. Give it room and let it
run.
HTF Alignment score = -30 (the 4-hour chart is in a mild downtrend). Classification:
CONFLICTING.
ADX of 12 at CHOPPY means: there is essentially no trend. The market is going nowhere. Any
directional signal on the lower timeframe is extremely likely to be noise rather than a real move.
Slope at 48th percentile means: price movement is completely average. Nothing is happening
directionally. No engine.
HTF at CONFLICTING means: the 4-hour chart is pointing down. Institutional money is
currently selling. This long trade would be fighting that selling pressure.
The Calculations
Combined multiplier: (0.25 x 0.50) + (0.25 x 0.80) + (0.25 x 0.70) + (0.25 x 0.40) = 0.125 +
0.200 + 0.175 + 0.100 = 0.60
Conviction score: (0.60 - 0.50) x 100 = 10 out of 100. Extremely low conviction. This trade
fails any gate set above 10.
Position size is dramatically reduced (multiple multipliers below 1.0). Stop is tight. Target is
small. Conviction is 10 out of 100. Most strategies would gate this trade out entirely.
The regime system has correctly identified that this is not a good time to trade momentum longs.
The right response is simple: wait. The market will eventually give you a better regime
alignment.
A mean-reversion strategy is evaluating a long entry. Price has been selling off and is now at an
extreme low reading.
Price percentile = 8th (price is sitting near its 8th historical percentile, deeply oversold).
TAIL regime.
Price at the 8th percentile (TAIL): price is sitting at a level that has only been seen 8% of the
time historically. It is significantly oversold by statistical standards. The rubber-band tension is
high.
DI Spread at STRONG-BEARISH: sellers have been winning the recent battles. This is why
price is in the TAIL zone. But for a mean-reversion strategy, this is not a negative signal – it is
context. The selling pressure is what pushed price to the statistical extreme in the first place.
The question is whether that selling pressure is about to exhaust.
HTF at CONFLICTING: the daily chart is bearish. For a momentum strategy, this would be a
severe red flag. For a mean-reversion strategy, this is actually a green flag: the opposing HTF
trend is what compressed the rubber band. The reversion trade is betting that local buying
pressure will temporarily overwhelm the HTF selling pressure, pulling price back to the 1-hour
or 4-hour mean.
For mean reversion, the multipliers are calculated using a different table than momentum:
The Calculations
Combined multiplier: (0.25 x 1.20) + (0.25 x 1.10) + (0.25 x 1.00) + (0.25 x 1.20) = 0.300 +
0.275 + 0.250 + 0.300 = 1.125
Conviction: (1.125 - 0.50) x 100 = 62.5. Moderate-to-good conviction for this type of trade.
Passes a gate of 60.
The distribution regime (price at 8th percentile = TAIL) further confirms and boosts the
mean-reversion multipliers. The combined output of the MR blending (60% distribution, 40%
trend) produces a final set of parameters where:
- Stop-loss is placed just below the structural swing low that created the TAIL reading
- Take-profit target is aimed toward the CORE of the distribution (near the 35th-50th percentile
range)
The mean-reversion strategy enters the long. The DI Spread being STRONG-BEARISH was not
a reason to avoid the trade – it explained why the trade opportunity exists at all. The
EXTREME-CHOPPY ADX confirmed that the bearish DI did not have a powerful trend engine
behind it. The HTF conflict provided the rubber-band tension. The price being at the 8th
percentile was the trigger.
This is regime-aware mean reversion at its best: the system correctly identified that despite
bearish surface conditions, the structure of those bearish conditions (low ADX, statistical
extreme, HTF conflict as tension) is precisely what makes the reversal setup high probability.
XII. Parameters
EXTREME
> P90 0.80× 0.40×
TRENDING
MODERATE
P50 – P75 1.10× 0.90×
TRENDING
Final Summary
This regime filtering system is best thought of as a continuous environmental awareness engine.
Before every trade, during every trade, and at every candle close, the system is quietly reading
the market environment and adjusting its behaviour accordingly.
The available regime questions, applied according to the algorithm's methodology, are:
3. How fast is price moving in this trend? Is the move accelerating, sustaining, or stalling?
(Slope)
4. Between buyers and sellers right now, who is winning, and by how much? (DI Spread)
5. Do the 4-hour, daily, and weekly charts agree with what this entry signal is saying? (HTF
Alignment)
Each active filter feeds into a multiplier. Those multipliers are combined using carefully tuned
weights – different weights for stop-losses versus take-profits, because those two questions have
different determinants. The combined result flows into the final stop-loss width and the final
take-profit target.
The most important insight the system embodies is this: the right parameters depend entirely on
the environment, and the environment changes constantly. A stop that is too tight in a trending
market costs you the whole trade. A stop that is too wide in a choppy market costs you
unnecessary capital. A target that is too ambitious in a stalling market never gets hit. A target
that is too modest in a powerful trend closes the position before the real money is made.
By reading the relevant regime layers and combining them into a coherent, weighted output, the
system removes the guesswork from these decisions. When all active regimes are aligned, it
opens up parameters to capture the full move. When they are mixed, it proceeds cautiously.
When they are hostile, it largely steps aside and waits.
This is not about predicting the future. It is about reading the present accurately, and trading in
proportion to what the present is telling you.