Discussion of article "Using the Kalman Filter for price direction prediction" - page 3

 

Very interesting example of using recursive Kalman filter.

In spite of many simplifications - "sketching" autoregression, using closing prices instead of matrix representation, we got a clear example of using the method.

Of course, this is only a small component of the trading system, as the task set (to filter out noise) is not completely solved - there are many entries in the flat zone (i.e. in the noise zone).

But this is the trouble of the traditional analysis industry - modern analysis methods have no unambiguous (in terms of the nature of the process) definition of the concepts "trend", "noise", "flat", so each author solves the filtering problem in his own way.

 
Aleksey Vakhrushev:

Again, the red line was redrawn on the 0 bar, maybe it should be, I can send you a screenshot in the evening, I was looking at the minutes


Some glitch on the site, I was replying to your previous message, which for some reason is now empty, as well as my reply.

In the indicator, I deliberately did not do the redrawing. I will check it again.

 

This is my redraw

 
Aleksey Vakhrushev:

This is how I have such an overdrawing


Can you specify the parameters of the indicator?

 
Dmitriy Gizlyk:

Can you specify the parameters of the indicator?


Bars 144 Shift 10000

with standard settings it also redraws
 
Imagine you are about to read an article in a respected scientific journal. The article begins: The Earth is flat and stands on Three Whales. How would you feel about the rest of the words in the article? My point is that the author uses the phrase "extrapolation (prediction)". I remind you that prediction is a favourite pastime of astrologers and has nothing to do with the scientific approach. And extrapolation is just one of (and not the only) methods of forecasting, meaning "the extension of trends established in the past to the future period". And if we quote the footnote given by the author, we get that "The Kalman filter operates with the concept of a vector whose dynamics is described by probability densities". It turns out that ideally, this vector will show us only the probable direction. Even if the probability of the direction is 50/50 or 75/25, then besides the direction, we need the amplitude and time of entry. It turns out that we need to solve a problem like, X+Y+Z=17, and this problem cannot be solved in one action. And lastly. To quote the author: "On the chart of currency or stock rates we always see price fluctuations that differ in frequency and amplitude. So maybe create an amplitude-frequency demodulator and things will move forward? But as far as I'm concerned, I'd rather have an amplitude-phase one.
 
To give you an analogy. The location of your mobile phone can be determined with one tower, but only approximately. And if you use two towers, you will be easily found at the intersection of vectors. So Kalman Filter is just one vector (one tower). That's good, but it's not enough. At least two, and preferably three towers. The probability of detection increases many times over.
 
MetaQuotes Software Corp.:

New article Use of the Kalman filter in trend forecasting has been published:

Author: Dmitriy Gizlyk

Awesome, do you offer the EA?
 
Pedro Henrique Vieira:
Awesome, do you offer the EA?
Yes, and you can use it.
 

"Here, the actually measured value of the system state is specified taking into account the actual state of the system and the measurement error."

This is not only anti-scientific, but also illiterate.