Skip to main content
Any Framework

Hull Ma Rsi Strategy (C#)

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

Install

dotnet add package StockSharp.Strategies.0159_Hull_MA_RSI --version 5.0.2

No framework information available.

README

Hull Ma Rsi Strategy (C# Version)

Implementation of strategy - Hull Moving Average + RSI. Buy when HMA is rising and RSI is below 30 (oversold). Sell when HMA is falling and RSI is above 70 (overbought).

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

Hull MA provides a smoothed trend line and RSI highlights momentum divergences. Trades occur when RSI turns at extremes while price follows the Hull direction.

Suited to short-term swing traders who want early signals. ATR-based stops protect the trade.

Details

  • Entry Criteria:
    • Long: HullMA turning up && RSI < RsiOversold
    • Short: HullMA turning down && RSI > RsiOverbought
  • Long/Short: Both
  • Exit Criteria:
    • Hull MA change of direction
  • Stops: ATR-based using StopLoss
  • Default Values:
    • HmaPeriod = 9
    • RsiPeriod = 14
    • RsiOversold = 30m
    • RsiOverbought = 70m
    • StopLoss = new Unit(2, UnitTypes.Absolute)
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
  • Filters:
    • Category: Mean reversion
    • Direction: Both
    • Indicators: Hull MA, Moving Average, RSI
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Mid-term
    • 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.