VWAP MTF (Multi Timeframe)
Jun 18, 2016

The VWAP MTF indicator provides a volume-weighted average price calculation anchored to user-defined higher timeframes, allowing traders to track institutional value levels across multiple periodicities on a single chart.
Usage
The Usage of the VWAP MTF tool centers on visualizing volume-based support and resistance levels from higher timeframes without switching charts. For example, a trader viewing a 5-minute chart can set the indicator to a 60-minute or Daily timeframe. This will plot a continuous VWAP line that resets its calculation at the start of every new hour or day, respectively.
Traders typically use this indicator to identify trend direction and potential mean reversion points. When the price is trading above the MTF VWAP, the sentiment is considered bullish; when below, it is considered bearish. The tool also includes an option to visualize previous session VWAP closes, which can act as significant historical pivot points.
Details
The script calculates the Volume Weighted Average Price using the average price (hl2) multiplied by volume, which is then divided by the total volume accumulated since the start of the selected timeframe. It utilizes the request.security function to anchor the reset logic to the specific period defined by the user.
The implementation features circle-style plots for better visibility of the discrete price steps associated with higher timeframe calculations. This script is based on original concepts by TheYangGuizi and SandroTurriate, refactored for optimized performance and alert functionality.
Settings
- Timeframe: Determines the anchor period for the VWAP calculation (e.g., Hourly, Daily, Weekly). The VWAP will reset at the beginning of each interval of this timeframe.
- Show barcolors: When enabled, this toggles chart bar coloring based on whether the current price is above (bullish) or below (bearish) the MTF VWAP.
- Show previous VWAP close: Displays a secondary plot representing the final VWAP value from the immediately preceding session or timeframe period.
FAQ
How do I change the reset period for the VWAP? You can modify the reset interval by accessing the indicator settings and selecting a new timeframe from the "Timeframe" dropdown menu. This allows you to view Daily, Weekly, or custom minute-based VWAP levels.
What does it mean when the price crosses the VWAP line? A price crossover often signals a shift in market momentum. The indicator includes built-in alerts to notify users when the price crosses above or below the MTF VWAP line on a bar-close basis.
How can I access the VWAP MTF indicator? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.