All indicators

VWAP Trend Strategy (Intraday)

Sep 9, 2025

Static chart image
Volume BasedSignalsMoving AveragesVolatility

The VWAP Trend Strategy (Intraday) indicator is a comprehensive trading tool that utilizes volume-weighted average price (VWAP) as a session anchor while filtering signals through local trend and volume participation gates. It provides a structured approach to intraday trading by ensuring that entries only occur when price alignment, trend direction, and market liquidity converge.

Usage

The Usage section describes how the script can be used to navigate intraday market moves. Users can select between two primary entry modes to suit different market conditions:

  • Cross only: Fires an immediate signal when the price crosses the VWAP in the direction of the established EMA trend.
  • Cross+Retest: Requires the price to cross VWAP and then revisit its vicinity within a specified lookback window. This mode is useful for avoiding "first-touch" fakeouts and seeking better risk-reward entries.
  • Momentum Exception: When enabled, this allows the strategy to bypass the retest requirement if a candle exhibits high volume and a large body percentage, signaling an impulsive breakout.

For exits, the strategy employs a dual-layered approach. The TrendBreak exit triggers when the price closes on the opposite side of VWAP and the EMA alignment flips, signaling a loss of structural momentum. Additionally, an ATR emergency stop acts as a hard risk cap to protect capital against sudden volatility.

Details

This strategy is built on a sequence of logic "gates" that must be satisfied before any trade execution is considered:

  1. Trend Gate: Uses a fast and slow EMA relationship on the entry timeframe. Long entries are suppressed unless EMA(fast) > EMA(slow), and vice versa for shorts.
  2. Participation Gate: Analyzes volume relative to a Simple Moving Average (SMA). If the current volume is below the SMA multiplied by a user-defined factor, the move is considered a "low-liquidity wiggle" and is ignored.
  3. VWAP Anchoring: All price action is referenced against the session's VWAP, treating it as the primary "fair value" level for the intraday period.
  4. Bias Filter: An optional higher timeframe (HTF) EMA filter ensures that intraday trades align with the broader market direction.

Settings

Core Calculations

  • Higher TF for Trend: Sets the timeframe used for the broader trend bias filter.
  • EMA (fast/slow) on entry TF: Defines the lengths for the local trend gate.
  • Volume SMA length/multiple: Configures the participation gate sensitivity.

Entry & Management

  • Entry mode: Choose between "Cross only" or "Cross+Retest".
  • Retest lookback bars: The window of time the strategy looks for a return to the VWAP area.
  • Max 1 trade per side per day: Restricts the strategy to one long and one short per session to prevent overtrading.
  • Min bars between trades: Sets a cooldown period between consecutive signals.

Risk & Momentum

  • Use ATR emergency stop: Enables or disables the ATR-based stop loss.
  • ATR length/multiplier: Controls the volatility-adjusted distance of the stop loss.
  • Enable momentum exception: Allows the strategy to enter on strong breakouts without waiting for a retest.
  • Momentum min candle body %: The required relative size of the candle body to qualify as momentum.

FAQ

How do I interpret the "TrendBreak" exit? The TrendBreak occurs when the price loses its relationship with the VWAP and the local EMA trend reverses. It is designed to exit trades when the intraday structure that supported the entry has fundamentally shifted.

Why are no signals appearing during some VWAP crosses? The strategy uses "Gates." If the volume is too low (Participation Gate) or the EMAs are not aligned (Trend Gate), the script will ignore the VWAP cross to avoid low-probability setups.

How can I access VWAP Trend Strategy (Intraday)? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.