1. Define an engulfing candle as one where the high is higher than the previous candle's high and the close is lower than the previous candle's low.
2. If the asset (e.g., SPY) is above its 200-day moving average, enter a long trade.
3. If below the 200-day moving average, enter a short trade.
4. Exit the trade following any close in profit or when the close is higher than the previous high (for longs) or lower than the previous low (for shorts).