MSL.
Range Dynamics Rider
OverviewBuy now

Overview and structure

Range Dynamics Rider

Tells you when the market is trending or ranging.

Range Dynamics Rider is an adaptive trend follower. In place of a moving average it plots a flow line that hugs price during trends and holds flat with a volatility band during consolidation. Its one job is to tell you when a move is real enough to ride, then gate the entry behind a stack of filters so you stay out of the chop.

What it does

  • Builds an adaptive flow line from a rolling estimate of recent range. The line stays put until price pushes hard enough to drag it, so it follows the latest directional push.
  • Projects an upper and a lower target band around the flow line, sized by current volatility. Price inside the band reads as a range; price breaking out of it reads as a trend.
  • Gates every LONG and SHORT behind a five-layer filter stack: a minimum number of trend bars, a cooldown between signals, a candle-body check, an ATR distance check, and a 200-EMA trend filter.
  • Prints LONG and SHORT triangles only on a confirmed bar close (when bar-close confirmation is on), which is what keeps it from repainting.
  • Reports the state of every layer in a corner PRO table: Bias, Signal, Filter Trend, EMA Context, and Distance strength.

Try it

The flow line is built from a rolling estimate of recent range. The main control is Sampling Period (default 40): how many bars feed that estimate. Drag it. Higher means a smoother, slower line and a wider band, so price stays inside more often and the chart reads as ranging. Lower means a tighter, faster band and more breakouts. Trending breakouts shade green and red, ranging areas stay grey.

Regime: Trending up ยท 57/130 trending

Synthetic data, for illustration. A higher Sampling Period makes the flow line smoother and the band wider, so price stays inside more often and reads as ranging. Grey areas are ranging (price inside the band), green and red areas are trending breakouts. The real indicator runs on your TradingView chart.

In plain words

Picture a stretchy lane drawn around the price. The bright line in the middle is the flow line, and the dotted lines are the edges of the lane. While price wanders inside the lane, the market is just chopping around, so that stretch is grey and called Ranging.

When price pokes out of the lane and keeps going, that is a breakout, and the area turns green (up) or red (down) and is called Trending. The slider sets how wide the lane is: a bigger number makes a wide, calm lane where price rarely escapes, a smaller number makes a tight lane it pops out of often. The readout just names the regime right now and counts how many bars were trending.

Markets, phases, timeframes

Assets and markets

  • Crypto, forex, futures, and liquid equities all work. The flow line and the bands adapt to each instrument's own volatility, so there is nothing to retune per ticker.
  • Best on instruments that tend to trend rather than chop. A clean, directional market is where the filter stack earns its keep.
  • Avoid illiquid or thinly traded tickers. Gappy prints make the range and the ATR distance read unreliable.

Market phases

  • Trending: price breaks out of the band and the flow line slopes with the move. This is the state the tool is built for. Signals arm and the chart shades green or red.
  • Ranging: the flow line holds flat and price sits inside the band. The chart reads grey and the signal engine stays quiet. The tool is telling you to stand aside, and that is working as intended.
  • Transition: the first push out of a range. The minimum trend bars and the ATR distance filter hold the signal back until the breakout has some persistence behind it.

Timeframes

TimeframeUse
5m to 15mIntraday. Try Sampling 30, Multiplier 2.6, Min Trend Bars 2, ATR distance 0.25, EMA 100.
1h to 4hSwing, the default zone. Sampling 40, Multiplier 3.4, Min Trend Bars 3, ATR distance 0.30, EMA 200.
Daily and upPosition context. Fewer but cleaner signals. Keep the defaults and let the EMA filter do the steering.

What you see on the chart

Flow line rising, green

The flow line is rising, so the trend read is up. For a full bullish call, Bias also wants price above the line.

Flow line falling, red

The flow line is falling, so the trend read is down. For a full bearish call, Bias also wants price below the line.

Flat line and band, grey

The line is holding flat and price sits inside the band. This is the ranging, no-trade state, and candles tint grey too.

Upper target band, faint green

Plotted one adaptive range above the flow line, with a soft fill down to the line. A natural first take-profit reference for a long.

Lower target band, faint red

Plotted one adaptive range below the flow line, with a soft fill up to the line. The mirror reference for a short.

LONG triangle, below the bar

Prints below price when all filters pass and the bar closes. Your cue to act on the long.

SHORT triangle, above the bar

Prints above price when all filters pass and the bar closes. Your cue to act on the short.

EMA filter line, amber

The 200-EMA trend filter, off by default but plottable. LONG only fires above it, SHORT only below, so entries lean with the macro trend.

The PRO table in the chosen corner reports each layer at a glance:

RowWhat it reports
BiasBULLISH, BEARISH, or NEUTRAL. Combines price side of the flow line with the flow line trend.
SignalLONG READY, SHORT READY, COOLDOWN, or WAIT. The live state of the signal engine.
Filter TrendRISING, FALLING, or FLAT. The raw direction of the flow line itself.
EMA ContextABOVE EMA, BELOW EMA, or OFF. Where price sits versus the 200-EMA filter.
DistanceSTRONG, MODERATE, WEAK, or OFF. How far price is from the flow line in ATR units.

How to use it

1
Read the PRO table first

When Bias, Filter Trend, and EMA Context all agree and Distance reads Strong, the setup context is at its cleanest. Mixed readings mean wait.

2
Use the flow line as your guide

Above a rising line, favour longs. Below a falling line, favour shorts. While the line is flat and price is inside the band, the market is ranging and there is nothing to do.

3
Take the confirmed signal

A LONG or SHORT triangle prints only after all five filters pass and the bar closes. Act on that printed version and ignore any intrabar flicker.

4
Target the opposite band, trail the line

The far target band is a natural first-profit area. To stay with a runner, trail your stop along the flow line instead of a fixed level.

5
Raise the cooldown in chop

On fast instruments, a longer Cooldown Between Signals stops rapid re-entries and cuts whipsaw. Loosen it again once the trend is clean.

Scenarios and when to ignore it:

  • Clean trend day: flow line slopes one way, Distance reads Strong, EMA Context agrees. Take the confirmed triangles and trail the line.
  • Breakout from a range: wait for the minimum trend bars and the ATR distance to clear before trusting the first arrow. Early breaks fail often.
  • Ignore it while the line is flat and the chart reads grey. That grey stretch is the ranging state doing its job, so there is no signal to miss.
  • Ignore a counter-EMA signal when the EMA filter is off and you are fighting an obvious macro trend. Turn the filter back on, or skip the trade.
  • Ignore signals on illiquid tickers where the ATR distance read is meaningless.

Settings and signals

ParameterDefaultEffect
SourceclosePrice series fed into the adaptive range. Close is standard; HL2 or HLC3 smooth intrabar noise.
Sampling Period40Lookback used to estimate recent average range. Larger means a smoother, slower flow line; smaller means faster and twitchier.
Range Multiplier3.4Scales the adaptive range. Higher means wider bands and fewer signals; lower means tighter bands and more signals.
Confirm Signals On Bar ClosetrueWhen on, signals fire only on a confirmed bar close, so no repaints. Turn off to react intrabar.
Minimum Filter Trend Bars2Minimum consecutive bars the flow line must trend before a signal qualifies. Range 1 to 20.
Cooldown Between Signals3Minimum bars to wait after a signal before a new one can fire. Higher means fewer whipsaws. Range 0 to 50.
Use Candle Body ConfirmationtrueWhen on, LONG requires a bullish body (close above open) and SHORT a bearish body.
Use ATR Distance FiltertrueWhen on, price must be at least Min Distance away from the flow line before a signal qualifies.
ATR Length14ATR lookback for the distance filter. 14 is the classic Wilder setting.
Min Distance From Filter (ATR Multiplier)0.20Minimum price distance from the flow line in ATR units. Higher means stricter entries.
Use EMA Trend FiltertrueWhen on, LONG only fires above the EMA and SHORT only below, biasing entries with the dominant trend.
EMA Length200EMA lookback used as the macro trend filter. 200 is a common swing default.
Show Target BandstrueToggle the upper and lower range bands around the flow line.
Color CandlestrueToggle colouring candles by bias relative to the flow line.
Show LONG / SHORT SignalstrueToggle the LONG and SHORT triangle markers.
Show EMA FilterfalseToggle the EMA line. Only visible when the EMA filter is on.
Show PRO Status TabletrueToggle the on-chart table of Bias, Signal, Filter Trend, EMA Context, and Distance.
Table PositionTop RightCorner of the chart where the PRO table is anchored. Top Left, Top Right, Bottom Left, or Bottom Right.
Enable Alert ConditionstrueMaster switch for alerts. When off, alerts will not fire even if created in TradingView.

The exact signal rules, straight from the engine:

SignalConditions that must all hold
LONGPrice above the flow line, flow line rising for at least Minimum Filter Trend Bars, bullish body (if on), ATR distance cleared (if on), price above EMA (if on), and the prior bias was not already long.
SHORTPrice below the flow line, flow line falling for at least Minimum Filter Trend Bars, bearish body (if on), ATR distance cleared (if on), price below EMA (if on), and the prior bias was not already short.
Cooldown gateAfter any signal, no new signal fires until Cooldown Between Signals bars have passed.
Confirmation gateWith Confirm Signals On Bar Close on, the triangle only prints once the bar is confirmed closed.

Three alert conditions ship with the tool: LONG only, SHORT only, and a combined new-signal alert. The master Enable Alert Conditions switch must be on for any of them to fire.

Glossary

Flow line
The adaptive line that hugs price in a trend and holds flat in a range. It only moves when price clears the adaptive range, so it tracks the latest directional push rather than an average of recent prices.
Adaptive range
A volatility estimate built from the average bar-to-bar move over the Sampling Period, smoothed and scaled by the Range Multiplier. It sets both how far price must travel to drag the flow line and how wide the target bands sit.
Target bands
The upper and lower lines plotted one adaptive range away from the flow line. They mark first take-profit references and frame the no-trade zone in a range.
ATR distance
How far price sits from the flow line, measured in ATR units. The distance filter blocks signals that are too close to the line, where breakouts fail most often.
EMA filter
A 200-period exponential moving average used as a macro trend gate. When on, longs are only allowed above it and shorts only below it.
Bias
The combined read of price side and flow direction. BULLISH means price above a rising line, BEARISH means price below a falling line, NEUTRAL is everything else.
Cooldown
A minimum number of bars after a signal during which no new signal can fire. It is the main guard against rapid re-entries and whipsaw.

Risk and position size

A flow line does not size your trade for you. Decide how much you are willing to lose before you take the signal, then let the distance from your entry to your stop set the position size. With Range Dynamics Rider the flow line is a clean place to put that stop: just past it in a long, just above it in a short.

1
Fix your risk per trade

Risk a small, fixed slice of the account on any one idea, commonly one percent. On a 10,000 account that is 100 at risk.

2
Measure the stop distance

Take the gap from your entry to your stop. Placing the stop just beyond the flow line keeps it tied to the structure the tool is reading.

3
Size from the two numbers

Position size equals risk in currency divided by the stop distance. Wider stop, smaller size; tighter stop, larger size, for the same risk.

In plain words

Worked example. Account 10,000, risk one percent, so 100 at risk. A LONG triangle prints at 50.00 and the flow line sits at 49.00, so you put the stop just under it, call it 48.80. Stop distance is 1.20 per unit.

Size equals 100 divided by 1.20, about 83 units. If the move runs to the upper target band you bank a multiple of that 100; if it fails and tags the stop, the loss is the 100 you planned for and nothing more.

Common mistakes

  • Trading the grey, flat state. When the line is flat and price is inside the band, there is no edge. Wait for a breakout.
  • Acting on intrabar flicker. With bar-close confirmation on, only the printed triangle counts. A shape that appears mid-bar can vanish.
  • Driving the Sampling Period to a very low number to get more arrows. That floods the chart with weak breakouts. Start near the default.
  • Turning off every filter to see more signals. The filter stack is the product. Loosen one layer at a time, with a reason.
  • Fighting the EMA. A LONG below a falling 200-EMA with the filter off is a low-quality trade. Lean with the macro trend.
  • Skipping the stop because the flow line trails. The line only guides you; it guarantees nothing. Always place an actual stop.

Limitations

Important: Confirmation lags on purpose. With bar-close confirmation on, signals print only after the candle closes, so the tool will never catch the exact turn in real time. That delay is what keeps it from repainting.
  • In a tight range it produces false breaks. Lean on the cooldown and distance filters, or simply stand aside while the chart reads grey.
  • A very low Sampling Period makes the band twitchy and floods the chart with weak breakouts. Start near the default and ease off only with a reason.
  • On illiquid tickers the range and ATR distance reads are unreliable. Use it on instruments that actually trade.
  • It follows the trend rather than forecasting price. Direction and regime are the job. Expecting it to time the exact top or bottom asks for something it cannot give.

Educational tool. Not financial advice. Trading involves risk.

Want the full toolkit?

Every package bundles indicators that work together. Pick the tier that matches your workflow.

See pricing