New article Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 is published:
In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'. The idea of the indicator is based on simulation of quantum tunneling phenomena, proposed by G. Gamov in the theory of alpha decay.
Awesome idea I really like it, going to do some backtests with this!
It's a very interesting article. Thanks to the author.
But how one can back-test it since it's drawings is only for a limited timespan (for the last recent bars only), I tried to edit the code so it can draw for all bars available without me messing, but I haven't succeed!
am I missing something?
Very good article, thanks.
But i've played with it on forward testing:
- it badly repaint
- it only lately confirm the past
- the lastest data are not drawn: looks like a sift of 4 or bars
So as it works at time, there is to many issues.
I really apprecialte this article.
However, I have read the original paper and your code. I have a question about the code following:
for(k=0; k<m; k++)
sqiip1 += MathExp(2*(S[m-1+i+k]-S[i])/(S[m-1+i+k]+S[i]));
sqiim1 += MathExp(2*(S[m-1+i-k]-S[i])/(S[m-1+i-k]+S[i]));
dqiip1 += MathExp(-2*(S[m-1+i+k]-S[i])/(S[m-1+i+k]+S[i]));
dqiim1 += MathExp(-2*(S[m-1+i-k]-S[i])/(S[m-1+i-k]+S[i]));
this is derive from this formula
since the footnote of i in formula was changed by m-1+i in the code, why the other part of the code does not change the footnote of i?
I mean: shouldnt this code would be like following?
sqiip1 += MathExp(2*(S[m-1+i+k]-S[m-1+i])/(S[m-1+i+k]+S[m-1+i]));
i think this indicator just for meta5. how could i attach it at meta4? or am i missing something? thanks in advance.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.