Skip to main content
Any Framework

Rsi Supertrend Strategy (Python)

Published
Aug 7, 2025
1y ago
Total Downloads
1.3K
1,264

Install

dotnet add package StockSharp.Strategies.0175_RSI_Supertrend.py --version 5.0.1

No framework information available.

README

Rsi Supertrend Strategy (Python Version)

Strategy based on RSI and Supertrend indicators. Enters long when RSI is oversold (< 30) and price is above Supertrend Enters short when RSI is overbought (> 70) and price is below Supertrend

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

The RSI oscillator defines momentum extremes while Supertrend points to the prevailing direction. Trades occur when RSI aligns with the Supertrend color.

Works for traders who appreciate a trailing-stop style exit. ATR settings further safeguard the position.

Details

  • Entry Criteria:
    • Long: RSI < 30 && Close > Supertrend
    • Short: RSI > 70 && Close < Supertrend
  • Long/Short: Both
  • Exit Criteria: Supertrend change
  • Stops: Trailing with Supertrend
  • Default Values:
    • RsiPeriod = 14
    • SupertrendPeriod = 10
    • SupertrendMultiplier = 3.0m
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
  • Filters:
    • Category: Mean reversion
    • Direction: Both
    • Indicators: RSI, Supertrend
    • 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.0 and v5.0.1.

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.