Skip to content

IIndicatorsAccessor.WellesWilderSmoothing

method · IIndicatorsAccessor · cAlgo.API.Internals

DesktopCLICloud

Welles Wilder Smoothing eliminates noise to identify the trend.

Definition

WellesWilderSmoothing WellesWilderSmoothing(DataSeries source, int periods)
api.Indicators.WellesWilderSmoothing(source: DataSeries, periods: int) -> WellesWilderSmoothing

Parameters

Name C# type Python type Description
source DataSeries DataSeries The source data used for calculation.
periods int int The value of the periods used for calculation.

Returns WellesWilderSmoothing — Welles Wilder Smoothing indicator instance

Examples

var wellesWilder = Indicators.WellesWilderSmoothing(Bars.ClosePrices, 14);
Print("Welles Wilder Smoothing(14): {0}", wellesWilder.Result.LastValue);
wellesWilder = api.Indicators.WellesWilderSmoothing(api.Bars.ClosePrices, 14)
api.Print(f"Welles Wilder Smoothing(14): {wellesWilder.Result.LastValue}")