OPEN-SOURCE SCRIPT

Multi Timeframe Moving Averages

Telah dikemas kini
This indicator allows you to view a moving average (EMA or SMA) of your choosing on other time frames than what you are currently on.

The reason I wanted to develop this was for use as a filter. Let's say you wanted to make sure the daily time frame was trading above a certain moving average so you could be sure you were playing with the trend. But you wanted to make your entries and exits on a smaller time frame. This Multi-Timeframe Moving Average indicator can then be used to keep an eye on that daily moving average while looking at the shorter term time frames on the same chart.
Nota Keluaran
Simplified the code a bit and made it so that you can pick any time frame now instead of the few I had originally pre-selected as options.
Nota Keluaran
I accidentally left a non-related indicator in the last update, this removes it.
Exponential Moving Average (EMA)multi-timeframeSimple Moving Average (SMA)sma

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?


Juga pada:

Penafian