Discussing the article: "Quantum Neural Network in MQL5 (Part II): Training a Neural Network with Backpropagation on ALGLIB Markov Matrices"
An article entitled ‘Quantum Neural Network on MQL5 (Part II): Training a Neural Network with Backpropagation on ALGLIB Markov Matrices’ has been published:
Author: Yevgeniy Koshtenko
My tests are running but there are no results, i.e. I can’t test how it trades on historical data – or is that only possible in demo mode and for a limited time?
- 2025.07.25
- www.mql5.com
Hi there, listen, how do you actually use it and learn how to trade with it?
I’ve been running tests but there are no results yet; in other words, I can’t test how it trades using historical data – or is that just not possible, and it’s only available in demo mode and for a limited time?
Hello, what timeframe, settings and instrument are you using?
Evgeny, the community would be truly grateful if you could post some working code for the expert advisor and the included file. At the moment, they don’t even compile without errors. But most importantly, you state that 400 features have been implemented for training the model, yet judging by the code, not even a tenth of those features are present.
What errors are you getting during compilation? It compiles perfectly for me; if that weren’t the case, I wouldn’t have published it in the first place)
And what sort of compilation errors are you getting? It compiles perfectly for me; if that weren’t the case, I wouldn’t have published it in the first place)
Yes, the compilation’s fine – I just corrected the path to the included file and that was that. The main issue here is with how the expert advisor works and its stated functions. I’m new to the MQL community and thought that when you read a phrase like‘predicts market behaviour with 65% accuracy. The SimpleQuantumEA.mq5 expert advisor uses 400 indicators’ and you see the published code, you’d expect the expert advisor to trade according to that principle. But that’s not the case. Please don’t take this as an insult. I admire your ideas and incorporate a lot of them into my own work. It’s the same with other authors; nothing published works 100%. I suppose it’s human greed. That’s just how we’re wired. Anyway, I’m grateful to you for what you share. For example, I’ve already added over 2,000 lines of code to your advisor. For instance, after writing code to test the effectiveness of 400 indicators, I was left with only 149 that proved effective. The algorithms filtered out the rest as noise that didn’t affect the forecast. Is it the same for you?
I’d just like some more information from you on the steps you took to achieve a 99 per cent profit rate on trades. I’m not even asking for the code, just some advice. What layers did you use, and what additional neural networks? I see that you started the Quantum expert advisor with an LSTM model. In the end, did you drop it and start using Quantum on top of it as a filter? Or do you have a separate LSTM expert advisor and a separate Quantum algorithm ?
Please share more advice and information. After all, if you start giving more back to the world, you’ll see how much more comes your way straight away. That’s how the universe works. I’m writing here because you don’t reply to private messages :) I assure you, if I manage to come up with something worthwhile along the way, I’ll definitely share it. But for now, I’m only just getting started...
Good afternoon.
I would like to remind you that the MQL5 platform does not support quantum computing. Real quantum neural networks use specialised platforms such as Qiskit or Cirq, and quantum hardware (for example, IBM Quantum). This is merely a simulation of ‘Attention’.
It’s a bit of a hodgepodge of LSTM, Transformers, ARIMA and so on. Genuine quantum computing won’t run on standard servers or PCs.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Check out the new article: Quantum Neural Network in MQL5 (Part II): Training a Neural Network with Backpropagation on ALGLIB Markov Matrices.
Algorithmic traders are increasingly faced with the fact that their usual models are no longer producing results. LSTM networks, previously considered a breakthrough, achieve around 58% accuracy. Transformers, despite their advances in NLP, struggle with the noise of financial data. ARIMA-type models have lost their practical value.
A typical situation: a trading system performs well historically, but quickly loses its efficiency in real trading. The main reason is overfitting and the inability of traditional networks to adapt to changing market conditions. The transition from a calm trend to high volatility makes many algorithms useless. Forecast accuracy drops to 51–58%, drawdowns reach 40–50%, and the Sharpe ratio rarely exceeds 1.0.
Author: Yevgeniy Koshtenko