Is there EA/Script for "Pending Order" entry and allows to assign Magic No.?

 

Attached is the Script I use to enter a trade and assign a Magic No. But this executes the trade right away.

Is there a way to modify it (or a different script out there) which will allow for PENDING ORDER EXECUTION (buy/sell stop and buy/sell limit orders) while being able to ASSIGN MAGIC NO.

Thank you so much for any help you may provide.

Files:
 

EA/Script

Found one....

 

EA / script

Found one...

 

Please post

I'm glad you found what you were looking for. Would be great if you posted it ... I need the same.

Thanks.

Doug

 

Dontchya love it?

Seeing how his post is more than two years old....

We might be in the same boat. My acct is with an ecn and i want to set up hot keys to work my little orders. I want to offer and bid not just pay the spread all the time.

Cheers.

 

I guess he took it to another forum

pm me if you need a link

Reason: