OPEN-SOURCE SCRIPT
Triple EMA (TEMA) + Slope Lead

This indicator plots a standard Triple EMA (TEMA) and an optional slope-lead version. TEMA is a low-lag moving average built from three EMAs, allowing it to track price more closely than a single EMA. The Lead Strength (k) adds a small forward “push” based on the recent TEMA slope:
TEMA_lead = TEMA + k × (TEMA − TEMA[1]). Higher k values make the line react earlier but increase sensitivity in chop.
Used as a source for other indicators (RSI, MACD, stochastic, regime filters, etc.), TEMA or TEMA-Lead may improve signal quality by reducing noise, aligning momentum readings with trend direction, and producing earlier, cleaner transitions at turns, often without the excessive lag introduced by heavier smoothing.
TEMA_lead = TEMA + k × (TEMA − TEMA[1]). Higher k values make the line react earlier but increase sensitivity in chop.
Used as a source for other indicators (RSI, MACD, stochastic, regime filters, etc.), TEMA or TEMA-Lead may improve signal quality by reducing noise, aligning momentum readings with trend direction, and producing earlier, cleaner transitions at turns, often without the excessive lag introduced by heavier smoothing.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.