Multi MTF VWAP
Mar 19, 2019

The Multi MTF VWAP indicator provides a comprehensive view of price action by calculating and plotting multiple Volume Weighted Average Price (VWAP) lines across five different user-selected timeframes simultaneously. This tool is designed to help traders identify institutional support and resistance levels, trend direction, and value areas across short-term and long-term horizons on a single chart.
Usage
The Multi MTF VWAP is used to gauge the average price of an asset weighted by volume over specific intervals. By layering multiple timeframes, traders can observe how current price action interacts with "fair value" benchmarks from various cycles.
- Trend Confirmation: When the price is consistently above multiple VWAP lines (e.g., the Daily, Weekly, and Monthly), it indicates a strong bullish trend. Conversely, price below these lines suggests a bearish trend.
- Support and Resistance: Large timeframe VWAPs (like the 12M or 3M) often act as significant dynamic support or resistance levels where institutional buying or selling may occur.
- Convergence/Divergence: Areas where multiple VWAP lines converge often indicate a period of consolidation or a highly significant price level that the market is respecting.
Details
The indicator functions by requesting data from higher timeframes and calculating the cumulative product of price and volume, divided by the cumulative volume, resetting at the start of each specified interval.
The script utilizes request.security to fetch the opening prices of the selected intervals to determine precisely when a new period begins. This ensures that the VWAP calculation resets accurately according to the selected "Interval" settings. The calculation uses a "Source" input (defaulting to HLC3) to represent the price for each bar within the volume-weighting formula.
Settings
- Source: Determines the price data used for the VWAP calculation (e.g., Close, HL2, HLC3).
- Interval 1 - 5: Dropdown menus allowing you to select the timeframe for each of the five VWAP plots. Options range from 30 minutes to 12 months (Yearly).
FAQ
How do I interpret the different colors? The script uses distinct colors and transparencies to differentiate between the five intervals, typically ranging from red for longer intervals to green for shorter ones, though these can be customized in the Style tab.
Can I set alerts for price crosses? Yes, the script includes built-in alert conditions for price crossing above or below the primary (Interval 1) and shortest (Interval 5) VWAP lines.
How can I access the Multi MTF VWAP? 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.