Hi Guys,
I need help with the following:
I have an EA that I use to open trades at market price. It open multiple pairs, not just one symbol.
How can I add one BUYSTOP and one SELLStop for all of these open trades?
It's like this (example):
- EA open sell eurusd (one trade) and sell gbpusd (one trade) at market price .. (trade different pairs, one each)
- if (lock==true) EA to place one BuyStop on eurusd at 100 points from sell open price (to lock if loss)
- if (add==true) EA to place one SellStop on eurusd at 100 points from sell open price (to add if profit)
- same thing for gbpusd and other pairs...
Hope someone can show me how this is done and thanks in advance for your help
EA to add pending order to existing open order
-
jidonk
- Posts: 5
- Joined: Wed May 02, 2012 3:33 am
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
EA to add pending order to existing open order
You are asking expert coders to donate moderately complex code for free for your own personal use.
Why should they?
Contribute to SHF first, then ask for stuff later is the rule here. We will help you once you have proven worthy of help.
This thread is locked.

Why should they?
Contribute to SHF first, then ask for stuff later is the rule here. We will help you once you have proven worthy of help.
This thread is locked.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.