TREND, MOVING AVERAGES & STRUCTURE

Volume-weighted MA

A moving average that lets heavy-volume candles speak louder.

spec id: vwmalength (default 20)

What does Volume-weighted MA measure?

A moving average that lets heavy-volume candles speak louder. It sits closer to the prices at which real size actually traded.

How is Volume-weighted MA calculated?

Over the last 20 candles, multiply each close by its volume, add those up, and divide by the total volume of the window.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use Volume-weighted MA in a bot?

In the builder, add an indicator of type vwma (parameters: length, default 20). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on Volume-weighted MA — the first backtest is free.

Run a free backtest