Buy/Sell pending orders
-
I am trying to Create an EA that has buy pending orders and sell pending orders and it is not doing what I need it to do. Basically when the indicator triggers I need the pending orders placed to enter 15 pips offset of the condition and to cancel 15 pip the opposite way. here is the link any help would be great.
-
@legendarymike The 15 pips offset condition is correct. What do you exactly mean by '15 pip the opposite way'?
-
@l-andorrà So what I mean is lets say for example I get a buy signal at 1.00 I want the pending order to be put at 1.15 if it keeps going up and hits that price and if it goes down to 0.85 instead I want it to cancel the buy pending order. but when I run the EA its not doing anything close to that, Itll put me in trades but its saying im losing every single trade in the strategy tester
-
@legendarymike Then you need a separate structure to do that. This is an example for buys only:

-
@l-andorrà That almost make sense but unfortunately I only know hoe to do basic stuff with fxdreema im not to advanced with it
-
@legendarymike You just need to add my suggested blocks besides your current structure.