- How much should a new trader be risking?
- RAS moderators announcement, reports and problems
- How to increase your account by a factor of 1,000.
Magic number only allows an EA to identify its trades from all others. Using OrdersTotal/OrdersHistoryTotal (MT4) or PositionsTotal (MT5), directly and/or no Magic number/symbol filtering on your OrderSelect / Position select loop means your code is incompatible with every EA (including itself on other charts and manual trading.)
Symbol Doesn't equal Ordersymbol when another currency is added to another seperate chart . - MQL4 programming forum (2013)
PositionClose is not working - MQL5 programming forum (2020)
MagicNumber: "Magic" Identifier of the Order - MQL4 Articles (2006)
Orders, Positions and Deals in MetaTrader 5 - MQL5 Articles (2011)
Limit one open buy/sell position at a time - General - MQL5 programming forum (2022)
You need one Magic Number for each symbol/timeframe/strategy. Trade current timeframe, one strategy, and filter by symbol requires one MN.
Hello dears. I have a problem when I using MT4. I'm not sure about this problem is solved in MT5 or not?!! however, what's problem! In MT4 platfrom,as a scalper, sometimes we have a trades that we need to keep it for long time. We have are open and close some trades in short time, But our long time frame is mixed with this short time trades in same box that is so confusing... so what's my suggestion? I guess we can enhance this Box more by creating foldering and classification ability. The user should classify trades in especial boxes and folders. long term trades, short time trades and what they whants.... share your opinion with me....what are you thinking?!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use