stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

EA to add pending order to existing open order
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4272
Page 1 of 1
Author:  jidonk [ Tue May 26, 2015 3:59 pm ]
Post subject:  EA to add pending order to existing open order

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
Author:  jidonk [ Wed May 27, 2015 7:14 pm ]
Post subject:  EA to add pending order to existing open order

Anyone?
Author:  SteveHopwood [ Sat May 30, 2015 10:59 pm ]
Post subject:  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.

:xm:
All times are UTC Page 1 of 1