Skip to main content

wma

A Weighted Moving Average puts more weight on recent data and less on past data. This is done by multiplying each bar’s price by a weighting factor. Because of its unique calculation, WMA will follow prices more closely than a corresponding Simple Moving Average.

Usage

wma [-l N_LENGTH] [-o N_OFFSET]

Parameters

NameParameterDescriptionDefaultOptionalChoices
n_length-l --lengthWindow lengths. Multiple values indicated as comma separated values.20, 50TrueNone
n_offset-o --offsetoffset0Truerange(0, 100)

wma


On this page