VWMA (Volume Weighted Moving Average)
The average closing price over the last few candles. Candles with more traded volume count more, so heavy-volume moves pull the line harder.
Settings
| Setting |
Default |
What it does |
| Length |
20 |
How many candles are averaged. Shorter hugs the price and crosses it often (more, earlier signals, more false ones); longer is smoother and crosses less often (fewer, later signals). |
Ready-made conditions
| For |
Condition |
Fires when |
| Buy |
Price crosses above VWMA |
the one candle price moves from below the VWMA line to above it |
| Buy |
Price above VWMA |
every candle price is above the VWMA line |
| Sell |
Price crosses below VWMA |
the one candle price moves from above the VWMA line to below it |
| Sell |
Price below VWMA |
every candle price is below the VWMA line |
Warnings
- Same line on both sides can never fire. With at or above, at or below, equals, or touches, it is always true. Give the two lines different settings. You can still save it.
- Faster line is not the shorter length (library strategies): the signal works the other way round, so a golden cross becomes a death cross. You can still save it.
- Blocks Save: Length 1–1000 (whole number).
Good to know
- Uses volume, so On candle touch reads the last closed candle.
- Needs the length in candles (20 at length 20).