HFT-LEARN state machine