Overnight Gap Strategy (C#). StockSharp

Author: StockSharp
N: 1574
v5.0.1 (7/23/2025)
Downloads: 71

Overnight Gap plays the open when price gaps significantly from the prior close due to news or after-hours activity.
Large gaps often retrace partially as traders digest the move.
The strategy fades excessive gaps, entering in the opposite direction shortly after the open and closing before the session ends.
Stops are based on a percentage beyond the gap extremes to manage risk if the move continues.

  • Entry Criteria: indicator signal
  • Long/Short: Both
  • Exit Criteria: stop-loss or opposite signal
  • Stops: Yes, percent based
  • Default Values:

    • CandleType = 15 minute
    • StopLoss = 2%

  • Filters:

    • Category: Gap
    • Direction: Both
    • Indicators: Gap
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Intraday
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk level: Medium