Skip to content

WeightedMovingAverage Method

WeightedMovingAverage

Summary

The Weighted Moving Average smoothes the price data producing a trend indicator.

Signature

1
public abstract WeightedMovingAverage WeightedMovingAverage(DataSeries source, int periods)

Parameters

Name Type Description
source DataSeries The source data used for WMA calculation.
periods int The periods used in the calculation.

Return Value

WeightedMovingAverage

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: March 23, 2023