OPEN-SOURCE SCRIPT

Triple EMA Distance Indicator

Triple EMA Distance Indicator

The Triple EMA Distance indicator comprises two sets of triple exponential moving averages (EMAs). One set uses the same smoothing length for all EMAs, while the other set doubles the length for the last EMA. This indicator provides visual cues based on the relationship between these EMAs and candlestick patterns.


Blue Condition:
Indicates when the fast EMA is above the slow EMA.
The distance between the two EMAs is increasing.
Candlesticks and EMAs are colored light blue.

Orange Condition:
Activates when the fast EMA is below the slow EMA.
The distance between the two EMAs is increasing.
Candlesticks and EMAs are colored orange.

Beige Condition:
Occurs when the fast EMA is below the slow EMA.
The distance between the two EMAs is decreasing.
Candlesticks and EMAs are colored beige.

Light Blue Condition:
Represents when the fast EMA is above the slow EMA.
The distance between the two EMAs is decreasing.
Candlesticks and EMAs are colored light blue.
colorcoloredbarscoloredemacrossoverdistanceemacrossoverMoving Average Convergence / Divergence (MACD)Triple Exponential Moving Average (TEMA)temas

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer