TASC 2026.11 The UniEMA

█ OVERVIEW
This script implements the "UniEMA" as presented by Igor Durkin the article "Managing Noise and Lag" from the November 2026 edition of TASC Traders' Tips. The UniEMA brings several methods of moving average construction into one system, allowing users to adjust smoothing and lag compensation by tuning parameters rather than switching between separate indicators.
█ CONCEPTS
There are many moving averages, each with their own characteristics providing a unique balance between smoothness and responsiveness to fit certain applications. Durkin introduces the UniEMA as a flexible framework which can approximate the behavior of different moving averages over the range of its parameters.
█ USAGE
Users are able to start with settings that represent a known moving average, then adjust those settings to explore the surrounding range of behavior. For example, a user working with an DEMA-like configuration can modify its smoothness and responsiveness without being restricted to the fixed construction of DEMA. UniEMA makes this possible by separating moving average construction into four components: poles, order, weight factor, and damping factor.
Together with length, these determine where a configuration sits within that range of smoothing behaviors.
The display simply consists of the UniEMA output with directional coloring based on the slope of the line. Alternatively, the coloring can be toggled to a single-color line if desired.
█ INPUTS
This script implements the "UniEMA" as presented by Igor Durkin the article "Managing Noise and Lag" from the November 2026 edition of TASC Traders' Tips. The UniEMA brings several methods of moving average construction into one system, allowing users to adjust smoothing and lag compensation by tuning parameters rather than switching between separate indicators.
█ CONCEPTS
There are many moving averages, each with their own characteristics providing a unique balance between smoothness and responsiveness to fit certain applications. Durkin introduces the UniEMA as a flexible framework which can approximate the behavior of different moving averages over the range of its parameters.
█ USAGE
Users are able to start with settings that represent a known moving average, then adjust those settings to explore the surrounding range of behavior. For example, a user working with an DEMA-like configuration can modify its smoothness and responsiveness without being restricted to the fixed construction of DEMA. UniEMA makes this possible by separating moving average construction into four components: poles, order, weight factor, and damping factor.
- Poles: Defines the base structure of each pass. One pole provides EMA smoothing, while two and three introduce DEMA- and TEMA-type lag correction. The damping factor determines how strongly that correction is applied.
- Order: Controls how many complete smoothing passes run in sequence, with each pass processing the previous pass’s output. Higher settings provide more smoothing, but the final output can take longer to reverse when price changes direction.
- Weight factor: Controls the smoothing coefficient and EMA convention. A value of 1 uses Wilder’s convention, while 2 uses the standard EMA convention. Alongside the other parameters, it also helps shape UniEMA’s fitted approximations of other moving averages.
- Damping factor: Adjusts the strength of the lag-correction terms. Zero disables correction, one applies full correction, and values between them provide partial correction. It has no effect with one pole because that structure contains no correction terms.
Together with length, these determine where a configuration sits within that range of smoothing behaviors.
The display simply consists of the UniEMA output with directional coloring based on the slope of the line. Alternatively, the coloring can be toggled to a single-color line if desired.
█ INPUTS
- Source: Data series used for the calculation.
- Length: Base period used to calculate smoothing coefficient.
- Poles: Sets EMA base structure.
- Order: The number of sequential smoothing passes.
- Weight Factor: Controls the smoothing coefficient and EMA convention.
- Damping Factor: Controls the strength of the correction applied by multi-pole structures.
Tools and ideas for all Pine coders: tradingview.com/u/PineCoders/
TASC: traders.com/
TASC: traders.com/
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Tools and ideas for all Pine coders: tradingview.com/u/PineCoders/
TASC: traders.com/
TASC: traders.com/
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.