Multi Time Frame Exponential Moving Average

6744 9
This indicator allows you to reference exponential moving averages from other time frames

Same indicator for simple moving averages:
Remove from Favorite Scripts Add to Favorite Scripts
//author Jurij 2015
//default moving average period is 4H because '4h' is missing in the resolution drop down list
study("Multi Time Frame Exponential Moving Average", "MTF EMA", overlay=true)
ma_len = input(title="Length", type=integer, defval=100)
src = input(title="Source", type=source, defval=close)
ma_offset = input(title="Offset", type=integer, defval=0)
res = input(title="Resolution", type=resolution, defval="240")
htf_ma = ema(src, ma_len)
out = security(tickerid, res, htf_ma)
plot(out, color=red, offset=ma_offset)
Is there a way to switch from EMA to SMA?
Hey @Jurij, great indi, been using it for a while. Can I ask, can you make an update to the indicator so that it does not affect the scaling of the chart? For example, if the indi is at a 55EMA on Daily timeframe.. and you're on say a 30m timeframe > the chart will squish up to fit in the 55EMA (if price action is far away from D55EMA) for example. Hope this makes sense! Thanking you in advance
Can you share the script for Price chart daily with different RSI time frames like 1D/1W/1M and No overlay. OR is there a way i can use RSI values for multiple timeframes(1D/1W/1M) on a given daily chart ? Appreciate your knowledge sharing.

Thanks a lot.
This is excellent.
Question for you: How would I add "Monthly" as an additional option?
Much appreciated.
+3 Reply
Very very nice Jurij!!!
Is it possible that you can add the Monthly Time Frame?

+1 Reply
@Jurij Thanks dude, this is awesome!!!
How do you get the weekly avrage into the daily avrage? When loading on daily it just fallows the price closely.

Jurij Sharky8899.
works as expected

1. add the indicator and change the settings: resolution to 1w (weekly)
2. add the same indicator again but this time with setting 1d (daily)
@Jurij, AWESOME! Thanks so much for making this.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out