Advertisement
Edit Your Comment
Anyone willing to explanin the meaning of magic number?
Member Since Sep 24, 2012
25 posts
Apr 07, 2013 at 11:49
Member Since 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)
Member Since Nov 21, 2011
1601 posts
Apr 07, 2013 at 18:03
Member Since 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
Member Since 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
Member Since 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

*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.