General flow of checking status of orders / execution

Here's the typical order flow I'd like to have with a discretionary futures daytrade:

  1. Submit entry with transmit set to 1.
  2. Entry gets filled, submit target / stop OCO bracket order (w/transmit set to 1 on the 2nd order of the two)
  3. Either target or stop is reached or a manual close of the trade.

Is the basic pattern I need to do each time through the AFL is to call GetOrderStatus(orderId, True) and (and GetPositionSize() on fills) and then manage the transition states with static variables?