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
This is exactly what I have been working almost from the beginning of the article as how to integrate account parameters to the policy and how to update the reward based on profits and losses. But till now I am not able to successfully implement anything.
I noticed that if we will try to implement profits and losses to the reward function, then we have to entirely change this updateReward() function. Also, we may need to change the matrix implementation completely.
I have a solution to implement profits and losses using Q-learning by BellMan's equation in which we can implement floating profits and losses to the agent to update the reward. But we need to create a new matrix and update the whole matrix on every candle. But I am not good at matrix implementation and hence, I am just waiting for the author to publish his next article with new agents.
If anyone is interested in Q learning implementation and can implement the matrix, then I can discuss here as how to update the reward using profits and losses using Q value.
I have been testing the EA with unlimited number of combination of indicators and settings, but I figured out that there is no other way to improve the results without updating the policy. The agent is doing exactly what it has been assigned to do and hence, it is just closing small small profits to increase the win % , but overall the account doesn't grow profit since the policy doesn't consider small or big losses separately.
Hi Maxim Dmitrievsky,
Is there any progress or update towards publishing your next article regarding RDF ?
Thank you...
After updating to build 1940, it is no longer working, the return of the calculation receives the value of "-nan (ind)". Anybody know what happened?
Hi, try this library https://www.mql5.com/en/code/22915
or try to recompile
thank you Maxim Dmitrievsky, but I have already made all the knowledge on this case, I would like to try to correct this mistake, since I am already running a robbery with the idea that was presented in this article. Could help identify what caused the error. It stopped working when upgrading to version 1940.
Try to download correct fuzzy library from here, because maybe MT5 update can change it to default
https://www.mql5.com/ru/forum/63355#comment_5729505
Dear Maxim Dmitrievsky,
Can you please update if you have published your next article regarding implementation of Random Decision forest with different agents and without fuzzy logic which you mentioned previously?
Thank you very much
Hi, FxTrader, the new article has been translated and now available
I'm not sure about translation quality, not my job, but i guess all good.
Good afternoon. I don't understand why we need to add anything to Metatrader in terms of neural network training?
There are weights, they need to be optimised using the optimisation mechanism in Metatrader. Didn't you think that Metatrader developers have already made good progress in the issue of training networks / optimising parameters?
Buy and Sell are performed according to the rules defined by indicators. The neural network aggregates "observation data" of these indicators (number of peaks, height of peaks on the eve of a trade, etc.), but not the indicator values themselves, because this is nonsense. You can check the configuration of the weights right in the course of training, for example: +1 if the market went where it should go for the next 2 days, and -1 if it went the wrong way. At the end each configuration of weights has a sum. This is how we optimise the best configuration of weights according to the user's criterion (this is such an optimisation parameter, everything has to be thought out?!).
The described example takes 40-50 lines in the code. That's the whole neural network with training. And I come back to my original question: why do you think that by inventing something complex and poorly understood, you have become closer to the holy grail? The more complex and incomprehensible the black box I create, the more I am flattered by it, like, how clever I am!
Good afternoon. One thing I don't understand is why we need to add anything to Metatrader in terms of neural network training?
There are weights, they need to be optimised using the optimisation mechanism in Metatrader. Didn't you think that Metatrader developers have already made good progress in training networks / optimising parameters?
Buy and Sell are performed according to the rules defined by indicators. The neural network aggregates "observation data" of these indicators (number of peaks, height of peaks on the eve of a trade, etc.), but not the indicator values themselves, because this is nonsense. You can check the configuration of the weights right in the course of training, for example: +1 if the market went where it should go for the next 2 days, and -1 if it went the wrong way. At the end each configuration of weights has a sum. This is how we optimise the best configuration of weights according to the user's criterion (this is such an optimisation parameter, everything has to be thought out?!).
The described example takes 40-50 lines in the code. That's the whole neural network with training. And I come back to my original question: why do you think that by inventing something complex and poorly understood, you have become closer to the holy grail? The more complicated and incomprehensible the black box I created, the more I am flattered by it, like, how clever I am!
When you grow up, you'll understand.
At least, for starters, read what solvers are used in neural networks, and why nobody uses genetics to train them.