TradingView NinjaTrader 8

First Flat

A multi-timeframe momentum shift detector. Fires when the market prints its first committed candle in a new direction — flat-top bearish or flat-bottom bullish, no wick against the move.

First Flat momentum shift signals displayed on a trading chart
Video Coming Soon
Overview

The moment direction commits.

First Flat is a multi-timeframe momentum shift detector. It watches three higher timeframes at once and fires a signal the instant the market prints its first committed candle in a new direction — a flat-top bearish candle after a bullish run, or a flat-bottom bullish candle after a bearish run. No wick against the direction of commit. Full conviction from the open.

These are not confluence hints. They are trade signals. A confirmed First Flat means price opened, immediately moved in the new direction, and closed without ever giving the previous direction another look. That's what a real momentum shift looks like — and when it happens on a higher timeframe, it tends to keep going.

A First Flat is the market saying: we're going this way now, and we're not looking back. ▼ = short-bias. ▲ = long-bias.
Three HTF Layers
Each layer fires its own labels.
1

HTF 1 — Scalp Layer. Default 5m. Fast, frequent. For 15s/1m/2m trading charts.

2

HTF 2 — Intraday Shift. Default 15m. Catches session-sized moves.

3

HTF 3 — Structural. Default 1H. Rare — defines the day's bias.

The Pattern

What First Flat actually detects

Two specific candle shapes. Two specific contexts. Plus a 'first' rule that filters continuation from commitment.

Bearish ▼

Flat-top bearish candle

A bearish candle where high equals open. No upper wick at all. Price opened, sellers stepped in immediately, and price never traded above the open for the entire candle.

Uncontested selling from tick one.

Bullish ▲

Flat-bottom bullish candle

A bullish candle where low equals open. No lower wick at all. Price opened, buyers took over instantly, and price never traded below the open for the entire candle.

Uncontested buying from tick one.

First Rule

Why 'First'

Only fires on the first flat candle of a new direction. If the prior HTF bar was bullish and a flat-top bearish prints, ▼ fires. Another flat-top right after = no signal (continuation, not a shift).

The detector resets after each signal.

Heikin Ashi

Smoothed mode (default)

Heikin Ashi toggle ON by default. Applies pattern detection to HA candles instead of regular OHLC. Makes flats rarer but more meaningful.

Turn off for literal no-wick candles on the actual chart — faster, more signals, more noise.

TIP

Institutional read. When a bar opens and immediately goes one direction without a single wick against it, one side suddenly stopped buying (or selling) the way they were on the previous bar. Participation shifted. That's why First Flats tend to extend.

The Three Layers

When each one matters

First Flat watches three independent higher timeframes at once. Each has its own color scheme and fires its own labels. You can run all three or disable the ones you don't trade.

HTF 1 · 5m

Scalp Layer

Fastest layer. Designed for scalp entries on 15s, 1m, 2m trading charts.

Several per session on active days. Use for quick momentum scalps when FLB zone confluence and Trade Shield are clean.

HTF 2 · 15m

Intraday Shift

Middle layer. Catches the intraday momentum shifts that matter for session-sized moves.

Fewer signals than HTF 1, but each one represents meaningful directional commit. Often kicks off the day's best trending moves.

HTF 3 · 1H

Structural Shift

The slow, structural layer. Rare — often just one or two per day across a full session.

When HTF 3 fires, the larger auction has committed. Worth paying attention to even when not trading directly — they bias the rest of the session.

TIP

Which layers to run: Scalpers on 15s/1m — all three. HTF 1 triggers, HTF 2/3 provide bias context. Intraday on 5m/15m — HTF 2 and HTF 3 are your triggers, HTF 1 becomes noise. Daily/position — HTF 3 only, expand to 4H for bigger shifts.

Two-Stage Signals

Warning circles, confirmed labels

First Flat fires in two stages. The warning stage tells you what might happen. The confirmation stage tells you what did happen. Trading each differently is how you avoid getting faked out.

Stage 1

Warning Circle

As soon as the current HTF bar matches the flat pattern, a faded colored circle appears near the current price. This HTF bar is forming as a flat candle right now.

Live — if a wick prints against the direction, the circle disappears. The circle only persists while the pattern is still valid.

Stage 2

Confirmed Label

When the HTF bar closes with the pattern intact, a colored ▼ or ▲ label prints showing the TF that fired (e.g., '▼ 5m', '▲ 1H'). This is the trade signal.

Confirmed labels do not move. Once they print, they stay. The warning circle is deleted at this point — it has done its job.

TIP

The rhythm. Circle appears (prepare). Circle persists as HTF bar develops (setup holding). Bar closes, circle disappears, label prints (go). If the circle disappears before the bar closes, the setup failed — no label, no trade.

Three Playbooks

Scalp, intraday, structural

First Flat is one of the more directive tools in the FLB ecosystem. Unlike Surge or Key Levels (which tell you where to pay attention), First Flat tells you something just happened.

Playbook 1

HTF 1 Scalp

Fast, frequent, tight stops. 15s/1m/2m chart. Use HTF 1 (5m) labels as direct scalp triggers.

Entry: on first pullback after the label. Stop: beyond the 5m flat candle's extreme. Target: next Key Level.

Playbook 2

HTF 2 Intraday Hold

Sustained moves, bigger targets. 15m First Flat fires — intraday auction has shifted. These are the trades worth holding longer than a scalp.

Best with HTF 3 agreement. Often the best trending moves of the session start with an HTF 2 First Flat.

Playbook 3

HTF 3 Structural Flip

Rare. Slow. Session-defining. When the structural bias commits, the move runs hours.

Even if you don't trade it directly: a confirmed ▼ 1H is a no-longs-for-the-rest-of-the-session warning. ▲ 1H is no-shorts.

Signal Stacking

When multiple layers fire together

The cleanest First Flat trades happen when more than one layer agrees. When ▼ 5m prints inside a recent ▼ 15m window, or all three layers fire same-direction within a session — conviction compounds.

Low

HTF 1 alone

No other layers matching. Small-size scalp only. Requires strong FLB zone confluence.

Medium

HTF 1 + HTF 2 same direction

Standard scalp or intraday hold. Tradable on its own with basic stack confluence.

High

HTF 2 + HTF 3 same direction

High-conviction swing. Hold through intraday chop. Target far Key Levels.

Maximum

All three layers same direction

The A+ setup. Size up. Full stack confluence required. Rare — take them seriously.

TIP

The Golden Stack. HTF 3 fires in the morning. HTF 2 fires shortly after, same direction. HTF 1 fires during a pullback. All three label the same direction. FLB zone confluence. Surge agrees. Trade Shield green. That's the trade you build a trading day around.

Settings Reference

Timeframes, Heikin Ashi, alerts

Defaults (5m / 15m / 1H) tuned for NQ/MNQ intraday scalping. Each HTF input is independent.

Timeframe Inputs

Per-layer
HTF 1 5mScalp layer timeframe. Fast signals.
HTF 2 15mIntraday shift timeframe. Session-sized moves.
HTF 3 60m (1H)Structural timeframe. Rare, high-conviction.

Style Presets

By chart speed
Scalp (default) 5m / 15m / 1HStandard NQ/MNQ scalping configuration.
Ultra-fast scalp 2m / 5m / 15mFor 15s / 30s trading charts.
Intraday swing 15m / 1H / 4HFor 5m–15m trading charts, session-hold style.
Position / daily 1H / 4H / DFor daily-bias traders. Rare signals.

Pattern Detection

Mode + colors
Heikin Ashi OnSmooth out single-bar noise. Flats rarer but more meaningful. Recommended.
HTF 1 Colors Red / GreenBear / Bull labels for the scalp layer.
HTF 2 Colors Orange / LimeBear / Bull labels for intraday layer.
HTF 3 Colors Fuchsia / AquaBear / Bull labels for structural layer.
Alerts

Per-layer confirmation alerts

Configure per layer in TradingView's alert panel.

HTF 1 — Scalp Layer

2 alerts
First Flat ▲ 5mBullish 5m flat candle confirmed. Scalp long bias.
First Flat ▼ 5mBearish 5m flat candle confirmed. Scalp short bias.

HTF 2 — Intraday Shift

2 alerts
First Flat ▲ 15mBullish 15m flat candle confirmed. Intraday hold long bias.
First Flat ▼ 15mBearish 15m flat candle confirmed. Intraday hold short bias.

HTF 3 — Structural

2 alerts
First Flat ▲ 1HBullish 1H flat candle confirmed. Session-defining bullish bias.
First Flat ▼ 1HBearish 1H flat candle confirmed. Session-defining bearish bias.
TIP

Wire HTF 2 and HTF 3 alerts to your phone. Skip HTF 1 alerts unless you want constant notifications during the session — HTF 1 fires too frequently for push. Watch HTF 1 visually while at the desk; alert on HTF 2 and HTF 3 when not.

Common Mistakes

How traders misread First Flat

Most mistakes confuse the warning with the confirmation, or trade against the candle instead of with it.

Entering on the warning circle

Warnings flicker. A circle with 4 minutes left on a 5-minute bar has plenty of time to fail. Treat warnings as a heads-up to prepare — not as a green light to click. Wait for the label.

Trading against the flat candle

▼ means short, not long. ▲ means long, not short. Confusing First Flat with a reversal-fade signal gets you crushed. The flat candle is the shift — trade with it.

Ignoring layer disagreement

▼ 5m while ▲ 1H is still in play is a conflicted setup. The 5m says shift down, the 1H says up. Skip. When layers disagree, no trade.

Taking every HTF 1 signal

HTF 1 (5m) fires frequently. Treating every 5m First Flat as a trade puts you in and out constantly — death by a thousand cuts. HTF 1 needs confluence.

Using confirmed labels hours after they fired

Signals have a shelf life. An HTF 1 label from 45 min ago is stale. Check the label time before trading it.

Forgetting Trade Shield

▼ 5m signal while Trade Shield is warning about tilt is still no-trade. First Flat is a trigger, but behavioral risk overrides every technical setup.

Turning off Heikin Ashi to see more signals

More signals isn't the goal — cleaner signals are. HA mode filters single-bar fakeouts. Disabling HA gives you the fakeouts HA was protecting you from.

Stacking signals across stale time windows

An HTF 1 stack with HTF 2 from 45 minutes earlier may not be valid anymore. HTF 1 + HTF 2 stack window is roughly 15–30 minutes. HTF 2 + HTF 3 is most of the session.

FAQ

Frequently asked

By design — the 'First' rule. Only the first flat candle of a new direction fires. If the prior HTF bar was bullish and a flat-top bearish prints, ▼ fires. Another flat-top right after = continuation, no signal. The detector waits for the opposite direction before resetting.

First Flat classifies qualifying candle shapes, while Trend Shift uses its HTF Breakout and Edge Shift engines to describe directional state. They can be studied together because they use different inputs, but combining indicators does not guarantee a better signal or outcome.

Heikin Ashi changes the candle series used by the pattern logic and can smooth single-bar variation. Turning it off applies the detector to the chart's standard OHLC candles and can change marker frequency. Compare both settings on the same historical window before choosing one.

The circle persists only while the HTF bar still matches the flat pattern. If a wick prints against the direction, or direction flips mid-bar, the pattern is broken — circle disappears, no label will fire. The setup failed.

HTF 3 can be displayed as a standalone structural context layer without HTF 1 or HTF 2. Treat the larger-timeframe label as context, confirm the current product state, and apply your own tested entry, exit, and position-sizing rules; it is not an instruction to increase size or hold a trade.

The label remains historical context until a later state invalidates it under the product's logic. Its age alone does not make it actionable. Confirm the current market and indicator state before including an older label in a decision process.

First Flat can be applied to supported stock charts with reliable OHLC history. Signal behavior varies with the symbol, session, liquidity, timeframe, and settings, so validate a specific configuration before using it live.

Ready?

When direction flips, the first committed candle shows up.

Multi-timeframe momentum shift detector. Fires when the market prints its first committed candle in a new direction across three HTF layers.