Sathish Justin #: Thanks, whether the magic number can be a string.
No, the magic number is a number. For MQL5 it is a long integer of 64 bits. And as I stated, you can hash the symbol's name, and encode it, together with a compact representation of the time frame and an EA ID code, into that magic number.
No, the magic number is a number. For MQL5 it is a long integer of 64 bits. And as I stated, you can hash the symbol's name, and encode it, together with a compact representation of the time frame and an EA ID code, into that magic number.
This may help:
Hi Ratna, Thanks and this perfectly works.