Skip to main content
Any Framework

Three-Bar Reversal Up Strategy (C#)

Published
Aug 7, 2025
1y ago
Total Downloads
1.8K
1,849

Install

dotnet add package StockSharp.Strategies.0066_Three_Bar_Reversal_Up --version 5.0.2

No framework information available.

README

Three-Bar Reversal Up Strategy (C# Version)

This pattern catches quick bullish turns after a short decline. It requires two consecutive down candles followed by a strong up candle that closes above the prior bar's high. The logic optionally checks that price was trending lower beforehand.

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

The strategy keeps the last three candles in memory. Once the sequence matches the criteria and any downtrend filter is satisfied, a long position is opened. A volatility stop below the pattern low caps risk on the trade.

After entry the system waits for either a stop hit or the appearance of another setup in the opposite direction. This simple approach suits markets prone to sharp bounces from oversold conditions.

Details

  • Entry Criteria: Two bearish candles with lower lows then a bullish candle closing above the middle bar's high.
  • Long/Short: Long only.
  • Exit Criteria: Stop-loss or next pattern.
  • Stops: Yes, below pattern low.
  • Default Values:
    • CandleType = 15 minute
    • StopLossPercent = 1
    • RequireDowntrend = true
    • DowntrendLength = 5
  • Filters:
    • Category: Pattern
    • Direction: Long
    • Indicators: Candlestick
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Intraday
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk level: Medium

Changes from Previous Version

No structural changes between v5.0.1 and v5.0.2.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.