hi,
Maybe someone has done this befor so I ask.
I would like to send some encoded string as MagicNumber
e.g. the Chart an EA was executed on: Symbol, Period and some additional info
when selecting an Order: OrderMagicNumber I want to be able to decode this again.
1.
e.g. string to send as MagicNum: "Chart:EURUSD,M1 System:MyLongHopefullyWinningNeverLoosingSystemName"
result should be a valid MagicNum: integer e.g. 847483647
2.
afterwards I need to decode it back to the initial string
I know there is the CommentField but I would prefer to have it encoded in the MagicNum
Metatrade4 Docu: comment: Order comment text. Last part of the comment may be changed by server. (which does not say too much does it)
Any ideas ??
thanks
Maybe someone has done this befor so I ask.
I would like to send some encoded string as MagicNumber
e.g. the Chart an EA was executed on: Symbol, Period and some additional info
when selecting an Order: OrderMagicNumber I want to be able to decode this again.
1.
e.g. string to send as MagicNum: "Chart:EURUSD,M1 System:MyLongHopefullyWinningNeverLoosingSystemName"
result should be a valid MagicNum: integer e.g. 847483647
2.
afterwards I need to decode it back to the initial string
I know there is the CommentField but I would prefer to have it encoded in the MagicNum
Metatrade4 Docu: comment: Order comment text. Last part of the comment may be changed by server. (which does not say too much does it)
Any ideas ??
thanks
Money is important, Love is essential.