Skip to main content
Any Framework

Rsi Williams R Strategy (C#)

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

Install

dotnet add package StockSharp.Strategies.0163_RSI_Williams_R --version 5.0.2

No framework information available.

README

Rsi Williams R Strategy (C# Version)

Implementation of strategy - RSI + Williams %R. Buy when RSI is below 30 and Williams %R is below -80 (double oversold condition). Sell when RSI is above 70 and Williams %R is above -20 (double overbought condition).

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

RSI outlines the overall momentum, while Williams %R gives a quicker signal of reversal. Trades act on agreement between the two oscillators.

Good for active traders chasing short swings. ATR-based stops are employed.

Details

  • Entry Criteria:
    • Long: RSI < RsiOversold && WilliamsR < WilliamsROversold
    • Short: RSI > RsiOverbought && WilliamsR > WilliamsROverbought
  • Long/Short: Both
  • Exit Criteria:
    • RSI returns to neutral zone
  • Stops: Percent-based using StopLoss
  • Default Values:
    • RsiPeriod = 14
    • RsiOversold = 30m
    • RsiOverbought = 70m
    • WilliamsRPeriod = 14
    • WilliamsROversold = -80m
    • WilliamsROverbought = -20m
    • StopLoss = new Unit(2, UnitTypes.Percent)
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
  • Filters:
    • Category: Mean reversion
    • Direction: Both
    • Indicators: RSI, Williams %R, R
    • 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.