Moving Average - page 21

 
Lonestar:
Does anyone have an indicator that plots a moving average(s) of different pairs on the same chart? Working on a correlation strategy that seems promising but I need an indicator that shows that relation. Wish I knew how to code better . Thanks.

you might look at this:

https://www.mql5.com/en/forum/178402

and use search from there

 
fxbs:
you might look at this:

https://www.mql5.com/en/forum/178402

and use search from there

This one https://www.mql5.com/en/forum/174781

Average movement of majors.

 
banzai:

Sometime you post a chart and we don't know which MA is which. So I modified the indicator to show what color belongs to which MA. Attached is a template so you can use it to modify. It's easier to see how it was set up. You can display the info in any 4 corner: upper left, upper right, lower left, lower right. In this set up, I display the info in the upper right corner.

Is it possible to show MA label just after each MA line?

Example ..

Files:
 

Gift for Orthodox Easter - AllAverages_v1.

MA_Method:

0 - SMA

1 - EMA

2 - Wilder MA(like SMMA in MT4)

3 - LWMA

4 - SineWMA

5 - Triangular MA

6 - LSMA

7 - real Smoothed MA (SMMA)

8 - Modified MA (MMA)

9 - HMA

10-ZeroLagEMA

Files:
 

Thanks a lot.

 
igorad:
Gift for Orthodox Easter - AllAverages_v1.

MA_Method:

0 - SMA

1 - EMA

2 - Wilder MA(like SMMA in MT4)

3 - LWMA

4 - SineWMA

5 - Triangular MA

6 - LSMA

7 - real Smoothed MA (SMMA)

8 - Modified MA (MMA)

9 - HMA

10-ZeroLagEMA

Thank you very much igorad, have a nice Easter...

Cheers

Ethan Hunt

 

nicely put

thanks,Igor

 

Thank you igorad, and here is KG_MA from Kang Gun.

Files:
kg_ma_1.3b.mq4  12 kb
 

Igor, can you explain waht's the deal with mt4 smma and real smma?

thank you

 
fxbs:
Igor, can you explain waht's the deal with mt4 smma and real smma? thank you

Some time ago I had dispute with MQ concerning SMMA because their SMMA is Wilder MA in fact:

Wilder = Wilder[1] + 1/Period*(Price - Wilder[1])

Correct formula for Smoothed MA is:

SMMA = (Sum[1] - SMMA[1] + Price) / Period,

where

Sum[1] = SMA[1]*Period

SMA - Simple MA.

Reason: