cinar / indicator

Indicator is a Golang module providing various stock technical analysis indicators for trading.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trend: Weighted Moving Average (WMA)

cinar opened this issue · comments

Weighted moving averages assign a heavier weighting to more current data points since they are more relevant than data points in the distant past. The sum of the weighting should add up to 1 (or 100%).

https://www.investopedia.com/ask/answers/071414/whats-difference-between-moving-average-and-weighted-moving-average.asp