fx4_ever Posted January 26, 2011 Report Posted January 26, 2011 Hi: Does anyone know or have an EA or script to close partial order? Let's say, I have 2 lots of Short order placed at 1.30000 order# 12345, EURUSD. If price goes to 1.35000, I want to close only 1 lot with profit. or If price goes to 1.34500 I want to close only 1 lot with Loss. Anyone have this type of EA or script? I am assuming that it has to work with Order# and Currency Name. Thanks,
derox Posted January 26, 2011 Report Posted January 26, 2011 hxxp://www.forexfactory.com/showpost.php?p=2029899&postcount=1 cheers, derox fx4_ever 1
fx4_ever Posted January 26, 2011 Author Report Posted January 26, 2011 cheers, derox wow. it does a lot more than I asked for.. LOL. I hope I can get it to work and not mess up by using wrong entries. Thanks a lot! Appreciate your quick reply.
PyeR2 Posted January 27, 2011 Report Posted January 27, 2011 The thread below may interest you. Much simpler than that Trade Management EA + you don't need to leave your computer on. You simply place pending limit orders with the broker to 'hedge' whatever portion of the trade you want to close, then use the script at your leisure (when you wake up or whatever) to close out the hedged portion of the position + you only pay 1x spread. It's quick, easy and fail-safe. http://indo-investasi.com/showthread.php/8015-Close-Opposite-Orders-Script-Pay-1x-Spread-NOT-2x-When-Closing-Hedged-Positions?p=91258#post91258 Regards, Pye fx4_ever 1
derox Posted January 27, 2011 Report Posted January 27, 2011 wow. it does a lot more than I asked for.. LOL. I hope I can get it to work and not mess up by using wrong entries. Thanks a lot! Appreciate your quick reply. no probs. here is generic ea. partial close function must be taken from trade management ea hxxp://www.forexfactory.com/showthread.php?t=258153 fx4_ever 1
fx4_ever Posted January 28, 2011 Author Report Posted January 28, 2011 (edited) The thread below may interest you. Much simpler than that Trade Management EA + you don't need to leave your computer on. You simply place pending limit orders with the broker to 'hedge' whatever portion of the trade you want to close, then use the script at your leisure (when you wake up or whatever) to close out the hedged portion of the position + you only pay 1x spread. It's quick, easy and fail-safe. http://indo-investasi.com/showthread.php/8015-Close-Opposite-Orders-Script-Pay-1x-Spread-NOT-2x-When-Closing-Hedged-Positions?p=91258#post91258 Regards, Pye Pye, Thanks for the thread link. this is so cool! Brilliant idea to hedge, then close at my leisure! no probs. here is generic ea. partial close function must be taken from trade management ea Thank you very much for the link. Edited January 28, 2011 by fx4_ever
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now