All indicators

EMA Slope - RSI Oscillator Strategy

Mar 31, 2026

Static chart image
SignalsOscillatorsDivergencesMoving AveragesTrailing-StopVolatility

The EMA Slope - RSI Oscillator Strategy indicator is a comprehensive trading tool that combines arctan-normalized EMA slope momentum with centered RSI to identify continuation and reversal setups. By mapping slope and RSI onto comparable scales, it provides a realistic view of momentum relationships across varying volatility regimes, further refined by a global No Trade Zone (NTZ) filter.

Usage

This strategy offers a multi-entry engine designed for diverse market conditions:

  • Trend Following: Uses NTZ Cross entries when the normalized slope breaks out of the neutral zone, filtered by a "Stretch Filter" to avoid entering overextended trends.
  • Momentum Bursts: Captures sudden shifts through Acceleration entries, visualized as colored dots when slope velocity exceeds a defined threshold.
  • Reversals: Identifies potential turning points using multi-peak RSI Divergence and Slope-RSI exhaustion logic.
  • Oscillator Timing: The RSI-Slope Oscillator arms on a cross outside the NTZ and confirms when both indicators move in unison within a specific timeout window.

The tool includes side-aware reversals, blocking same-direction stacking while allowing clean position flips. It manages risk through entry-type-specific trailing stops with adjustable grace periods.

Details

The core of the script relies on Arctan Slope Normalization. It measures the change in a long moving average and applies an arctan model to scale it to a centered range approaching +/-50. This prevents "hard clipping" and allows for a direct, mathematically sound comparison with a centered RSI (RSI-50).

Settings

Core Parameters

  • MA Settings: Configure lengths and types (EMA, SMA, HMA, etc.) for both short and long moving averages.
  • NTZ Threshold: Sets the boundary for the No Trade Zone; higher values require stronger momentum to trigger entries.
  • Slope Arctan Scale: Adjusts the responsiveness of the normalization; higher values result in a smoother scale.

Strategy Filters

  • Max Stretch Threshold: Prevents entries if the percentage gap between MAs is too high.
  • Minimum Delta: The minimum change in slope required to validate a momentum signal.
  • Exit Confirmation Bars: Requires exit conditions to persist for a set number of bars to filter noise.

Specialized Modules

  • Divergence & Exhaustion: Settings for RSI sensitivity, peak detection, and the minimum gap between slope and RSI for exhaustion signals.
  • RSI-Slope Oscillator: Controls the timeout window (Max Crossing Back Period) and arming logic.

Risk Management

  • Trailing Stops: Distinct ATR factors and grace periods for Standard, Divergence, and Oscillator entries.
  • Position Sizing: Choose between Percent of Equity, Fixed Quantity, or Percent of Cash.

FAQ

How do I interpret the visual elements?

The green/red areas represent trend direction, while gray indicates the No Trade Zone. Colored dots signify acceleration, and triangles/diamonds mark exhaustion or price-RSI divergences.

Can I use this for both Day Trading and Swing Trading?

Yes. For Day Trading (5m-15m), faster MA settings like 20/80 are recommended. For Swing Trading (1h-4h), the default 40/160 or slower 50/200 settings are more effective.

How do I access the EMA Slope - RSI Oscillator Strategy?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.