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.
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
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,
MJCoding 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!
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... HmmmmmYeh!
My son can do MA's. That wasn't the Q
Yeh! My son can do MA's. That wasn't the Q
Oh, do you want me to code the UNIVERSAL MA INDICATOR?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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.