MSL.
Trend Trigger
OverviewBuy now

Entry and timing

Trend Trigger

A mechanical entry: trail flip, ADX chop filter, pivot breakout.

Trend Trigger is a minimalist, volatility-aware entry tool. It plots one adaptive trailing stop sized by current volatility (ATR). The moment price crosses that stop, the line flips to the other side, and that crossover is the signal. An optional trend EMA and slope check keep it from firing against a strong move. It does one thing: time the flip and carry a running stop, all from a single line.

What it does

  • Builds a trailing stop from ATR, so the distance widens when the market is violent and tightens when it is calm. The same setting behaves sensibly across instruments and regimes.
  • Fires a LONG signal when price crosses above the stop and a SHORT signal when price crosses below it, marking each flip with an entry triangle.
  • Filters those flips through a trend EMA (price on the correct side) and an optional slope check, so counter-trend and flat-market triggers are dropped.
  • Doubles the stop line as a running invalidation level, so one line shows both your direction and the price that proves you wrong.
  • Reports the live state (Trend, Last Signal, Profit %, Filter Bias) in a compact PRO table in the top-right corner.

Try it

The one control that changes everything is the Key Value / Sensitivity, the ATR multiplier that sets how far the trailing stop sits from price. Drag it. A higher value gives a wider trail: fewer but stronger flips that ride moves longer. A lower value gives a tighter trail: more reactive, but noisier. On the chart the stop line is green while price is above it (long) and red while price is below it (short), and a triangle marks each flip.

Direction: SHORT · Flips: 15 · ATR period: 10

Synthetic data, for illustration. A higher ATR multiplier sets the stop wider from price, so it flips less often and rides moves longer. A lower one hugs price and flips more. Green triangles are long flips, red are short. The real indicator runs on your TradingView chart.

In plain words

Picture a line that follows price like a guard rail. When price is above the rail you are going up (green), when it drops below the rail you are going down (red). Every time price crosses the rail, the rail jumps to the other side of price and a little triangle shows the switch.

The slider sets how far the rail keeps back from price. A small number keeps it close, so it gets bumped a lot and you see many triangles. A big number keeps it far away, so it only switches on the big moves. The readout just tells you which way you are pointed now.

In the live tool, sensitivity sits next to an ATR period (default 10), a trend EMA filter (default length 50) with an optional slope check, independent long and short toggles, a bar-close confirmation, and a minimum-bars cooldown between signals. The demo shows only the stop and its flips. In the real indicator, those filters cut the counter-trend and choppy ones.

Markets, phases, timeframes

Assets and markets

  • Works on any liquid market that actually moves: crypto, forex, index futures, large-cap stocks. The ATR-sized stop adapts to each instrument, so you do not retune the distance per symbol.
  • Avoid illiquid tickers. A jumpy ATR reading makes the stop distance swing around and the line flips on thin prints.
  • It is an overlay tool, so it plots directly on price and needs no separate pane.

Market phases

  • Trending: best case. The line trails under (or over) the move and you ride it until price closes back through.
  • Pullback inside a trend: the EMA filter and slope check keep you on the trend side and ignore the counter-trend poke.
  • Range or chop: weakest case. The stop hugs price and flips on small pokes. Widen sensitivity, raise the cooldown, or stand aside until a real move starts.

Timeframes

TimeframeUse
15m to 1HIntraday entries and timing. Reactive flips, more of them, so lean on the cooldown and the EMA filter.
1H to 4HThe sweet spot for swing setups. Cleaner flips and fewer of them.
1D and higherLonger-horizon trend following. Wide trail, rare flips, each one meaningful.

What you see on the chart

The trailing stop is the only structural element on the chart. It sits below price in an uptrend and above price in a downtrend. When price crosses it, the line flips sides and an entry triangle prints. An optional gold trend EMA shows the bias, candles can be tinted to the current state, and a small PRO table reports the live status.

Trailing stop, green (long)

Price is above the stop, so direction is up. The line is your running invalidation below price and the LONG triangle prints below the bar on a flip.

Trailing stop, red (short)

Price is below the stop, so direction is down. The line trails above price and the SHORT triangle prints above the bar on a flip.

Trend EMA, gold

The bias filter (default length 50). Longs only fire above it, shorts only below it, and the optional slope check blocks signals when it is flat.

Bar coloring and neutral state

Candles are tinted green in a bullish state and red in a bearish state when Color Bars is on. Grey marks a neutral readout in the table when neither side is clearly held.

The PRO table in the top-right corner has four rows. Profit % is a live running figure on the current open signal, measured from the last signal price while the trade is still open.

Table rowWhat it shows
TrendCurrent state from the stop: LONG when price is above it, SHORT when below.
Last SignalDirection of the most recent confirmed flip (LONG, SHORT, or NONE).
Profit %Live percent move since the last signal price, in the signal direction.
Filter BiasWhat the trend filter currently permits: LONG, SHORT, MIXED, or OFF when the filter is disabled.

How to use it

1
Go with the flip

A long flip turns the line green under price, a short flip turns it red above price. Trade in the direction of the current side and let the line track behind you.

2
Let the trend EMA filter the noise

With the trend filter on, longs only fire above the EMA and shorts only below it. The slope check blocks signals while the EMA is flat, the classic chop regime.

3
Wait for the bar to close

Keep Confirm On Bar Close enabled so a flip only counts once the candle closes. A closed-bar flip is the entry cue that will not repaint, so a mid-bar flicker that vanishes never traps you.

4
Use the line as your stop

The trailing stop is running invalidation. Exit when price closes back through the line. That close is the signal that the move is done.

5
Set the cooldown for choppy markets

Raise the minimum bars between signals to block rapid re-entries when price is whipping back and forth across the line.

Two common scenarios. A clean trend: take the flip in the EMA direction, then trail the stop and hold until a close back through it. A consolidation breaking out: wait for the flip plus the EMA turning in the same direction, and let the cooldown keep you from chasing the first false poke.

When to ignore a signal:

  • The flip fires against the trend EMA, or the EMA is flat. That is the counter-trend and ranging case the filter is built to drop.
  • Price is stuck in a tight range and the line is flipping every few bars. Stand aside until a real move starts.
  • The flip prints mid-bar and has not closed yet. Wait for the close before acting.
  • The signal sits right into a major news release or a known liquidity gap, where the ATR distance can be blown through instantly.

Settings and signals

ParameterDefaultEffect
Key Value / Sensitivity1.2ATR multiplier for the trailing stop. Higher means a wider trail, fewer but stronger flips. Lower means a tighter, more reactive but noisier trail.
ATR Period10Lookback of the ATR that sizes the stop. Longer is smoother and slower to flip, shorter is more responsive but more whipsaw-prone.
Use Trend FiltertrueRequire price to be on the correct side of the trend EMA before a signal fires. Off allows counter-trend triggers.
Trend EMA Length50Length of the trend-defining EMA. Higher is a slower, higher-timeframe bias. Lower reacts sooner and is more tactical.
Use EMA Slope FiltertrueAlso require the trend EMA to be sloping in the signal direction. Filters out flat and ranging conditions.
Allow LongtrueMaster switch for LONG signals. Turn off to trade only shorts.
Allow ShorttrueMaster switch for SHORT signals. Turn off to trade only longs.
Confirm On Bar ClosetrueOnly fire signals on closed bars. Off allows intrabar triggers that may repaint until the candle closes.
Minimum Bars Between Signals2Cooldown, the minimum bars between two consecutive signals. Higher means fewer but cleaner triggers.
Show Trend EMAtruePlot the trend-filter EMA on the chart.
Show LONG/SHORT SignalstruePlot entry triangles and text labels at confirmed signals.
Color BarstrueTint candles green in a bullish state and red in a bearish state.
Show PRO TabletrueShow the PRO dashboard in the top-right corner of the chart.

The two signals and the exact conditions behind them:

SignalFires when
LONG (green triangle below bar)Price crosses above the trailing stop, Allow Long is on, the trend filter agrees (price above EMA, EMA sloping up), the bar is confirmed, and the cooldown has passed.
SHORT (red triangle above bar)Price crosses below the trailing stop, Allow Short is on, the trend filter agrees (price below EMA, EMA sloping down), the bar is confirmed, and the cooldown has passed.

Both signals are also published as alert conditions, named Trend Trigger PRO Long and Trend Trigger PRO Short.

Glossary

ATR (Average True Range)
A measure of how much a market typically moves per bar. Trend Trigger multiplies it by the sensitivity to set how far the stop sits from price, so the trail breathes with volatility.
Trailing stop
A stop level that follows price as the move goes your way and never moves against you. Here it is the single Trend Trigger line, and a close back through it is your exit cue.
Crossover and crossunder
Crossover is price moving from below to above the stop (the long trigger). Crossunder is price moving from above to below it (the short trigger).
Trend EMA
An exponential moving average (default length 50) used only as a bias gate. Longs are allowed above it, shorts below it.
EMA slope
Whether the trend EMA is rising or falling. The slope filter requires it to point the same way as the signal, which screens out flat, sideways markets.
Confirm on bar close
Acting only once a candle has closed. It removes intrabar repainting at the cost of entering a step later.
Cooldown
A minimum number of bars between two signals, so a single noisy zone cannot fire a cluster of triggers.

Risk and position size

Trend Trigger hands you a precise, objective stop level for free: the line itself. That makes position sizing mechanical. Decide how much of your account you are willing to lose on the trade, measure the distance from your entry to the stop line, and let those two numbers set the size. The stop distance does the math, so the size never comes down to a guess.

1
Fix your risk per trade

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.

2
Measure the stop distance

Take the distance from your entry to the Trend Trigger line. That is where the trade is wrong, in price terms.

3
Size from the distance

Position size equals risk amount divided by stop distance. A wider ATR-driven trail means a smaller position, a tighter trail means a larger one, so your loss stays constant.

In plain words

Say a long flip prints at 100 and the Trend Trigger line 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. If price closes back below 96 you lose about 100, exactly your plan. If the trail keeps rising under the move, you ride it and exit only when price closes back through the line.

Common mistakes

  • Setting sensitivity too low so the chart floods with flips. Start near the default of 1.2 and widen it if you are getting chopped up.
  • Trading flips that fire against the trend EMA or while it is flat. That is exactly what the filter and slope check are there to drop.
  • Turning off Confirm On Bar Close and then acting on a mid-bar flicker that vanishes by the close.
  • Treating the flip as a prediction. It confirms after price has already crossed the line, so you are always a step into the move.
  • Ignoring the stop. The whole point is the close back through the line, so honor it instead of widening the trade after the fact.
  • Running it on illiquid tickers where the ATR is jumpy and the stop distance swings around.

Limitations

Important: A trailing stop is a reaction to what price already did. The flip confirms after price has crossed the line, so you enter a step into the move, never at the exact turn. With bar-close confirmation on, the signal waits for the candle to close, which is the no-repaint trade-off.
  • In a tight range it whipsaws. The stop hugs price and flips on small pokes. Widen the sensitivity or stand aside until a real move starts.
  • Turning off bar-close confirmation reintroduces intrabar repainting: a flip can appear and then disappear before the candle closes.
  • On illiquid tickers the ATR reading is jumpy, so the stop distance swings around. Use it on instruments that actually trade.
  • It times entries and trails a stop. It will not forecast price for you, and on its own it is no substitute for a trading plan. Markets change regime, so validate on your own symbol and timeframe.

Educational tool. Not financial advice. Trading involves risk.

More in Entry and timing

Want the full toolkit?

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

See pricing