//@version=5
indicator("VWAP (cumulative)", overlay=true)
// Honest name: cumulative from the loaded history, not session-anchored —
// activity-sampled charts have no sessions to anchor to.
vwap = ta.cum(hlc3 * volume) / ta.cum(volume)
plot(vwap, title="vwap", color=color.purple, linewidth=2)
Overview
Instead of resetting at session or daily boundaries, it computes a running cumulative VWAP using typical price and volume across all available history on the chart. This design makes it particularly suitable for non-time-based or activity-sampled charts such as tick, volume, dollar, or imbalance bars. The indicator displays a single line overlay and includes no configurable input parameters.
Cumulative VWAP calculation across chart history
Typical price and volume weighting
Continuous line overlay on the price chart
Unanchored design suitable for activity-sampled charts
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
This indicator calculates an Exponential Moving Average and a Zero-Lag Moving Average to identify market trends on the price chart. It plots both moving averages and fills the space between them with color to highlight trend direction. Upon a crossover or cros