TradingView NinjaTrader 8

Trend Shift

Dual-engine trend direction. HTF Breakout for structural confirmation, Edge Shift for early pivot detection. When both engines agree, the trade takes itself.

FLB Trend Shift direction signals displayed on a trading chart
Video Coming Soon
Overview

Two engines. One verdict. No ambiguity.

FLB Trend Shift is the directional arbiter of the FLB ecosystem. It runs two independent trend engines — HTF Breakout for structural direction and Edge Shift for early pivot detection — plus a baseline-driven confirmation layer that recolors candles in real time.

You can run either engine alone, or both at the same time. When both agree, you have the cleanest directional read available anywhere — an early entry from Edge Shift, a structural confirmation from HTF Breakout, and a visual confirmation from candle coloring. That's the setup this guide is built around.

Trend Shift doesn't predict. It confirms. Edge Shift sees the pivot first, HTF Breakout confirms it structurally, and candle coloring confirms it visually.
Three Confirmation Layers
When all three align — the trade takes itself.
1

Edge Shift arrow. Early warning — the auction just pivoted.

2

HTF Breakout arrow. Structural confirmation — the pivot is real.

3

Candle color flip. Visual confirmation — price broke the band in the trend direction.

The Two Engines

Independent by design — better together

Each can be toggled on or off in the Modules panel. Most members run both simultaneously, but there are situations where one alone is the right tool.

HTF Breakout

Structural — blue ▲ / yellow ▼

Watches a higher timeframe (default 5m) for breakouts above the prior HTF bar's high or breakdowns below its low. Trend flips only when the current chart's close confirms the break.

A glowing channel line traces HTF low (uptrend, green) or HTF high (downtrend). Conservative, high-conviction. Almost never whipsaws.

Edge Shift

Early pivots — lime ▲ / red ▼

Tracks the running extreme of the current trend and flips when price reverses a user-defined Sensitivity threshold from that extreme. Default Sensitivity 0.3 — meaning a 0.3% pullback from the trend extreme triggers a flip.

A teal dotted line below price shows where the next upside flip would fire. Orange dotted line above shows where the next downside flip would fire.

TIP

The two engines complement each other. Edge Shift is fast and sometimes wrong. HTF Breakout is slow and almost always right. Running both gives you the speed of Edge plus the reliability of HTF.

Signals at a Glance

Every arrow, line, and color

With both engines enabled, Trend Shift can paint up to eight distinct signal types on your chart.

HTF Engine

Blue ▲ below bar

Structural trend just flipped up. Confirmed on chart-bar close.

HTF Engine

Yellow ▼ above bar

Structural trend just flipped down. Confirmed on chart-bar close.

HTF Engine

Glowing channel line

Active HTF boundary with neon glow. Green in uptrends (traces HTF low), blue in downtrends (traces HTF high). Primary trail-stop reference.

Edge Shift

Lime ▲ below bar

Early bullish pivot. Price reversed off the trend low by your Sensitivity threshold.

Edge Shift

Red ▼ above bar

Early bearish pivot. Price reversed off the trend high by your Sensitivity threshold.

Edge Shift

Teal & orange dotted lines

Trigger levels. Teal below price = next upside flip. Orange above price = next downside flip.

Confirmation

Green candles

HTF trend up AND price broke the upper confirmation band. Highest-conviction bullish state.

Confirmation

White / neutral candles

Price crossed back through the baseline. Trend is weakening — consider trailing stops or partial exit.

The Dual Agreement Strategy

The flagship setup

When Edge Shift fires first, then HTF Breakout confirms within a few bars, then candles turn the trend color — you have Dual Agreement. Three independent engines, one unified read.

Step 1

Lime ▲ fires

Edge Shift detected an early bullish pivot. This is your heads-up, not your entry. Start watching.

Step 2

Blue ▲ fires within a few bars

HTF Breakout confirms — structural trend has flipped up. The pivot is real.

Step 3

Candles turn green

Price broke the upper confirmation band with HTF trend up. Third confirmation. Dual Agreement plus visual.

Step 4

Check the FLB stack

Trade Shield clear. FLB zones with room above. Surge green. Key Levels aligned. No veto anywhere.

Step 5

Enter long at next bar open

Stop below the Edge Shift pivot low or HTF channel — whichever is tighter. Size based on R, not emotion.

Step 6

Trail the HTF channel up

The channel steps up as HTF lows rise. Move your stop to just below each new step. Exit when price breaks channel OR candles turn white OR opposite signal fires.

TIP

When Dual Agreement fails. If HTF hasn't confirmed within roughly 10 bars after Edge Shift, the pivot was likely a failed early signal. Don't force the trade. Three invalidation patterns: no HTF follow-through, conflicting HTF state, candles stay white.

Solo Playbooks

When to run one engine alone

Dual Agreement is the flagship. But there are sessions where running a single engine is the right call.

Playbook A

HTF-Only Mode

Disable Edge Shift. Trade only blue ▲ / yellow ▼ arrows and candle coloring. Strips the noise of early pivots.

Best for: clean trending days, higher TFs (5m, 15m trading chart), traders who prefer fewer signals with higher conviction.

Playbook B

Edge-Only Mode

Disable HTF Breakout. Trade only lime ▲ / red ▼ and trigger lines. No candle coloring, no HTF channel. Fast and pure.

Best for: news-driven sessions, CPI/FOMC days, very short-term scalps where 3–10 bar HTF confirmation is too long.

Mode Selection

By session regime

Clean trending day: Dual Agreement.

Slow / grinding: HTF-Only (Edge will fire constantly on noise).

News / volatility: Edge-Only (HTF too slow).

Range / chop: Stand aside.

Exit Strategy

Trail the HTF channel

The glowing stepped HTF channel is the built-in trail stop. In an uptrend, the channel glows green and traces the HTF low — stepping up every time a new HTF bar makes a higher low. Mirror for downtrends.

Exit 1

HTF channel break (primary)

Price closes back through the HTF channel against your position. Structural trend weakening. Exit immediately, even if profit is thin.

Exit 2

Candles turn white

Price crossed back through the baseline. Early warning — momentum dying. Consider trailing tighter or taking partial profit.

Exit 3

Opposite-direction arrow

Blue ▲ or yellow ▼ against your position. Hardest signal — structural trend has officially flipped. Exit on next bar open regardless of P&L.

Exit 4

Target reached

Key Level, FLB zone boundary, or Prev Day extreme in your direction. Take full exit or scale out and trail the rest.

TIP

The trail is the trade. Good entries don't make money — good exits do. Every time the channel steps, move your stop to just beyond the new step. Don't override with gut feel — the channel has more information than you do in the moment.

Settings Reference

By trading style

Trend Shift ships with defaults tuned for NQ/MNQ scalping on 15s–2m charts.

Module Toggles

Master switches
HTF Breakout OnStructural trend engine.
Edge Shift OffEnable for Dual Agreement or solo pivot detection.
Enable Candle Coloring OnCritical for visual confirmation of the baseline breakout.

Engine Tuning

Sensitivity + timing
HTF Timeframe 15mLower to 5m for faster structural reads on 15s charts. Raise to 1H for swing work.
Sensitivity 0.3Edge Shift threshold. Lower for more signals, higher for fewer. % pullback from trend extreme.
Min Bars Between Signals 3Prevents rapid back-to-back Edge Shift flips.
Allow Intrabar Signals OffKeep OFF for live trading. No repainting.

Style Presets

By timeframe
15s scalp (default) HTF 5m / Sens 0.1 / Min 3Tight sensitivity for fast charts.
1m scalp HTF 15m / Sens 0.3 / Min 3Standard intraday.
5m intraday HTF 1H / Sens 0.5 / Min 5Session-hold timeframe.
15m+ swing HTF 4H / Sens 0.75 / Min 5Swing / position trading.
Alerts

Four alert conditions

Configure in TradingView's alert panel or NT8's alert system. Wire what you trade.

HTF Breakout Engine

2 alerts
HTF Breakout UpBlue ▲ — structural trend just flipped up. Confirmed on chart bar close.
HTF Breakout DownYellow ▼ — structural trend just flipped down. Confirmed on chart bar close.

Edge Shift Engine

2 alerts
Edge Shift UpLime ▲ — early bullish pivot detected.
Edge Shift DownRed ▼ — early bearish pivot detected.
TIP

If you trade Dual Agreement, wire all four. Edge Shift gives the heads-up, HTF Breakout gives structural confirmation. When the second alert fires shortly after the first in the same direction, you have your setup.

Common Mistakes

How traders misuse Trend Shift

Most mistakes come from treating one engine as a complete system.

Trading every Edge Shift arrow

Edge Shift is early by design — which means some signals are too early. Taking every lime ▲ or red ▼ without HTF confirmation is trading a high-false-positive signal in isolation. Pair it.

Trading against the HTF channel

The glowing channel represents structural direction. An Edge Shift signal pointing opposite the channel's position is a warning, not a trade. Respect the channel.

Ignoring white / neutral candles

Candles flipping back to white is the earliest reversal warning. Traders who wait for the full HTF flip often give back 40%+ of gains. Respond with tighter stops or partial exits.

Fixed stops instead of trailing the channel

20-tick stops below entry and leaving them defeats the stepped HTF channel. The channel tells you where structure is, bar by bar. Use it. Fixed stops get hit on noise; channel stops get hit only on real structural breaks.

Running the wrong mode for the regime

Dual Agreement on a chop day produces constant failed-confirmation noise. HTF-only on a news day lags everything. Match mode to session — re-read Solo Playbooks if unsure.

Trading on the Edge arrow before HTF confirms

Dual Agreement requires all three confirmations. Taking the trade on lime ▲ before blue ▲ and green candles is skipping the confirmation that makes the setup reliable. Use the 3–10 bar waiting window.

Forgetting Trade Shield

A perfect Dual Agreement setup is still no-trade if Trade Shield is flagging tilt or loss-limit proximity. Behavioral rules override technical setups every time.

Enabling Allow Intrabar Signals

Repaints. Live trading and historical backtests will diverge. Always keep this OFF in production.

FAQ

Frequently asked

Trend Shift classifies changes in its directional regime. Pullback marks a product-defined reclaim inside an established baseline direction. They describe different conditions; neither tells a user when to enter or guarantees continuation.

HTF Breakout and Edge Shift can be displayed separately or together as Dual Agreement. Each mode uses different confirmation rules and can produce different timing. Select a mode through a written, tested process rather than changing it in response to a single session.

HTF Breakout waits for a chart-bar close beyond the prior higher-timeframe bar's high or low, so confirmation necessarily occurs after that condition is observed. A shorter HTF setting can respond sooner but also changes marker frequency and context; it does not eliminate false signals.

Sensitivity changes how readily Edge Shift qualifies a move. Lower values can produce more markers from smaller changes, while higher values are more selective under the product's rules. Default 0.3 is a documented NQ/MNQ starting point, not a proven optimum; compare settings on the same data.

Under the current settings, price did not close through the confirmation band in the displayed trend direction. That means the third Dual Agreement condition is absent. It describes the indicator state and is not a prediction of what price must do next.

At each qualifying higher-timeframe bar close, the channel updates to the bar's low in the displayed up state or high in the displayed down state. The line is a visual reference, not a broker-held trailing-stop order, and it does not guarantee an executable exit price.

Trend Shift can be applied to supported stock charts with suitable bar history. Behavior varies by symbol, session, liquidity, timeframe, and settings. Defaults documented for NQ/MNQ are starting points only; validate a stock configuration separately before live use.

Ready?

Edge Shift sees it. HTF confirms it. Candles verify it.

Dual-engine trend direction. HTF Breakout for structural confirmation, Edge Shift for early pivots — when both agree, the trade takes itself.