Adding a 'Magic Number' to trade log entries
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
If you are familiar with Meta Trader 4 and Meta Trader 5 you will know that they have the facility to add a 'Magic Number' to trade data to ID the trade strategy that actioned the trade (https://www.mql5.com/en/articles/1359). It makes life processing the trading records so much easier and it allows you to ID an actual trade for further reference or action. The allocation of the actual Magic Number is defined by the user while set to the trade by the code so you can use them to also ID categories.