What's new

What is Magic Number

jondubrick

New member
What is this exactly and should it be manipulated? I thought is was some sort of tracking number for BOT to remember trades.
 
it appears to be some settings that is given when the bot is created to identify it in code...at least in my looking into the metatrade 5 language and playing around with things in there. I am a senior software engineer so I plan on dabbling with some things in there to try and optimize more.
 
Best I can tell:

It's a number that should be unique to each instantiation of the GFX Expert Advisor on a chart, so GFX can use a common library set, but take unique actions. From a Sw Engr perspective, it's allows different instances of the GFX Expert Advisor, using common functions.

It's also important that if you are using the strategy tester, that it use a unique number as well, versus live trading EAs.

Make sense?
 
Best I can tell:

It's a number that should be unique to each instantiation of the GFX Expert Advisor on a chart, so GFX can use a common library set, but take unique actions. From a Sw Engr perspective, it's allows different instances of the GFX Expert Advisor, using common functions.

It's also important that if you are using the strategy tester, that it use a unique number as well, versus live trading EAs.

Make sense?

It seems to be autogenerated when you create a new bot/expert by MetaTrader. Seems like it's their version of an Expert_Id.
 
Back
Top