EMA Crossover Signals with RSI and Higher-Timeframe Trend Filtering
Summary
This strategy combines a fast and slow exponential moving average crossover with an RSI threshold check. A long entry requires the fast average to cross above the slow average, RSI to remain below its overbought threshold, and the higher-timeframe fast average to be above its slow average. A short entry uses a downward crossover and requires RSI to remain above its oversold threshold; the code does not require the higher-timeframe trend to be down for short trades.
The example uses a one-hour higher timeframe by default and includes percentage-based stop and limit exits, plus alerts carrying the symbol, action, price, RSI, higher-timeframe direction, and time. The description suggests use on several intraday chart intervals and across index futures, Bitcoin, and gold, but gives no strategy report or measured results. The plotted logic uses RSI on the chart timeframe, despite the accompanying prose describing higher-timeframe RSI confirmation. Exit levels are calculated from the current close, so results may depend on implementation and backtest assumptions.
Key ideas
- Long entries require an upward EMA crossover, RSI below its upper threshold, and an upward higher-timeframe EMA alignment.
- Short entries require a downward EMA crossover and RSI above its lower threshold, without a bearish higher-timeframe filter.
- The example supplies stop and limit exits and can send signal details through alerts.
- The prose and strategy code differ on which timeframe supplies RSI, so users should verify the implemented logic.
- No performance evidence is included, and the described settings are not proof of profitability.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.