- Accueil
- Communauté
- Général
- Anyone willing to explanin the meaning of magic number?
Advertisement
Edit Your Comment
Anyone willing to explanin the meaning of magic number?
Membre depuis Sep 24, 2012
posts 25
Apr 07, 2013 at 11:49
Membre depuis Jan 12, 2012
posts 13
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)
Membre depuis Nov 21, 2011
posts 1601
Apr 07, 2013 at 18:03
Membre depuis Nov 21, 2011
posts 1601
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
Membre depuis May 02, 2013
posts 90
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
Membre depuis Jul 17, 2012
posts 274
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

*Lutilisation commerciale et le spam ne seront pas tolérés et peuvent entraîner la fermeture du compte.
Conseil : Poster une image/une url YouTube sera automatiquement intégrée dans votre message!
Conseil : Tapez le signe @ pour compléter automatiquement un nom dutilisateur participant à cette discussion.