Management and exit
Trend Pilot
Rides and trails the trend so you hold through the noise.
Trend Pilot is a trend-state engine in one overlay. It draws a smooth, low-lag trend line, wraps it in volatility-weighted bands, adds a flow ribbon, and reads the same trend state across six timeframes at once. Its one job: tell you which state the market is in (up, down, or range) and print an entry marker only when that state actually flips, so your chart stays quiet until something changes.
What it does
- Builds a low-lag center line from a double-smoothed EMA with a lag correction term, so it responds faster than a plain EMA without oscillating on noise. The Lag Reduction control sets how aggressively it cuts delay.
- Classifies every bar into one of three states: bullish (slope up and price above the line), bearish (slope down and price below the line), or range (slope flat and price hugging the line).
- Prints a LONG or SHORT entry marker only on the bar where the state flips, then a Power version of that marker when elevated volume and strong momentum back the flip.
- Wraps the trend line in ATR-weighted bands that widen in fast markets and tighten in quiet ones, so a touch of the band carries the same meaning across regimes and doubles as dynamic support and resistance.
- Reads the same trend state and volatility regime on six timeframes in a corner dashboard, so you can see at a glance whether your timeframe agrees with the broader market.
- Projects a take-profit rectangle ahead of each signal and marks band retests with a small circle when price pulls back to the band 1 to 5 bars after a breakout.
Try it
The control that shapes everything is Trend Length (default 20), the period of the smooth trend line. Drag it. Lower means the center line hugs price and reacts faster, higher means a smoother, slower line. The green band around it is the volatility channel, roughly the trend plus or minus a cushion that scales with ATR, and the dashed line is a take-profit reference.
len 20 band ±2σ width 19.5 close inside channel holding
Synthetic data, for illustration. A lower Trend Length makes the center line hug price and the channel breathe faster; a higher one smooths both. The dashed line is a take-profit reference. The real indicator runs on your TradingView chart.
In plain words
Think of the bright green line as the road the price is driving on. The shaded lane around it shows how much room the price normally has to wander before something unusual is happening. When the price stays inside the lane, the trend is calm and holding. When it pokes outside, it is stretched.
The slider sets how twitchy the road is: a small number makes the line wiggle along with every little move, a big number keeps it smooth and steady. The readout tells you how wide the lane is right now and whether the latest price is inside it or stretched past it. The dashed line marks a sensible first place to take some profit.
In the live tool, Trend Length sits next to a Lag Reduction control (default 1.2, how aggressively the line cuts delay), an ATR Length for the bands (default 14), a Band Multiplier (default 2.0), a take-profit distance in ATR (default 1.5), the fast and slow flow ribbon (9 and 21), and a Power Signals Only switch. Tighter settings mean cleaner but rarer signals.
Markets, phases, timeframes
Assets and markets
- Works on any liquid market that actually trends: crypto, forex, index futures, large-cap stocks. The ATR-weighted bands adapt to each instrument, so you do not retune the band distance per symbol.
- Avoid illiquid tickers. The Power filter leans on a volume average, and on thin instruments that volume reading is unreliable, so the high-conviction marker stops meaning much.
- It is an overlay tool, so it plots directly on price and needs no separate pane. The only off-price element is the corner dashboard.
Market phases
- Trending: best case. The state holds bullish or bearish, the line trails the move, and the bands act as a clean ride and retest zone.
- Pullback inside a trend: a retest circle prints when price pulls back to the band. While the state holds its color, this is usually a pause and the move tends to resume.
- Range or chop: weakest case. Slope goes flat, the state sits in range (blue), and signals are sparse by design. Turn on Power Signals Only and trade just the high-conviction flips, or wait.
Timeframes
| Timeframe | Use |
|---|---|
| 15m to 1H | Intraday trend trading. More state flips, so lean on the dashboard for higher-timeframe alignment and consider Power Signals Only. |
| 1H to 4H | The primary range for intraday and swing trend work. Cleaner flips and a balanced state read. |
| 1D and higher | Swing and position trend following. Rare flips, each one meaningful. Raise Trend Length toward 40 to 60. |
What you see on the chart
The smooth trend line is the spine of the chart, and its color is the current state: green up, red down, blue in range. The volatility bands frame it, a flow ribbon shows short-term direction, and markers print only when the state flips. A corner dashboard reports the state and volatility regime across six timeframes.
The low-lag center line (linewidth 3) turns green in a bullish state. A LONG triangle prints below the bar on a confirmed bullish flip, and a plus on the triangle marks a Power Long backed by volume and momentum.
The line turns red in a bearish state. A SHORT triangle prints above the bar on a confirmed bearish flip, and a plus marks the Power version of the same flip.
Slope is flat and price hugs the line, so neither direction is convincing. The line and the dashboard cell turn blue. A good cue to wait or switch to Power Signals Only.
ATR-weighted upper and lower bands frame the trend and act as dynamic support and resistance, with a gradient fill between them. A fast and slow EMA ribbon (9 and 21) shades the short-term flow, and a small circle marks a band retest 1 to 5 bars after a breakout.
The corner dashboard (default top right) has a header column plus one column per enabled timeframe (15m, 1H, 4H, 1D, 1W by default, 1M off). Each timeframe column reports two rows.
| Dashboard row | What it shows |
|---|---|
| Trend | The state on that timeframe: UP (green), DN (red), or RNG (blue). |
| Volatility | The band-width regime on that timeframe: WIDE, NORM, or TIGHT. TIGHT marks a volatility squeeze where the bands have compressed. |
Optional extras you can switch on: a confidence percent label at each new trend start, candle coloring by trend, momentum, or relative volume, and a light state-tinted background.
How to use it
Look for alignment across 15m, 1H, 4H, and 1D. When multiple higher timeframes show the same state, you can take signals on your execution timeframe with normal confidence.
Mixed readings are a wait signal. Switch on Power Signals Only so you act only on flips backed by elevated volume (above 1.2 times the volume average) and strong momentum (above 0.5 ATR).
With Confirm On Close enabled, the arrow prints on the bar close. That is the entry cue: the moment the trend state actually changed, once a mid-bar flicker has settled into a real flip.
The opposite band and the smooth line are your trailing references. A retest circle, price pulling back to touch the band after a breakout, usually marks a normal pause and rarely signals a reversal on its own.
The take-profit rectangle (default 1.5 ATR from entry) marks a sensible first-profit zone. Close part there, then trail the remainder with the opposite band or the trend line until the state flips.
Two common scenarios. A clean trend: confirm the higher timeframes agree on the dashboard, take the flip, bank the first target at the rectangle, and trail the rest with the band. A range trying to break out: leave Power Signals Only on and wait for a Power flip plus the higher timeframes turning the same color before committing.
When to ignore a signal:
- The dashboard shows the higher timeframes in a different state or in range. A lone flip against the broader market is the low-quality case.
- The state is sitting in range (blue) and the line is flat. Signals here are sparse and weak by design, so stand aside or use Power only.
- The arrow has printed mid-bar and the candle has not closed yet. Wait for the close, since the confirmed flip is the real cue.
- The signal sits right into a major news release or a known liquidity gap, where price can jump straight through a band.
Settings and signals
| Parameter | Default | Effect |
|---|---|---|
Source | close | Price series used for all calculations. Close is the standard choice. |
Trend Length | 20 | Period of the smooth trend line. Lower reacts faster and hugs price, higher is smoother and more stable. Drop to 12 to 15 for scalping, raise to 40 to 60 for swing work. |
Lag Reduction | 1.2 | How hard the line cuts delay. 0 is a standard EMA (most lag), 1 behaves like a DEMA, higher means less lag with more overshoot and more frequent flips. |
ATR Length | 14 | Volatility lookback that sizes the bands. Higher smooths the band-width transitions, lower makes the bands react sooner. |
Show Bands | true | Draw the volatility-weighted upper and lower channels around the trend line. |
Band Multiplier | 2.0 | Band width in ATR units. Higher gives wider bands and fewer false breakouts, lower gives tighter bands and more touches. |
Show Band Fill | true | Gradient fill between the upper and lower bands. |
Show Trend Line | true | Display the smooth trend center line. |
Show Signals | true | Plot the buy and sell triangles when the trend state flips. |
Power Signals Only | false | Show only high-conviction flips backed by volume and momentum confluence. The noise filter for ranging markets. |
Show Take Profit | true | Project a take-profit rectangle from each signal. |
TP Distance (ATR) | 1.5 | Take-profit distance from entry in ATR multiples. Higher places the first target further out. |
Confirm On Close | true | Require the bar to close before confirming any signal. Off allows intrabar triggers that may repaint until the candle closes. |
Show Band Retests | true | Mark a small circle when price pulls back to touch a band 1 to 5 bars after a breakout. |
Color Mode | Off | Candle coloring. Trend colors by state, Momentum highlights strong moves in yellow or pink, Volume scales candle opacity with relative volume. |
Volume MA Length | 20 | Average volume lookback used by Volume color mode and the Power-signal volume check. |
Show Flow Ribbon | true | Draw the fast and slow EMA ribbon that visualizes short-term flow direction. |
Fast EMA | 9 | Fast ribbon period. Lower tracks price more tightly. |
Slow EMA | 21 | Slow ribbon period that anchors the ribbon comparison. |
Show Probability | true | Print a confidence percent label (derived from normalized momentum, capped at 95) at each new trend start. |
State Background | false | Light tint behind candles showing the current state color. |
Show Dashboard | true | Show the multi-timeframe trend and volatility overview table. |
Position | Top Right | Dashboard placement on the chart (Top Right, Bottom Right, Top Left, Bottom Left). |
TF 1 to TF 6 | 15, 60, 240, D, W, M | The six dashboard timeframes, each with its own on/off toggle. TF1 to TF5 are on by default, TF6 (1M) is off. |
The signals and the exact conditions behind them:
| Signal | Fires when |
|---|---|
| LONG (green triangle below bar) | The trend state flips to bullish: normalized slope is positive, price is above the smooth line, and the regime is not flat. The bar must be confirmed when Confirm On Close is on. |
| SHORT (red triangle above bar) | The trend state flips to bearish: normalized slope is negative, price is below the smooth line, and the regime is not flat, on a confirmed bar. |
| Power Long / Power Short (triangle with a plus) | A LONG or SHORT flip that also has elevated volume (above 1.2 times the volume average) and strong momentum (above 0.5 ATR). With Power Signals Only on, only these print. |
| Band retest (small circle) | Price pulls back to touch the band 1 to 5 bars after breaking out, while still on the trend side of the smooth line. |
The indicator also publishes alert conditions for Long Signal, Short Signal, Power Long, Power Short, the bullish and bearish band retests, a State Change whenever the trend state changes, and a Squeeze Start when the bands compress into a volatility squeeze.
Glossary
- Smooth trend line
- The low-lag center line. It is a double-smoothed EMA plus a lag-correction term scaled by Lag Reduction, so it tracks faster than a plain EMA without whipping on noise.
- Trend state
- The market regime on the current bar: bullish (1), bearish (-1), or range (0). It is set from the slope of the trend line and where price sits relative to it, and a flip in this state is what prints a signal.
- ATR (Average True Range)
- A measure of how much a market typically moves per bar. Trend Pilot weights the bands by ATR so the channel breathes with volatility, and sizes the take-profit rectangle in ATR multiples.
- Volatility bands
- The upper and lower channel around the trend line, scaled by ATR and the Band Multiplier. They widen in fast markets and tighten in quiet ones, acting as dynamic support and resistance.
- Flow ribbon
- A fast and slow EMA pair (default 9 and 21) shaded to show short-term direction. It is bullish while the fast EMA is above the slow one. A quick read of momentum, separate from the trend state.
- Power signal
- A state flip that also clears a volume and momentum filter: volume above 1.2 times its average and momentum above 0.5 ATR. The high-conviction version of a normal signal.
- Band retest
- Price pulling back to touch a band 1 to 5 bars after a breakout, marked with a small circle. Inside a healthy trend it usually marks a pause before the move continues.
- Volatility squeeze
- A regime where the band width has compressed well below its recent average. It often precedes an expansion move and shows as TIGHT in the dashboard.
- Confirm on close
- Acting only once a candle has closed. It removes intrabar repainting at the cost of confirming the flip one bar later.
Risk and position size
Trend Pilot hands you two objective levels for sizing: the smooth line as a running invalidation, and the opposite band as a wider stop. Pick the one that matches your style, measure the distance from entry to that level, and let the math set the size. The stop distance does the work, so the size follows from the chart instead of a hunch.
Risk a small, fixed fraction of the account on any single trade, for example 1%. On a 10,000 account that is 100 at risk, win or lose.
Take the distance from your entry to your chosen invalidation, the smooth line for a tight stop or the opposite band for a wider one. That is where the trade is wrong, in price terms.
Position size equals the risk amount divided by the stop distance. A wider band-based stop means a smaller position, a tighter line-based stop means a larger one, so your loss stays constant either way.
In plain words
Say a Power Long flips at 100, the take-profit rectangle sits near 103 (1.5 ATR with ATR around 2), and the lower band, your invalidation, sits at 96, so your stop distance is 4. You are willing to risk 100 on the trade (1% of a 10,000 account).
Size = 100 risk / 4 distance = 25 units. Bank part of the position at the 103 rectangle, then trail the rest with the lower band or the smooth line. If price closes back below 96 you lose about 100, exactly your plan.
Common mistakes
- Trading flips in a flat, range state instead of waiting. The state sits blue for a reason, so turn on Power Signals Only or stand aside.
- Ignoring the dashboard and taking a lone flip while the higher timeframes point the other way.
- Pushing Lag Reduction too high. The line overshoots and flips more often. Start at the default of 1.2 and change it only when you have a reason to.
- Reading every retest circle as a reversal. A pullback to the band inside a held trend is usually just a pause.
- Turning off Confirm On Close and then acting on a mid-bar arrow that vanishes by the candle close.
- Trusting Power signals on illiquid tickers, where the volume check behind them is unreliable.
- Treating the take-profit rectangle as the only exit. It marks the first target and leaves the rest to a trail.
Limitations
- In choppy ranges the state sits flat and the few signals that print are low quality. Use Power Signals Only, or stand aside until a real trend forms.
- Raising Lag Reduction too far makes the line overshoot and flip more often. Start at the default of 1.2 and change it only when you have a reason to.
- Turning off Confirm On Close reintroduces intrabar repainting: an arrow can appear and then disappear before the candle closes.
- On illiquid tickers the volume check behind Power Signals is unreliable. Use it on instruments that actually trade.
- It reads the current trend state. Treat it as a read on the market, since it neither forecasts price nor stands in for a full trading strategy. Markets change regime, so validate on your own symbol and timeframe.
Educational tool. Not financial advice. Trading involves risk.
More in Management and exit
Want the full toolkit?
Every package bundles indicators that work together. Pick the tier that matches your workflow.
See pricing