NDay Breakout (C#)

by StockSharp

NDay Breakout N-day high/low breakout strategy N-day breakout looks for new highs or lows over the given period. Entries occur when price pierces the latest N-day high or low, anticipating momentum. A...

1.6K Downloads
☆☆☆☆☆ Rating
0 Reviews
NuGet 5.0.2 Install-Package StockSharp.Strategies.0002_NDay_Breakout -Version 5.0.2
NDay Breakout (C#)

NDay Breakout

N-day high/low breakout strategy N-day breakout looks for new highs or lows over the given period. Entries occur when price pierces the latest N-day high or low, anticipating momentum. A moving-average filter and percentage stop manage exits.

Testing indicates an average annual return of about 43%. It performs best in the stocks market.

By waiting for the prior extreme to break, the system attempts to catch the start of a directional move. Filtering by a trend-following average helps avoid false signals that arise during consolidation.

Details

  • Entry Criteria: Signals based on MA.
  • Long/Short: Both directions.
  • Exit Criteria: Opposite signal or stop.
  • Stops: Yes.
  • Default Values:
    • LookbackPeriod = 20
    • MaPeriod = 20
    • StopLossPercent = 2.0m
    • CandleType = TimeSpan.FromDays(1)
  • Filters:
    • Category: Breakout
    • Direction: Both
    • Indicators: MA
    • Stops: Yes
    • Complexity: Basic
    • Timeframe: Daily
    • Seasonality: No
    • Neural Networks: No
    • Divergence: No
    • Risk Level: Medium

User Reviews

Login to write a review

No reviews yet