I have a strategy that will place a limit order when conditions are met using this:
EnterLongLimit(DefaultQuantity, Close[0] - TickSize * 2, "LongEntry");
I would like to include something in my strategy that will immediately submit a market order on the next bar if the limit order doesn't get filled. I'm sure there are several ways to accomplish this, but I'm not sure where to start.
Can anyone provide some sample code or advice? Thank you!

Comment