I make classic recursive filters - all kinds of Butterworths, Chebyshevs, ... and their modifications. There coefficients are calculated by known methods, I can't say that they are very simple.
Your filters are a completely different field and their design is not based on AFC-frequency response. This I can't imagine.
Д.т.: (где, естественно, и вычисляются раз и навсегда, а дальше уже только арифметика). Только видите ли в чём дело: если речь о спектральном анализе, то программировать в синусах и косинусах просто неудобно -- гораздо естественнее реализовать всё это в комплексной арифметике. Уже смотрел. Да, растет не сама погрешность, а множитель. И...
Rafael Arutinyan: An indicator, by definition, cannot be "non-lagging") any data for the calculation is taken from past values, not from future values.
Waiting for Asayulenko's demonstration on how to make a lag-free indicator based on past prices only:)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I make classic recursive filters - all kinds of Butterworths, Chebyshevs, ... and their modifications. There coefficients are calculated by known methods, I can't say that they are very simple.
Your filters are a completely different field and their design is not based on AFC-frequency response. This I can't imagine.
And anyway, I've gone off on Python.
We're talking about the same thing.
https://dxdy.ru/post486424.html#p486424
https://dxdy.ru/post486655.html#p486655
Only I have no generalisation, the simplest variants. Essentially "counting sticks" topics.
In the first posthttps://dxdy.ru/post482603.html#p482603 of that thread, if cosine tends to one then the equation degenerates into a straight line equationY0-2*Y1+Y2=0 andhere.
We are talking about the same thing.
I can give you a book on filter design. The book is paper, so just the title.
I can give you a book on filter design. The book is paper, so just the title.
Yes, I would appreciate it.
P/S. Got it thanks.
I can give you a book on filter design. The book is paper, so just the title.
An indicator, by definition, cannot be "non-lagging") any data for the calculation is taken from past values, not from future values.
Waiting for Asayulenko's demonstration on how to make a lag-free indicator based on past prices only:)
I've done it that way. It's better, no doubt. But it still lags.
No, it can't be. SMA shifted back half a period does not lag.
And if I roll it with Gauss, it will be even smoother)))). Perfect signals on the breaks.No, it can't be. An SMA shifted back half a period does not lag.
And if you roll it with a gauss, it's even smoother)))) Perfect signals on the breaks.Waiting for Asayulenko's demonstration on how to make a lag-free indicator at past prices only:)
Anecdote:
- I can count fast.
- Yes? What is 347382 multiplied by 58684?
- 2547.
- But that's wrong!
- I didn't say it was right.
---
It's the same with "non-lagging" indicators.