An occurrence or change in the system (such as new data or user action) that programs can respond to. Forex robots rely on events: e.g., the OnTick event when a new price tick arrives, or OnTimer event in MQL5 fired at set intervals. Handling events (event-driven programming) lets the EA or cBot react immediately to market changes.