Download MetaTrader 5

Can magic numbers be used for more than one order?

To add comments, please log in or register
Move from theory to practice. Code Base will help you!
1mathboy1
118
1mathboy1 2015.02.13 04:28 
If I have an EA that enters trades on a specific magic number, say 1000, then can I have multiple orders with the same magic number? Even if they are different order types? (buy limit, sell stop, etc) and even if its different symbols?
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2015.02.13 06:49  
Yes. Next time, don't ask. Try first. Most of us here just trials and errors.
whroeder1
14489
whroeder1 2015.02.13 15:19  
1mathboy1:  can I have multiple orders with the same magic number? Even if they are different order types? (buy limit, sell stop, etc) and even if its different symbols?
Of course. MN is just used so the EA can identify it's orders from other EAs and manual trading. See Symbol Doesn't equal Ordersymbol when another currency is added to another seperate chart . - MQL4 forum
To add comments, please log in or register