get origin of order (ea that placed order) without file acces

 

Hello,

anyone has an idea how to get the ea or script name of an order without accessing logfile ?

(found no OrderXXX function doing this)


thank you

 
hurgax:

Hello,

anyone has an idea how to get the ea or script name of an order without accessing logfile ?

(found no OrderXXX function doing this)


thank you

Use the comment string parameter in OrderSend().

 
cloudbreaker:

Use the comment string parameter in OrderSend().

hello,

thank you. forgot to mention: assume, i can't pass this string to an order (e.g. using commercial script) ?


want to write a DLL, that logs all my orders in a database. if there is a way without scanning logifle, i would be happy.

Reason: