# Higher time frame EMA on a lower time

**URL:** <https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887>\
**Category:** Custom Indicators\
**Created:** [October 30, 2022, 4:54am UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887 "2022-10-30T04:54:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anup\_Roy](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Anup\_Roy](https://community.tradovate.com/u/Anup_Roy)\
**Post date:** [October 30, 2022, 4:54am UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887/1 "2022-10-30T04:54:34Z")

</div>

Hi has anyone built this already ? I am looking to have a 15 min -8ema and 30m-21ema drawn on a 5 mins chart. Can someone help me achieve it?  
I think for super programmer here its a 2 min thing.

Anup.

---

<div class="post-metadata">

**Author:** ![latter-day-trader](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@latter-day-trader](https://community.tradovate.com/u/latter-day-trader)\
**Post date:** [November 3, 2022, 6:00pm UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887/2 "2022-11-03T18:00:19Z")

</div>

I have one that does higher time frame EMAs. Didn’t take 2 minutes though. 🙂

It only has one EMA setting so you couldn’t do exactly what you are asking with different EMA periods for each HTFs. But you could probably add two instances of the indicator and configure it appropriately. If that doesn’t work or you only want one indicator loaded, send me a private message on here and we can talk about custom coding work.

> **[Tradovate is a Modern Futures Trading Platform and Futures Brokerages](https://trader.tradovate.com/?shareable=d6a606c4-fc21-4fd2-b370-c94c11fd6081)**
>
> Trade Futures and Commodities on Most Devices and with a Fixed Commission Rate or Unlimited Trading Subscription Fee Option

![Screen Shot 2022-11-03 at 11.56.38 AM](https://us1.discourse-cdn.com/flex015/uploads/tradingforum/original/2X/e/e4c74897a8b6da15ddeb1e5cd4a315d8409130b1.png)

---

<div class="post-metadata">

**Author:** ![Jason\_Hudgins](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@Jason\_Hudgins](https://community.tradovate.com/u/Jason_Hudgins)\
**Post date:** [August 2, 2024, 2:16am UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887/3 "2024-08-02T02:16:04Z")

</div>

Could you share your EMA? I am not a programmer.

---

<div class="post-metadata">

**Author:** ![Tim\_Fain](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@Tim\_Fain](https://community.tradovate.com/u/Tim_Fain)\
**Post date:** [August 8, 2024, 7:04pm UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887/4 "2024-08-08T19:04:21Z")

</div>

Let me know what you want and we can discuss your indicator. Send me email on [timmfain@gmail.com](mailto:timmfain@gmail.com)

---

<div class="post-metadata">

**Author:** ![Johann\_Birle](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/johann_birle/32/3032_2.png) [@Johann\_Birle](https://community.tradovate.com/u/Johann_Birle)\
**Post date:** [September 9, 2024, 2:55pm UTC](https://community.tradovate.com/t/higher-time-frame-ema-on-a-lower-time/5887/5 "2024-09-09T14:55:49Z")

</div>

To display a 15-minute EMA (8) and a 30-minute EMA (21) on a 5-minute chart, add two EMA indicators on your 5-minute chart. Set one EMA to 8 periods, representing the 15-minute time frame, and the other to 21 periods for the 30-minute time frame. Since each 5-minute candle is 1/3 of a 15-minute candle, the alignment may not be perfect, but it gives a close approximation. For precise alignment, you can use a custom script if your charting platform supports it. For example, in TradingView’s Pine Script, you can use `request.security` to fetch the EMA values from higher time frames and plot them on your current chart. This setup helps you visualize higher-time-frame trends and support/resistance levels more clearly.
