Moved to appropriate section.
Bartlomiej Winter:
Hello!
Thank you for taking your time took look at this thread. I'm having an issue with the CTrade class SetExpertMagicNumber function. If I write something like trade.SetExpertMagicNumber(12345), how would I be able to print that result out so I'm sure that trades made with that particular EA have the magic number I set in that function? Also, how could I sort through various trades so I only select a trade from that has that particular magic number?
Thank you so much for the help!
Bartek
Does anyone know a good way to use multiple EAs on the same symbol using the CTrade library without the EAs interfering in any way?
Thanks again!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello!
Thank you for taking your time took look at this thread. I'm having an issue with the CTrade class SetExpertMagicNumber function. If I write something like trade.SetExpertMagicNumber(12345), how would I be able to print that result out so I'm sure that trades made with that particular EA have the magic number I set in that function? Also, how could I sort through various trades so I only select a trade from that has that particular magic number?
Thank you so much for the help!
Bartek