EA placing a lot of Pending Orders
-
Hi there,
I am trying to create an EA, but it places a lot of Pending orders (instead of 1) - I have tried the COUNT PENDING ORDER block - but its not working...
The pending must ONLY be placed when the sum of profit is below -$0.50 (condition for the Pending Order).
Please anyone to help me..
shared/UObsX31zc
-
@ozzkamana put it under once per bar time filter.
-
@jsauter86 thank you for your responce, but still it does work - it's still placing a lot of pending orders ( on every bar) - where I want it to place just ONE pending order each time profit is than -$0.50.
-
shared/KyT0wrPTb
-
your logic says to buy or sell a pending order once per bar. yes, its going to trade a lot!
https://fxdreema.com/instructions/builder/builder-basic-rules
this will help you, I suggest thoroughly going through it.
-
@ozzkamana You need to include a 'No pending order' blue block above that 'Stage 3 pending buy'.
-
Thank you @jsauter86 @l-andorrà , I am working on it now.. Will give you a feedback soon...
Thank you guys..
-
Thank you guys , it's working

The only issue I have now is that , when EACH pending order is activated, the EA places the SAME PENDING order at a distance .. and I only want the pending order to be activated only ONCE when the trade is active (until it reaches $1)...
Please help..
shared/Y4tYDWr0d
-
@ozzkamana said in EA placing a lot of Pending Orders:
shared/Y4tYDWr0d
You need to substitute block 18 by a 'No position/order' block instead.