Thanks, Galym. One thing that was interesting was how, once you fix the transition matrix, the one- and multi-step probabilities and their entropies are determined by the state. A useful follow-up could be to compare the full 15-feature model against an MLP with just the current state and its lags, using the same training and validation data, to see whether the representation of probabilities makes learning of these models easier.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: How to Train an MLP Using Markov Chain Features in MQL5.
In this article, we will systematically construct a regime-dependent market model based on a Markov chain and a multilayer perceptron (MLP). Instead of feeding the price series directly into a neural network, we will first give market behavior a mathematical structure: the market will be represented as a Markov chain with three states describing different market phases. We will examine why a three-state model was chosen, how a vector of 15 probabilistic features is formed from the chain’s transitions, and how these features are used to train an MLP, followed by validation on a holdout set.
Next, we will examine the model's results, compare it with baseline approaches, and discuss its practical implementation in the form of the Markov_MLP_Oscillator.mq5 indicator. At the end of this article, we will provide recommendations on how to configure the parameters and use the model in real trading conditions.
Author: Galym Yechshanov