OPEN-SOURCE SCRIPT

Triple EMA Trend Alert

This EMA trend indicator works by determining if a short-term EMA is above an intermediate-term EMA that is in turn above a long-term EMA (in a bullish trend) or if the reverse is true in a bearish trend. An alert box is displayed on the chart to give a trend trader a quick at-a-glance reference to see which way the overall trend is moving by turning green when the trend is overall bullish, red when overall bearish, and gray when indecisive and not clearly trending (a good time for the trend trader to consider setting back and just observing as they wait for a new trend to develop). Text is displayed in the box showing the current overall trend direction. Sometimes, using this criterion, a trend can still be considered overall bullish while the EMAs are actually bearish prior an EMA crossover that results in a trend readout change to indecisive or in the opposite direction. For this reason, the indicator will also display in parenthesis if the EMAs are trending lower or higher by comparing all live-bar EMA values to that of the previous bar’s values to determine if they are collectively trending lower or higher at that time in order to give an early warning of a potential trend reversal before the EMA crossovers change the overall bullish or bearish readout of the indicator. Both the alert box and EMA line chart overlays can be turned on and off independently, if desired.
Chart patternsTriple Exponential Moving Average (TEMA)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal