Navigation: Realtest Script Language > Syntax Element Details > VWMA Category Multi-Bar Functions Description Volume-Weighted Moving Average Syntax VWMA(expr, count) Parameters expr - data series formula count - lookback period Notes VWMA is calculated as Sum(expr * Volume, count) / Sum(Volume, count) VWMA(Close, count) is a way to calculate volume-weighted average price (VWAP). This function supports one-pass calculation when used in the Data Section with a non-variable count. Example VWAP20: VWMA(C, 20) VWMA(C, count) calculates a volume-weighted average price. Copyright © 2020-2026 Systematic Solutions, LLC