Buy Pending Orders in Grid - Keeps Looping - Is this a bug?
-
Hi not sure if this is a fault but I've searched on the thread and youtube still can find an answer.
When using buy pending orders in grid (- price from last trade) it resends the buy pending orders again after the 1st one is filled resulting in many duplicate Pending Orders?
Is this a bug or is there an easy fix?
-

-
You are checking for trades not pending orders:
-
Thanks I'll check that

-
OK nearly there on this particular challenge. So this now opens the grid as planned, however I would prefer a single buy order to open first and then the grid open beneath it by n pips. i.e. I only want both grids to open after the buy single, hope that makes sense?
-
Place an instant order and a grid of pending orders, or 1 pending and the grid when it becomes a trade?
-
Yes it does that but my problem is the 1st pending sell grid trade is opened at the same time. It needs to be n number of pips below the 1st pending BUY. The BUYS are Limits and Sells are Stops.
-
This project- https://fxdreema.com/shared/f9ADTOrse - although it is not exactly what you want, it will show you how to spread the distance.
-
Great stuff, thank you. I'll study it.

-
