StockSharp.Strategies.0450_Tendency_Ema_Rsi 5.0.0

Prefix Reserved
dotnet add package StockSharp.Strategies.0450_Tendency_Ema_Rsi --version 5.0.0
                    
NuGet\Install-Package StockSharp.Strategies.0450_Tendency_Ema_Rsi -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StockSharp.Strategies.0450_Tendency_Ema_Rsi --version 5.0.0
                    
#r "nuget: StockSharp.Strategies.0450_Tendency_Ema_Rsi, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StockSharp.Strategies.0450_Tendency_Ema_Rsi@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StockSharp.Strategies.0450_Tendency_Ema_Rsi&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Strategies.0450_Tendency_Ema_Rsi&version=5.0.0
                    
Install as a Cake Tool

Tendency EMA + RSI Strategy (C# Version)

This strategy layers a fast/medium EMA crossover on top of a slower trend EMA and an RSI filter. Long trades require the fast EMA to cross above the medium EMA while both remain above the slow trend line and the candle closes bullish. Short trades mirror these rules. RSI extremes close positions, and an optional "close after X bars" feature locks in profits if price moves in the expected direction quickly.

The approach aims to participate only in pullback entries that align with the prevailing trend, using the RSI to exit when momentum becomes overstretched. It works best on intraday charts where EMA crossovers offer timely signals and multiple setups occur each session.

Details

  • Entry Criteria:
    • Fast EMA crosses above medium EMA, both above slow EMA, bullish candle.
    • Fast EMA crosses below medium EMA, both below slow EMA, bearish candle.
  • Long/Short: Long enabled, short optional.
  • Exit Criteria:
    • RSI > 70 closes long; RSI < 30 closes short.
    • Optional: close after X bars if trade is profitable.
  • Stops: None built‑in.
  • Default Values:
    • RSI length = 14.
    • EMA A/B/C lengths = 9/21/50.
    • Close after X bars = off, X = 5.
  • Filters:
    • Category: Trend + Momentum
    • Direction: Both (long default)
    • Indicators: EMA, RSI
    • Stops: No
    • Complexity: Moderate
    • Timeframe: Short
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk level: Medium
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 217 8/7/2025