Time pending order doesnt work
-
Hello Everyone
I tried a new project with time. I like to automatic trade for example at 8.00 am. The bot need to do the following point:
- start buy pending order at +50 pips and sell pending at -50 of close previous candle. if buy start to trade the sell pending stops. This goes the same with oppisite side.
- when its trade, the stop lost is at 100 pips and trailing stop is also 100 pips.
Problem:
- For some reason it sell and buys both.
- Offset is 50 pip if it jumps at 45 to 52 pips it wont start trading .
what have i done wrong.


-
@william-1 Try only creating buy or sell and in the block placing a opposite order.
-
Thank you for replying. I doesnt delete the pending orders
-
@william-1 Looking at your picture, put the trailing in a separate tree with a pass or a if trade block above. Above the buy sell tree change the no trade block for a no trade/pending order block.
-
@jstap i have tried it but the both cancel eachother. I have tried to detach them and it works.
-
@william-1 Put a shared link on here and ill have a look.
-
@jstap It works now. its delete pending orders when its trade