pendin order
-
@giusepatane Please confirm you mean 10 pips above AND below the line. Right?
-
@l-andorrà yes
-
@giusepatane Then you will need this intermediate block:

-
@l-andorrà
i tried but it doesn't work. I'm sure something is wrong
https://fxdreema.com/shared/VSqOL5auc -
-
@giusepatane Please take a new look at my screenshot. That block is positioned BEFORE the 'buy now' block, not at the end of another block tree.

-
@l-andorrà https://fxdreema.com/shared/1V4vEubRd

this is what happens if i put it in the buy now block
-
@l-andorrà https://fxdreema.com/shared/CgjeeyLBc

this is what happens if i put it in the block once per bar
-
@giusepatane Well, apparently you got it. Congrats!
-
@giusepatane
sorry if I was not clear. but that's not what I wanted.
I wanted a block that if the 0 candle is close by 10 pips to the support or resistance line it should not open any collision -
@l-andorrà
sorry for the translation meant no trade -
@giusepatane Is that the only feature that doesn't work?
-
@l-andorrà
as in the picture I sent you opens too many orders. it really shouldn't open any -
@giusepatane Honestly, I would rebuild the whole structure. Your EA has several heading blocks that are activated every single tick and that is the reason why so many tardes are open. I guess most of them should be headed by a 'Once per bar' block. Is your Ea working as planned except for that feature?
-
@l-andorrà
yes the strategy works, with this last block all orders start,
I'll try to put one per bar for each block -
@giusepatane If you do that you should also use my recommended block immediately below it.
-
@l-andorrà Hi
sorry can you help me?
I have several open orders between buy and sell if I would like to close all orders when an operation reaches the stop loss can it be done? -
@giusepatane Some more info would help. What do you exactly mean? How many open orders are supoposed to be closed? All of them? Any of them? Buys only or buys and sells?
-
@l-andorrà only 1
it is automatically inserted when opening an order for example buy opens a pending order 10 pips away. that if the trade buy goes into stop loss I must cancel the pending order -
@giusepatane Can you please share your project?
