don't open new limit pending, until the close current position
-
Hello guys
can you help me, I need to add one thing in my project.
don't open new limit pending buy or sell, until the close current positionI'm not expert in programming

-
You need to add a 'No trade' block between both 'No pending order' and 'Condition'. One for buys and another one for sells.
-
@l-andorrà said in don't open new limit pending, until the close current position:
and
Thank you so much, But still, open unlimited Positions just the first close work Great after that unlimited

I tried with one pip TP/SL in a demo account -
@amf606 From what I know, it doesn't work with negative logic... better to find something like: if - condition - then do... (no don't).
If I understand correctly, you could try the "check trades count" block and set it to lower than one, so it triggers the pending orders only if that. If there is one trade open, the next one would be two, so it won't pass that block. -
Yes, good idea, CPxiom.