A sweep is price trading strictly beyond a previous-day level at any point during the session. For a long setup, price trades below the previous day's low. For a short setup, price trades above the previous day's high. The moment it happens, the level has been pierced — the strategy's first condition is met.
For education only. Nothing here is financial advice, and trading involves risk.