All indicators

SPX Scalping Strategy

Jun 14, 2022

Static chart image
SignalsOscillatorsCandlestickMoving Averages

The SPX Scalping Strategy indicator is a trend-following tool designed to identify potential entry and exit points for scalping the S&P 500 index. By combining moving averages, normalized price relative oscillators, and RSI filters, it aims to capture momentum shifts on lower timeframes.

Usage

The strategy is optimized for use on the SPX 500 or SPY tickers using Heiken Ashi candles on 1-minute, 3-minute, or 5-minute timeframes.

  • Long Entries: Occur when the price is above the 10-period SMA, the RSI is above its SMA, and the normalized trigger line is below the oscillator value.
  • Short Entries: Occur when the price is below the 10-period SMA, the RSI is below its SMA, and the normalized trigger line is above the oscillator value.
  • Exits: The strategy triggers an exit for active positions when a cross occurs on the SMA, the trigger line, or the RSI.

Details

The script utilizes three primary technical layers to filter signals:

  1. Trend Filter: A 10-period Simple Moving Average (SMA) determines the immediate trend direction. Background highlights appear when the price crosses this level.
  2. Normalized Momentum: It calculates a ratio between a short-term (12) and long-term (21) EMA, which is then normalized over a 50-period lookback to create an oscillator ranging from -1 to 1. A WMA-based trigger line is used for signal generation.
  3. Relative Strength: A standard 14-period RSI filtered by a 50-period SMA ensures that entries are only taken when the underlying strength aligns with the price action.

Settings

  • SMA Source #1: Determines the price source (e.g., Close, HL2) used for the main trend-following SMA.
  • RSI: A toggle to enable or disable the RSI component within the strategy logic.

FAQ

How do I use the SPX Scalping Strategy?

Apply the script to an SPX or SPY chart using Heiken Ashi candles on a 1-minute timeframe for high-frequency signals. Look for the confluence of the SMA trend, RSI strength, and momentum crosses.

What are the exit conditions?

The strategy closes positions whenever the price crosses the SMA, the momentum trigger line crosses the normalized oscillator, or the RSI crosses its own moving average.

How can I access this script?

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.