Hurst Exponent Trend Strategy (C#)
$ dotnet add package StockSharp.Strategies.0227_Hurst_Exponent_TrendThis system uses the Hurst exponent to determine whether the market is exhibiting trending behaviour. Values above the threshold indicate persistence, while values below suggest noise or mean reversion. A moving average provides additional direction confirmation.
Testing indicates an average annual return of about 40%. It performs best in the crypto market.
The strategy buys when the Hurst exponent is greater than the threshold and price closes above the moving average. It sells short when the Hurst exponent is high and price closes below the average. If the Hurst exponent drops below the threshold, existing positions are closed to avoid trading in choppy markets.
Such an approach works for traders who want objective confirmation that a trend is present before entering. The combination of trend filter and stop-loss helps manage the risk of false signals.
HurstPeriod = 100MaPeriod = 20HurstThreshold = 0.55mCandleType = TimeSpan.FromMinutes(5)