All indicators

VWAPVWMAATR

Jan 22, 2020

Static chart image
Volume BasedSignalsTrailing-StopVolatility

The VWAPVWMAATR indicator is a specialized trend-following tool that combines a modified Average True Range (ATR) stop with Volume Weighted Average Price (VWAP) and Volume Weighted Moving Average (VWMA) components to create a smoothed volatility-based trailing stop.

Usage

The indicator is primarily used to identify trend direction and potential reversal points. When the price is above the plotted line, the trend is considered bullish (typically colored green), and when the price is below the line, the trend is considered bearish (typically colored red).

Examples of usage include:

  • Trailing Stop Loss: Use the calculated line as a dynamic exit point for trades, adjusting based on current market volatility and volume.
  • Trend Filtering: Only look for long setups when the price is above the indicator and short setups when it is below.
  • Bar Coloring: The script includes a bar coloring feature that provides an immediate visual representation of the current trend sentiment based on the price's relation to the adapted ATR line.

Details

The script constructs its unique output by blending three distinct technical concepts:

  1. ATR Stop Logic: It calculates a maximum and minimum stop based on a multiplier of the Average True Range. It then uses a recursive logic to maintain the stop level until price action forces a flip in direction.
  2. VWAP Integration: A standard Volume Weighted Average Price calculation over a user-defined cumulative period is factored into the final value.
  3. VWMA Oscillator: The script calculates an oscillator based on the EMA of volume to incorporate volume momentum into the smoothing process.

The final output is an average of these components, resulting in a line that reacts not just to price volatility, but also to volume-weighted price levels and volume momentum.

Settings

  • Cumulative Period: Determines the window for the VWAP calculation.
  • Short Length: The fast period for the volume-based oscillator calculation.
  • Long Length: The slow period for the volume-based oscillator calculation.
  • ATR Period: The lookback period used to calculate the Average True Range.
  • ATR Multiplier: The sensitivity of the stop; higher values create a wider gap from the price, while lower values make it more sensitive to volatility.

FAQ

How do I access VWAPVWMAATR?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Can this indicator be used on lower timeframes?

Yes, the indicator was originally designed with the 15-minute BTC chart in mind, but it can be adapted to any timeframe by adjusting the ATR multiplier and volume lengths.

Why do the bar colors change?

The bar colors change based on whether the closing price is above or below the indicator line, signifying a shift in the volume-weighted trend momentum.

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.