Is there an existing way to convert the signal of a simple or exponential moving average to a math function of one variable?
Thank you very much in advance
Or we can fulfill this idea in an alternative way.
Computing the tag() of two bars' MA,
tag(A) = (SMA(1)-SMA(2))/ B
it return to the weight of the new and old data for calculate " average".
in ema the new data or " bar" has bigger weight .
Well, in fact I've discovered that it is not a dream! You can obtain a math function of one variable through Lagrange Interpolating Polynomials, for instance, cause there are several ways, but this is a hard work that should be explained in an article, I think.
For those of you interested in this problem, please, have a look at this