All indicators

Vwap Colorful

Feb 3, 2019

Static chart image
Volume BasedSignalsMoving Averages

The Vwap Colorful indicator provides a color-coded Volume Weighted Average Price (VWAP) line to help traders quickly identify the current trend direction and momentum of an asset.

Usage

The Usage of the Vwap Colorful tool is straightforward, as it transforms the standard VWAP line into a dynamic visual trend filter.

  • When the VWAP value is increasing compared to the previous bar, the line turns green, suggesting bullish momentum.
  • When the VWAP value is decreasing compared to the previous bar, the line turns red, suggesting bearish momentum.

Traders can use these color shifts as potential signals for trend changes or as a confirmation tool for existing trade setups. For example, a shift from red to green might indicate a potential long entry point when combined with other technical analysis methods.

Details

The script calculates the standard VWAP using the hlc3 (Average of High, Low, and Close) price source. The core logic relies on a simple comparison between the current VWAP value and its immediate predecessor. By applying a thick, colored plot, the indicator emphasizes the directional slope of the volume-weighted average, making it easier to read than a monochromatic line. The script also includes built-in alert logic that triggers specifically when the VWAP changes direction (turning up or turning down).

Settings

As this is a streamlined version of the VWAP, the primary output is automated based on price action:

  • VWAP Calculation: Automatically derived from price and volume data.
  • Color Logic: Green indicates a rising slope; Red indicates a falling slope.
  • Linewidth: Set to a default thickness for better visibility on the chart.

FAQ

How do I interpret the color changes?

A green line indicates that the Volume Weighted Average Price is currently moving upward, while a red line indicates it is moving downward.

Are there alerts included?

Yes, the script includes alert conditions that trigger at the close of a bar when the VWAP changes from falling to rising or vice versa.

How can I access Vwap Colorful?

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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.