MA on MA

 

Hi all friends,

IS there any friend willing to code an indicator for me?

This indi consists of TWO moving average. i.e.: 1st MA is 21 EMA, 2nd MA is= EMA 8 of the 1st EMA 21.

So, on the chart will show 1st). EMA 21 and 2nd). EMA 8 based on EMA 21.

Please help.

Thank you a lot,

anton

 
anton1:
Hi all friends,

IS there any friend willing to code an indicator for me?

This indi consists of TWO moving average. i.e.: 1st MA is 21 EMA, 2nd MA is= EMA 8 of the 1st EMA 21.

So, on the chart will show 1st). EMA 21 and 2nd). EMA 8 based on EMA 21.

Please help.

Thank you a lot,

anton

Anton

With those parameters it looks quite usable and nice : ma_of_ma.mq4

Happy trading

Files:
ma_of_ma.mq4  2 kb
ma_of_ma.gif  83 kb
 

Hi mladen, my best friend,

How are you?

Yes, it is good.

Would you please to make it in 3 colors, blue when up, yellow when flat, red when down?

Thank you very much.

Best regards,

anton

 
anton1:
Hi mladen, my best friend,

How are you?

Yes, it is good.

Would you please to make it in 3 colors, blue when up, yellow when flat, red when down?

Thank you very much.

Best regards,

anton

Will have to see what criteria can be applied for those 3 states

 

Hi mladen,

The angle of the MA. positive angle UP, negative angle DOWN, the other FLAT.

Thanks,

anton

mladen:
Will have to see what criteria can be applied for those 3 states
 

How can an angle of a moving average be calculated?

 
whisperer:
How can an angle of a moving average be calculated?

Only as an approximation (see this post : https://www.mql5.com/en/forum/173056/page3)

 
mladen:
Only as an approximation (see this post : https://www.mql5.com/en/forum/173056/page3)

I see. Thans

 
whisperer:
I see. Thans

You are welcome

That story (the "angle" of data on a time series chart) was quite an old story.

 
mladen:
You are welcome That story (the "angle" of data on a time series chart) was quite an old story.

Any other way to find out "flat" trend?

 
sebastianK:
Any other way to find out "flat" trend?

:):)

Best so far to estimate the flat trend is our eye and experience

Reason: