In a new strategy I wanted to use ExitLongMIT() instead of ExitLongLimit()... I kept the same logic and call ExitLongMIT() on each OnBarUpdate()... and now a new Sell MIT order is added when a new bar is completed.
As you can see in the following image, a Long position tagged V28Long was opened and its target at $5,903 was created using ExitLongLimit()... after several bars there is still 1 target... but the V30Long position was opened with a target at $5,894.25, the strategy immediately added that target and then, on each OnBarUpdate(), it keeps adding it, but at the moment of the screenshot there were 7 targets at that price... and it keeps adding 1 on each bar:
If I call ExitLongMIT() only once instead of on each OnBarUpdate() will it be kept as long as the order is working?
What other technical differences should I have in mind when working with this Exit MIT functions?

Comment