Buy Pending Order
-
Any idea why a buy pending order block would be opening short trades as well as long trades?

In live testing it's open buy and sell orders at exactly the same time:

-
set highest for buy and set lowest for sell
-
@Hiten7405 Yes, I've got buy and sell conditions, but with this block, when the buy conditions are met it's setting a a buy and sell order at exactly the same time. If I go in and manually try to cancel the sell order, both the buy and sell pending orders are removed, so they are linked somehow.
Anyone have an idea why? -
@Matatika
Share project link -
@Hiten7405 here's the link: https://fxdreema.com/shared/7dbefV1wd
I've created a separate project where I just have a buy at market where the conditions are met, but it would be good to have the pending orders to work. -
@Matatika that's why, this function creates an opposite pending order. Set it to NO

-
@ambrogio Okay, thanks, i'll try that. Appreciated.
-
-
@ambrogio Hey, just to let you know, this worked! Thanks for your help.
-
@Matatika you're welcome!
