Swing VWAP Weekly Stock and Crypto Strategy
Aug 28, 2021

The Swing VWAP Weekly Stock and Crypto Strategy tool is designed to identify long-term trend shifts in equities and digital assets by using the Weekly Volume Weighted Average Price (VWAP) as a primary directional filter.
Usage
This strategy is most effective when applied to higher timeframes, such as the 8-hour, 12-hour, or Daily charts. It identifies market momentum based on the relationship between the current price and the weekly anchor of the VWAP.
- Long Entry: Initiated when the price closes above the Weekly VWAP.
- Short Entry: Initiated when the price closes below the Weekly VWAP.
- Exit Conditions: Trades are closed when the opposing condition is met (e.g., a long position closes when the price moves below the VWAP) or when the slope of the VWAP indicates a loss of momentum.
Details
The strategy utilizes the request.security function to fetch data from the weekly timeframe ("W"), ensuring that the VWAP remains consistent regardless of which intra-week timeframe the user is viewing. VWAP is a benchmark used by institutional traders to determine the average price a security has traded at throughout the period, based on both volume and price. By using a weekly anchor, this strategy filters out noise and focuses on significant swing movements.
Settings
- Initial Capital: Sets the starting balance for the strategy backtest.
- Order Size: Determines the percentage of equity used for each trade.
- Commission: Accounts for trading fees (defaulted to 0.03%) to provide more realistic backtesting results.
- Weekly VWAP Plot: A visual line on the chart that changes color based on whether the price is currently above (bullish) or below (bearish) the anchor.
FAQ
How do I use the Swing VWAP Weekly Strategy?
Apply the strategy to a high-timeframe chart (like 8H or 1D) and monitor the crossovers of the price action relative to the Weekly VWAP line for entry and exit signals.
What markets is this strategy best suited for?
While it can be used on any asset with volume data, it is specifically optimized for the Stock and Crypto markets where trend-following via VWAP is a common institutional practice.
How can I access this tool?
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.