Why Mean Reversion Signals Fire During Strong Trends And Stop Working
The problem with oversold readings in trending markets
An RSI below 30 feels like a buying opportunity, until you realise it has stayed below 30 for twenty consecutive bars while price continues to fall. Most reversal indicators fire signals the moment momentum reaches an extreme, regardless of whether the market is consolidating or still in a strong directional move. The result is a stream of counter-trend entries that get stopped out before the range you were betting on ever appears.
Trendline v4.2 was built to solve that specific problem. Instead of reacting to RSI extremes in every condition, it uses a stepped moving average to classify the market as rising, falling, or flat, and in its default mode it will not print a reversal signal unless that average has gone flat first.
What Trendline v4.2 does
Trendline v4.2 is a range-reversal indicator for TradingView that watches four components at once: a smoothed range-based moving average, RSI level and turn timing, where price sits inside the last 50 bars' high-low range, and ATR for stop and target placement. It ships with four modes; Mode 4 is the default and the one designed for mean-reversion setups.
The core piece is the Sentiment Range MA, a stepped average that holds its value while price oscillates inside an ATR-sized band and only re-centres when price breaks out of that band. Because it moves in discrete steps rather than tracking every tick, its slope gives a clean read on whether the market is genuinely trending or simply rotating. That slope is tested against a 0.001% threshold and classified as rising, falling, or flat.
In Mode 4, reversal signals are permitted only when the Sentiment Range MA is flat. The average is never drawn as a line; instead it controls candle colour, rising produces uptrend candles, falling produces downtrend candles, and flat produces sideways candles. A BUY signal in Mode 4 requires all of the following on the same bar:
- Previous bar's RSI closed below 32
- That RSI reading was lower than two bars ago
- Current RSI has turned back up above the previous bar's value
- Price is in the bottom 30% of the last 50 bars' range
- The Sentiment Range MA is flat
- At least 10 bars have passed since the last BUY
SELL signals are the mirror: previous RSI above 68, higher than two bars ago, current RSI turning down, price in the top 30% of the 50-bar range, flat average, and 10-bar spacing.
Every signal that clears those conditions is printed on the chart as a green ▲ (BUY) or red ▼ (SELL) label, together with an entry level (the close of the signal bar), a stop loss placed ATR(14) × 2.8 away, and up to three take-profit targets at 1R, 4.5R, and 6.5R. TP1 is enabled by default; TP2 and TP3 are available but off. With TP2 or TP3 active, a breakeven stop triggers once TP1 is hit. Any trade still open after 200 bars is closed at the current price.
Before a raw signal becomes a printed one it still passes through shared filters:
- Cooldown, 10-bar minimum gap after every printed signal
- Stability Mode (off by default), blocks new signals while a trade is open
- Smart Signal Filter (off by default), forces signals to alternate, so BUY cannot follow BUY
- Follow Trend (off by default), permits BUY only above the 200 EMA with RSI(14) over 50, and SELL only below it with RSI under 50; note that switching this on works against the mean-reversion character of Mode 4
How it is used in a real session
You open a 1-hour chart on EUR/USD. Candle colour has been red (downtrend) for the last two hours, so Mode 4 is silent. Price slows, begins to chop inside a 40-pip range, and candle colour switches to grey (sideways). RSI dips to 28, ticks lower, then turns back up. Price is sitting in the lower third of the 50-bar range. A green ▲ label appears below the current bar, together with an entry at 1.0842, a stop at 1.0814 (28 pips, derived from ATR × 2.8), and TP1 at 1.0870 (28 pips, 1R).
You decide whether to take the setup based on your own trade plan, session time, news calendar, whether the range has a visible structural boundary, but the signal itself has already answered the question "is this market flat enough to reverse?" by requiring the Sentiment Range MA to be flat before it fired.
If you trade M15 through H4 on liquid instruments that spend real time consolidating, FX majors, gold, index CFDs, large-cap crypto, this is where Trendline v4.2 does its work. The value is not in the number of arrows it prints; it is in the setups it filters out by staying quiet while the market is still trending.
Trendline v4.2 TDV
Full specification, pricing and platform support live on the product page.
Who it fits
Trendline v4.2 suits you if you:
- Trade ranges and reversals rather than breakouts
- Work on intraday to swing timeframes (M15 to H4 is the natural home for the default settings)
- Trade liquid instruments that consolidate: FX majors, gold, indices, large-cap crypto
- Want a defined stop and target on every signal instead of deciding levels in the moment
- Prefer a smaller number of well-located setups over constant activity
If you are a pure trend-follower who wants to be in every directional move, Mode 4 will feel too quiet. Trendline v4.2 also ships Mode 1 (pullback onto stacked EMAs), Mode 2 (the bar three EMAs first align in order), and Mode 3 (fast/slow crossover on RSI) for traders who prefer to trade with the trend.
What Trendline v4.2 does not do
Trendline v4.2 does not predict whether a reversal setup will reach its target. It identifies when the market has flattened and RSI has turned in the right part of the range, two conditions that are observable on the current bar, but it cannot know whether that range will hold or break, or whether the next macro data release will send price back into a trend two bars later.
It does not work well in markets that trend persistently without pausing to consolidate. If you trade a momentum stock that makes a clean, uninterrupted run over multiple sessions, Mode 4 will produce few or no signals because the Sentiment Range MA never goes flat. Use one of the trend modes instead, or trade a different instrument.
It does not manage the trade for you beyond the initial levels. TP1, TP2, TP3, and the breakeven stop are fixed multiples of entry risk; they do not adjust if volatility expands mid-trade or if a new structural level appears. You still own the decision to tighten the stop, take profit early, or let the trade run.
It is not a strategy by itself. The indicator prints setups; you supply the context, session awareness, news calendar, multi-timeframe structure, position sizing, that turns a setup into a trade plan.
How it pairs with other tools in the catalog
Trendline v4.2 tells you when RSI has turned in a flat market, but it does not show you where the range boundaries sit or where institutional order flow is concentrated. Core Supply & Demand TDV marks structural zones where price has moved aggressively away in the past, which can help you decide whether a reversal signal is firing at the edge of a range or in the middle of it.
If you want to layer volume context onto a Trendline v4.2 signal, Volume Deviation Bands TDV shows when volume is expanding or contracting relative to recent history, which can confirm whether the market is genuinely flattening (falling volume, price inside the bands) or whether the consolidation is simply a pause before the next leg (rising volume at the edge of the bands).
Both tools are independent reads; they do not replace your own trade plan, and layering them together does not change the probability of any individual setup.
Trading involves risk
Trendline v4.2 is an analytical tool, not financial advice. Trading involves risk, and signals do not predict outcomes. Past behaviour of any indicator, strategy, or market condition does not determine future results. You are responsible for your own trade decisions, position sizing, and risk management.
Ready to filter out counter-trend traps?
Trendline v4.2 is available now on TradingView for $2.96. It is delivered as a single indicator script with four modes, all configurable settings, and automatic stop and target placement on every signal. No recurring subscription, no expiry, no upsell.
Trendline v4.2 TDV
Pick a plan on the product page and it lands in your library right after checkout.




