Moving average help

Hoping someone can help. I am trying to apply a moving average to my MT4 charts that doesn’t shift with the time frame. For example a 100 day ema that shows on the different time frames exactly the same. I apologise if I am overlooking a simple function on MT4, anyway is there a way to make the current indicator work this way or otherwise an indicator I can apply?

Kind Regards

You’re definitely not overlooking a simple function… :slight_smile:

MT4 doesn’t have any way to do this built in. You’d need to either find or program a Custom Indicator to do that.

I’ve never seen one so I can’t even point you in the right direction.

thanks, that is a bit annoying but at least I am on the right track. I will post one if on the off chance I manage to locate an indicator

Not sure if I’m understanding the question correctly but for example if you had a 10 period moving average on a daily chart then if you bring up a 1 hour chart and apply a 240 period moving averge then that would match the 10ma on the daily right? because there are 24 hours in a day.

Maybe this is what you’re looking for… it’s called a Multi-Time-Frame Moving Average.

For time frame settings use:
daily - 1440
4 hour- 240
1 hour - 60
30m - 30
15m - 15
5m - 5

At first MA line will look a bit strange and takes a second to understand, the longer time frame MA line will print as is a flat line, you’ll see what I mean!

hope this helps


MTFMovingAverage.zip (976 Bytes)

#MTF_MovingAverage.zip (976 Bytes)

Sorry, my zip file might be messed up. If it won’t unzip try googling “MT4 Multi-Time-Frame Moving Average” and you should find a correctly zip file.

They would be close but not exactly the same. The smaller price movements that happen within the day would be factored into the 240 hour MA, but not the 10 day MA.

If you’re just using the MA for something like seeing the daily trend direction it will work fine, but if you’re doing an MA crossover system it will be [B]way [/B]off. :slight_smile: