How to determine if "magic number" trade is still open (or closed)
charliev :
Hello all,
What's the best method to determine (programatically) if a trade (entered by a specific magic number from an EA) is still OPEN or if it has CLOSED? I know this is possible, but I can't find an example in the documentation.
I want my EA to "do nothing" if a trade (from a specific magic number) is OPEN.
All help is appreciated.
-charliev
Why don't you assign unique comments to each trade and process them that way?
Hello all,
What's the best method to determine (programatically) if a trade (entered by a specific magic number from an EA) is still OPEN or if it has CLOSED? I know this is possible, but I can't find an example in the documentation.
I want my EA to "do nothing" if a trade (from a specific magic number) is OPEN.
All help is appreciated.
-charliev