- Início
- Comunidade
- Geral
- Anyone willing to explanin the meaning of magic number?
Advertisement
Edit Your Comment
Anyone willing to explanin the meaning of magic number?
Membro Desde Sep 24, 2012
25 posts
Apr 07, 2013 at 11:49
Membro Desde Jan 12, 2012
13 posts
On MT4, when you place a trade, you can add a "magic number" to the trade ticket.
It is not really significant in any way for trading. But it is useful for traders who use macros to program strategies.
It helps define which trades where placed by which Expert Adviser. (thats how I use magic numbers)
It is not really significant in any way for trading. But it is useful for traders who use macros to program strategies.
It helps define which trades where placed by which Expert Adviser. (thats how I use magic numbers)
Membro Desde Nov 21, 2011
1601 posts
Apr 07, 2013 at 18:03
Membro Desde Nov 21, 2011
1601 posts
Hi,
Your Magic number = 0 => This means manual trades.
If you do not trade with any EA, you don't need to worry about it.
Your Magic number = 0 => This means manual trades.
If you do not trade with any EA, you don't need to worry about it.
Aug 02, 2013 at 12:47
Membro Desde May 02, 2013
90 posts
Personally I think it's a stupid name. It's simply the identification number of the Expert Adviser.
If you have more than one EA running on the same pair you want each EA to track and manage their own trades. When the order is placed the Magic Number (Identification Number of EA) is placed with the order.
When the EA is ready to trail the trade or whatever else your EA does, it must first check the identification number of the trade and see if it is the same identification number as itself, if so, it will track it, if not it will ignore it.
If you have more than one EA running on the same pair you want each EA to track and manage their own trades. When the order is placed the Magic Number (Identification Number of EA) is placed with the order.
When the EA is ready to trail the trade or whatever else your EA does, it must first check the identification number of the trade and see if it is the same identification number as itself, if so, it will track it, if not it will ignore it.
Hate your losers more than you like your winners
Aug 02, 2013 at 13:03
Membro Desde Jul 17, 2012
274 posts
Hmm... Magic number is used for identifying which trades the EA should handle. Nothing more nothing less. Simple as that.
However, recently magic number also used for other things, such as for trade copying too. So, it really goes on how the magic number is being used respectively. 😎
However, recently magic number also used for other things, such as for trade copying too. So, it really goes on how the magic number is being used respectively. 😎
Past experience usually helps present self

*Uso comercial e spam não serão tolerados, podendo resultar no encerramento da conta.
Dica: Postar uma imagem/URL do YouTube irá incorporá-la automaticamente no seu post!
Dica: Insira o sinal @ para preencher automaticamente um nome de utilizador que participe nesta discussão.