# EMA and RSI Crossovers

Enters long when EMA and RSI crossovers occur, exits on RSI crossover and EMA condition

Canonical: https://prismaticalgos.com/compendium/algo/1708-ema-and-rsi-crossovers
Record ID: 1708
Catalog rank: 2896 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.prorealcode.com/topic/automated-strategy-with-ema-and-rsi-crossovers-not-running-at-all/
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: EURUSD
- timeframes: M15
- sessions: 24/7
- market_regime: trending|ranging|volatile

## Indicators

- EMA: {"period": 5}; applied to: close
- EMA: {"period": 20}; applied to: close
- RSI: {"period": 5}; applied to: close
- RSI: {"period": 14}; applied to: close
- SAR: {"acceleration": 0.02, "maximum": 0.02, "step": 0.2}; applied to: close

## Recorded long-entry rules

- close > close[1]
- close CROSSES OVER ExponentialAverage[5](close)
- RSI[5](RSI[14](close)) CROSSES OVER RSI[14](close)
- RSI[5](RSI[14](close)) > RSI[5](RSI[14](close))[1]
- ExponentialAverage[5](close) CROSSES OVER ExponentialAverage[20](close)
- close > Average[100](close)[1]
- SAR[0.02,0.02,0.2][2] > close[2]
- SAR[0.02,0.02,0.2][1] < close[1]
- SAR[0.02,0.02,0.2] < close

## Recorded short-entry rules

- close < close[1]
- close CROSSES UNDER ExponentialAverage[20](close)
- ExponentialAverage[5](close) CROSSES UNDER ExponentialAverage[20](close)
- RSI[5](RSI[14](close)) CROSSES UNDER RSI[14](close)
- RSI[5](RSI[14](close)) < RSI[5](RSI[14](close))[1]

## Recorded exit rules

- close[1] < close[2]
- RSI[5](RSI[14](close)) < RSI[5](RSI[14](close))[1]
- RSI[5](RSI[14](close))[1] CROSSES UNDER RSI[14](close)[1]
- ExponentialAverage[5](close)[1] < ExponentialAverage[5](close)[2]
- close < close[1]
- close CROSSES OVER ExponentialAverage[20](close)

## Recorded filters

- no trading before 06:40 GMT
- no trading after 20:30 GMT
- no trading on weekends

## Risk controls

- Stop loss: 20 pips
- Take profit: 40 pips
- Position sizing: 25 shares
