View Single Post
  #6 (permalink)  
Old 05-05-2006, 02:29 PM
firedave's Avatar
firedave firedave is offline
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Hi Babar, try this EA. It's only set two pending order once and if one order filled it deletes the other order (OCO). You could set the EntryLevel if you don't want to use the current price, or set it to 0 (zero) to use the current price (bid). If the order price is too close to current price (less than 10 pips) this EA will reject it. Hope this help
Attached Files
File Type: mq4 PendingOrderEA.mq4 (10.1 KB, 829 views)
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"

Last edited by firedave; 05-06-2006 at 04:28 AM. Reason: revised EA
Reply With Quote