millerrh

Multi Timeframe Moving Averages

millerrh Updated   
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.
Release Notes:
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.
Release Notes:
I accidentally left a non-related indicator in the last update, this removes it.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?