OPEN-SOURCE SCRIPT

4 Time Frame Two EMAs Ribbon Comparison - Tom1trader

I had seen something like this on metatrader but not here. Since I use TradingView and not metatrader had some fun with this. Indicates up or down for 4 chosen time Frames and as such helps to see the historical trend. Works best on daily or shorter charts because of load time.

User can choose the length of the two exponential moving averages used on each time frame or use defaults 9 and 15.
User can choose the 4 time frames defaults are (display from top to bottom) 5, 15, 60 and D.
Displays a column of 4 dots or circles for each bar of current chart the top being the shortest time frame.
If the faster exponential moving average is above the slower (uptrend) the dot is green else red.

This is similar (actually what I was originally shooting for but took extra time to figure out time frames on here) to another script of mine that has the same display method but uses a spaced set of Hull Moving Averages on one time frame, you choose the shortest length and the space increment between the averages. One may work better than the other for different markets or trading styles. The other one is here:
HMA Comparison Plot
Have fun trading and keep smiling!

Exponential Moving Average (EMA)timeframetimeframes

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