What's the "Magic Number" when building and EA?

 

Hello,

What's the "Magic Number" when building an EA?

Thanks

 

TT

Magic Number is used as part of an Order instruction.

See https://docs.mql4.com/trading/OrderSend

It enables an EA to 'know' which orders 'belong' to it

You can have many Magic Numbers used by one EA

The number is an integer, so is limited to 999999999 or less, which I usually find is adequate ;)

Good Luck

-BB-

Reason: