Magic number

 

can someone explain to me what a magic number is please

 
caldolegare:
can someone explain to me what a magic number is please

If we have two EAs trading in one MetaTrader or one EA attached to the same pair with different timeframe we are using different magic number.

For example, two EAs opened the two different orders on EURUSD and USDCHF. It's ok. But if two EAs opened two diferent order on EURUSD only the MetaTrader will not understand which one for one EA and which order for an other EA. So the magic numbers are just for Metatrated.

 

Where can I get magic number ?

 
halfasleep:
Where can I get magic number ?

It should be programmed.

It is the settings of EA.

It should be inserted by programmer.

Most of EAs which I am testing are having the Magic Number option.

 

If you use a software to generate an expert like Gordage, Magic number will be used without you do it.

Reason: