Pending orders near orders
-
Hello.
I need your help please.
How can I avoid my EA placing pending orders where there's already an order?
Thank you for your help.
Best Regards
-
you must consider some distance above and below active pending order
if your active pending order is at 1.2210 and some of conditions is active around this price lets say 20 pips above and below (1.2230 & 1.2180) pending order will not be placed here - you must specify this distance ... you can do it with a combination of condition blocks -
@miro1360 said in Pending orders near orders:
you must consider some distance above and below active pending order
if your active pending order is at 1.2210 and some of conditions is active around this price lets say 20 pips above and below (1.2230 & 1.2180) pending order will not be placed here - you must specify this distance ... you can do it with a combination of condition blocksThank you Miro.
I'm didn't write it well. My bad.
The order its already in market. Its a buy or sell running order not buy/sell pending order.
What I'm looking for is a way of not placing pending order near an existing market order.
I appreciate your help.
Thank you very much.
-
it still be the same as I told you, instead of checking existence of pending order you can check market order
-
@miro1360 said in Pending orders near orders:
it still be the same as I told you, instead of checking existence of pending order you can check market order
Thank you again Miro.
I'm new at this thing of programming EA. Can you please give me a clue how to do it?
Thanks a lot.
-
check this, if there is no Buy trade arround current price (+10pips above, -10pips below) it place buy pending order:
https://fxdreema.com/shared/gMCv6NTVb -
@miro1360 said in Pending orders near orders:
check this, if there is no Buy trade arround current price (+10pips above, -10pips below) it place buy pending order:
https://fxdreema.com/shared/gMCv6NTVbThank you Miro.
I'll give it a try.
Best Regards
-
"No pending order nearby" not working purposefully!?
I need to check that I don't have current Pending Orders placed nearby, so that there is not so many Pending Orders around a price level.
This doesn't seem to be possible to achieve with the Block: "No pending order nearby"
since it still places a lot of Pending orders nearby or on top of eachother, even though I chose 100 pips around.What this block perhaps is controling is that "No Pending Orders" are placed near other "Market orders", but that is not my concern or interest.
My goal: I wish that "No Pending Orders" are placed near other "Pending Orders".
I thought the block was about that, but it doesn't seems so, so does anybody know what is the right way do achieve my goal?
-
You will need to identify the order price to be 'isolated' by storing it into a variable and then use a condition block avoiding new pending orders at the desired distance.