Today we will talk about the magic number, which you will find in every EA(expert advisor) in metatrader4 and metatrader5 as well. Many people don't know what this number means and what to do with it. After this article you will find out that it is very simple to use this feature.
This is the magic number and where to find it.
Actually it's an identifier for each trade made by EA, so in this way you can use several Forex Robots in the same terminal and every trade will work perfectly, without any mistakes. This also helps when you need to restart the MT4 or MT5, so after restart all Robots still know their trades and successfully continue to trade as they're programmed.
What combination of numbers can I use in this setting?
It can be used any combination of numbers, except 0, because 0 means manually placed trades. Just in case - use only numbers, don't use any of the characters.
Example of how to set the magic numbers if few Forex Robots are in use in the same terminal:
1nr. EA - magic number is 1234
2nr. EA - magic number is 12345
3nr. EA - magic number is 123456
In this example all the magic numbers are set up correctly, of course. You can use any of your desirable numbers. Just every number has to be different from each other. As you can see it's very easy to set up this setting.
How to find a trade made by a specific EA with a magic number?