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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian