Discussion of article "Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5" - page 4

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
I don't know what they're for. You can get the information directly from the terminal.
It's scary to even imagine what they are used for, probably someone counted them manually.
SZY: can someone post a mod so that the Expert Advisor can directly pull in information from the terminal, without a script?
What information do you need?
Does this article include everything to get a expert advisor?
Im interested in implementing Neural Network Expert Advisor.
Hello, dear forum members!
Very interesting article! I am trying to use this SOM code too.
Weights p1-p4 - data from the market (so far just the difference between ZZ points).
p5 - result of a virtual Buy trade - TP=1, SL=-1 (so far TP=SP=300pp). On the forward just one p5 BMU (closest vector) is not enough to predict the result, it seems to me.
Can anyone suggest how to make calculation of the result of the area around the BMU (for clarity obver blue), taking into account the distance from the BMU ?
Can anyone tell me how easier it is to calculate the result of the area around the BMU (circled in blue for clarity), taking into account the distance from the BMU ?
I'm wondering, is that what I thought too? You mean how to programmatically find this area with coordinates?
There is already a function in the CSOM class:
int BestMatchingNode(double &vector[]); // find the best node in the grid based on a given vector
Knowing the dimensionality of our grid, it is easy to calculate the coordinates of the BMU (or BMN in this implementation).
Here we want to do exactly the calculation of the total result (by one parameter (weight)) of the area around the BMU, taking into account the distance from the BMU. For example, we take a region with a diameter of 10 neurons (cells). The closest neurons have a high influence on the result. And the further away, the weaker....
Here we have a question how we should treat BMU-shells located at the edges of the grid. After all, they have fewer neighbours.
Can you please tell me how to find bars on maps?
We input four vectors and get 4 maps. I would like to draw a trajectory on all of them, say, from the current day (for the days) to 3 bars back and analyse the state of clusters.
It is possible to do it programmatically, for example, with void DrawTrajectory(int from, int count) function, which will draw a trajectory from a given bar number on all maps.
And the second question, how to get the output map and, most importantly, the frequency map?
I didn't wait for a response... I wrote the method of displaying on the input maps of the trajectory from the given number of the input vector by the given number of steps, don't forgive me if something is wrong - I'm not a programmer :)
Can someone bring this very clever library (thanks to the author and Alexey Sergeev) to the level of practical application?!!!!!
In CSOM class the counter of loaded training vectors m_nSet is reset only in CSOM::CSOM() constructor.
As a result, the number of training vectors is constantly growing in the looped retraining mode.
It is better to add the line m_nSet=0; to the method CSOM::LoadTrainData(...) .
Maybe someone will bring a very useful library (thanks to the author and Alexey Sergeev) to the level of practical use?!!!!