WildersSmoothing

Calculates the WildersSmoothing indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
applyToSeries<Number>
close
-
periodNumber14-

Returns: Series<Number>

WildersSmoothing is a built-in function - you can use it directly. Below is an example implementation:

12
function WildersSmoothing(applyTo = close, period = 14):
EMA(applyTo, 2 * period - 1)