Quote:
Originally Posted by 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