I was wondering why when I use the below strategy if the Stop Order doesn't get filled on the One Minute Bar when it goes to the next bar it doesn't put a new Stop Order at the new parameters it waits until the next bar after that basically skipping a bar. It does erase the previous Stop order which is something I do want to have happen but I don't want to skip a bar before placing another new Stop Order. Thanks for any help.
protected override void OnBarUpdate()
{
// Condition set 1
if (Open[0] < Close[0])
{
EnterLongStop(DefaultQuantity, Close[0] + 1 * TickSize, "Long");
}
// Condition set 2
if (Open[0] > Close[0])
{
EnterShortStop(DefaultQuantity, Close[0] - 1 * TickSize, "Short");
}
}

Comment