Skip to main content
Published
Jul 20, 2025
1y ago
Total Downloads
1.5K
1,528

Install

dotnet add package StockSharp.Strategies.0228_Hurst_Exponent_Reversion.py --version 5.0.0

No framework information available.

README

Hurst Exponent Reversion Strategy (Python Version)

This approach uses the Hurst exponent to detect when a market is behaving in a mean-reverting manner. Values below 0.5 suggest price tends to return toward its average, creating opportunities to fade extremes.

A long position is opened when the Hurst exponent is below 0.5 and price closes under a moving average. A short position occurs when the Hurst value is below 0.5 and price closes above the average. Positions exit when price returns to the average line or the Hurst exponent rises above the threshold.

The strategy fits traders who favour statistical tendencies over strong trends. A protective stop-loss shields against extended moves that fail to revert.

Details

  • Entry Criteria:
    • Long: Hurst < 0.5 && Close < MA
    • Short: Hurst < 0.5 && Close > MA
  • Long/Short: Both sides.
  • Exit Criteria:
    • Long: Exit when Close >= MA or Hurst > 0.5
    • Short: Exit when Close <= MA or Hurst > 0.5
  • Stops: Yes, percent stop-loss.
  • Default Values:
    • HurstPeriod = 100
    • AveragePeriod = 20
    • StopLossPercent = 2m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Mean Reversion
    • Direction: Both
    • Indicators: Hurst Exponent, MA
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Intraday
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk Level: Medium

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.