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
<PackageReference Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" Version="5.0.0" />
<PackageVersion Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" Version="5.0.0" />
<PackageReference Include="StockSharp.Strategies.0450_Tendency_Ema_Rsi" />
paket add StockSharp.Strategies.0450_Tendency_Ema_Rsi --version 5.0.0
#r "nuget: StockSharp.Strategies.0450_Tendency_Ema_Rsi, 5.0.0"
#:package StockSharp.Strategies.0450_Tendency_Ema_Rsi@5.0.0
#addin nuget:?package=StockSharp.Strategies.0450_Tendency_Ema_Rsi&version=5.0.0
#tool nuget:?package=StockSharp.Strategies.0450_Tendency_Ema_Rsi&version=5.0.0
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
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 |