L2 VWAP CCI Trading System
Oct 16, 2020

The L2 VWAP CCI Trading System indicator provides a hybridized approach to trend and momentum analysis by applying the Commodity Channel Index (CCI) formula to Volume-Weighted Average Price (VWAP) data.
Usage
The indicator is primarily used to identify overbought and oversold conditions relative to volume-weighted price levels. Traders can use the visual cues to determine potential market turning points and cycle extremes.
- Long Signals: Occur when the VWAP CCI crosses above the -200 level, indicating a potential recovery from an oversold state.
- Short Signals: Occur when the VWAP CCI crosses below the 200 level, indicating a potential reversal from an overbought state.
- Overbought/Oversold Zones: The areas above 200 and below -200 serve as exhaustion zones where price may be overextended.
- Zero Line: Acts as a baseline for the trend; the background fill changes color based on whether the VWAP CCI is positive (bullish bias) or negative (bearish bias).
Details
This script is categorized as a "Level 2" composite indicator, meaning it combines independent concepts to create resonance and filter out noise. By substituting standard price data with VWAP in the CCI calculation, the tool accounts for volume distribution when measuring deviations from the mean.
The calculation follows the standard CCI formula but uses ta.vwap as the source:
- Subtracts a Simple Moving Average of the VWAP from the current VWAP.
- Divides the result by the mean absolute deviation of the VWAP multiplied by a constant (0.015).
Additionally, the script includes a backtest output compatible with external testing frameworks like the "NLX-L3 Backtest."
Settings
- CCI Period: Determines the lookback length for the Moving Average and Mean Deviation calculations. Higher values result in a smoother, less reactive line, while lower values increase sensitivity to price fluctuations.
FAQ
How do I access the L2 VWAP CCI Trading System?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What are the primary signals for this indicator?
The indicator plots "BUY" labels when the line crosses above -200 and "SELL" labels when it crosses below 200.
Can this indicator be used for strategy backtesting?
Yes, the script includes a specific "Backtest" output designed to integrate with external strategy frameworks for performance analysis.
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.