Help! MA on Indicator wanted

 

Hi, I put this plea on another thread - but so far no replies.

I'll try again here.

I use the Slope Direction Indicator as part of my manual trading system, & feel that I could improve its performance by adding an MA to it.

(Indicator is attached)

But I dont know how to do it.

I really would be grateful if some kind soul would add one to it for me.

Ideally one that offered a choice of type & period.

Merry Xmas, & a happy new year to one & all.

 

Look at this thread https://www.mql5.com/en/forum/174257 and this post is having many links to MA slope indicators https://www.mql5.com/en/forum/175682

 

This is fairly easy to do

1 - Add the Slope indicator to your chart.

2 - Goto View .... Navigator.

3 - In the indicators section highlight moving average

4 - Hold down the Ctrl key and drag the moving average to your chart.

5 - Set the period and type of ma you want.

6 - In the Apply to drop down box choose Previous indicators data

The ma will then refer to your slope indicator.

You can do this with any indicator on the chart or even on a seperate window.

 

Thanks Newdigital - I'm on my Way.

Not really what I'm looking for - but many thanks anyway.

 

MA on Indicator

Many thanks Rollingstone. Your directions were very clear & easy to follow.

It also performed another function - It proved to me that the Slope Direction Indicator is not what I,m looking for, it appears to 'write back'.

Thanks again.

 

How to code the ma of an indicator?

Hello Rollingstone,

Would you have any idea how to write the MT4 code that would setup the ma of an indicator? For example if you wanted to have an expert that used the cross of the indicator over its overlayed moving average? It seems there must be an expert in the forum that does this but I can't find one. If I could look at someone's code I could figure out how to adapt it to my uses. If you know of one or know how I would write this relationship I'd appreciate it.

Thanks,

MJ

 
marketjouster:
Hello Rollingstone,

Would you have any idea how to write the MT4 code that would setup the ma of an indicator? For example if you wanted to have an expert that used the cross of the indicator over its overlayed moving average? It seems there must be an expert in the forum that does this but I can't find one. If I could look at someone's code I could figure out how to adapt it to my uses. If you know of one or know how I would write this relationship I'd appreciate it.

Thanks,

MJ

Coding a MA of the output of an indicator is simple.

Just sum the result over the period and divide by the period.

I could write a UNIVERSAL indicator to do this, it would be a piece of cake... Hmmmmm

 

Christ!

TheRumpledOne:
Coding a MA of the output of an indicator is simple.

Just sum the result over the period and divide by the period.

I could write a UNIVERSAL indicator to do this, it would be a piece of cake... Hmmmmm

Yeh!

My son can do MA's. That wasn't the Q

 
Tickwatcher:
Yeh! My son can do MA's. That wasn't the Q

Oh, do you want me to code the UNIVERSAL MA INDICATOR?