EMA/SMA + RSI Crossover Strategy (C#)
Get Started
No framework information available.
README
EMA/SMA + RSI Crossover Strategy (C# Version)
This strategy tracks three exponential moving averages (fast, medium, and slow) along with an RSI filter to participate in emerging trends. A trade is triggered when the fast average crosses the medium one in the direction of the prevailing slow average, indicating that momentum is accelerating. Only candles that close in the direction of the crossover are considered to avoid whipsaws.
A protective exit can optionally close positions after a user-defined number of bars if they remain profitable. The RSI acts as an overbought/oversold guard to exit when momentum becomes stretched.
Backtests show the technique works best on liquid crypto pairs during trending phases where moving averages offer clear separation.
Details
- Entry Criteria:
- Long:
EMA_fast > EMA_mediumandEMA_fast(t-1) <= EMA_medium(t-1)andClose > EMA_slowandClose > Open - Short:
EMA_fast < EMA_mediumandEMA_fast(t-1) >= EMA_medium(t-1)andClose < EMA_slowandClose < Open
- Long:
- Long/Short: Both sides.
- Exit Criteria:
- Long:
RSI > 70orX bars in profit and Close > entry - Short:
RSI < 30orX bars in profit and Close < entry
- Long:
- Stops: None.
- Default Values:
EMA_fast= 10EMA_medium= 20EMA_slow= 100RSI_length= 14X bars= 24
- Filters:
- Category: Trend following
- Direction: Both
- Indicators: EMA, RSI
- Stops: Optional time-based
- Complexity: Medium
- Timeframe: Short-term
- Seasonality: No
- Neural networks: No
- Divergence: No
- Risk level: Medium
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.