--- 3 contracts were correctly entered with separate EnterLongLimit operations at 1921.50 when Bar[0] exceeded the high of Bar[1] (calculate on Bar Close = False);
--- the first, second and third profit targets were all hit in succession, within the 1-minute time period of Bar[0], but each approx. 10 seconds apart from one another.
--- However, after the targets were all hit, NT generated a limit order for the full position again. That is, an order was generated for 3 contracts at 1921.50 again even though the signal is now stale (since it was triggered, filled, and reached target).
The algorithm is a simple comparison of bars and indicators, such as if (High[1] > High[2]), and so forth.
I suppose that NT could still be comparing the prior bar as against the current bar (which is Bar[0]) and will continue to do so until the minute is closed and we finally move away from Bar[0].
If that is the case, how do I stop NT from working multiple orders within the same bar?
If that is not the case, is there anything else that could be causing this?
Thanks in advance.
Comment