Buy Sell Pending Orders in Grid
-

-
Hi Fx Dreema
When setting up a basic grid using Buy/Sell Pending Orders in Grid, either buy or sell, orders to place(grid levels) don't appear to be working.
If I set the limit to 10, the software continues adding extra levels up to the max the broker allows.Would you be able to check for me.
Thanks
Andy.
-
I don't have any problems with this:
https://fxdreema.com/shared/xrJfkmeDb
http://prntscr.com/5i53j3Note that all trading blocks are creating trades/orders when they are executed, they don't have internal limits. If you run these blocks 1 time, they will create whatever they are set up to create. If you run them 2 times - they will create whatever they are set up to create X2, and so on...
I guess that the problem is in the "limit" block/s above the trading block.
-
__I don't have any problems with this:
https://fxdreema.com/shared/xrJfkmeDb
http://prntscr.com/5i53j3Note that all trading blocks are creating trades/orders when they are executed, they don't have internal limits. If you run these blocks 1 time, they will create whatever they are set up to create. If you run them 2 times - they will create whatever they are set up to create X2, and so on...
I guess that the problem is in the "limit" block/s above the trading block.[/q
Thanks for the reply
Strange
Iv'e reloaded the grid onto a fresh new named EA and it now runs ok, previously on a 10 grid count, it continued through to 70 orders.
My broker updated this morning, I figured they were after an early Christmas bonus...
Cheers
Andy
-
So where was the problem? And what MetaTrader is this 4 or 5? Because I know that MT5 sometimes does weird things because of it's nature - it does not wait for it's own local database to be updated before going to do something else. For example, when you create a new position with OrderSend() and the response from the server for this operation is positive, and then you load (select) the newly created position, for some milliseconds it's attributes return 0 (open price, stop-loss...).
-
Hi
Just tried again.
Still adding excess pending orders. I'm setting the grid as I usually do but something doesn't look right.
Will try again when home later.
-
MetaTrader 4 or MetaTrader 5?
-
MT4 Build 765
When setting 10 orders in a grid, as the market moves, the limit orders are refreshed and are counted in trade statistics,
increasing in numbers and are then used to place a trade.Andy.
-
Ahh.
Reloaded no pending order exists, must have had a meltdown.
Running fine. Cheers for help.
Andy.
-
If something is wrong with the count of trades/orders in MT4, then the reason is most probably in your project logic. In this case I can help if you show me your project. If the project is fine and there are problems, then it's a bug and I want to fix it.
In case of MT5... weird things happen there, but again - show me the project, it's easier if I can see the situation, because I have no crystal ball to detect problems.
-
__If something is wrong with the count of trades/orders in MT4, then the reason is most probably in your project logic. In this case I can help if you show me your project. If the project is fine and there are problems, then it's a bug and I want to fix it.
In case of MT5... weird things happen there, but again - show me the project, it's easier if I can see the situation, because I have no crystal ball to detect problems.[/quote:gok0pzon]
Hi
I reloaded the pending order count, all running fine now.
Cheers
-
Its is not taking order on market price please help