All indicators

The Flash-Strategy (Momentum-RSI, EMA-crossover, ATR)

Mar 25, 2023

Static chart image
SignalsMoving AveragesVolatility

The The Flash-Strategy (Momentum-RSI, EMA-crossover, ATR) indicator is an algorithmic trading tool designed to identify high-probability trend entries by requiring the alignment of momentum, trend direction, and moving average crossovers.

Usage

The tool generates signals based on a triple-confirmation logic. A long entry is triggered when the Momentum-RSI exceeds a user-defined threshold (default 60), the SuperTrend analysis indicates a bullish trend, and the EMA crossover strategy confirms upward momentum. Conversely, short signals are generated when these conditions align in a bearish direction.

The strategy offers two distinct trade management modes:

  • Dynamic (Version 1): Uses the SuperTrend line, derived from the Average True Range (ATR), as a trailing stop-loss to manage exits dynamically.
  • Static (Version 2): Applies fixed percentage-based Stop-Loss and Take-Profit levels that appear as horizontal lines on the chart.

Details

The script integrates three core technical components:

  1. Momentum-RSI: Calculates the RSI of price momentum to determine trend strength. It filters out consolidation phases by requiring a minimum value before a trade can be considered.
  2. SuperTrend Analysis: Utilizes ATR and a multiplier to identify trend reversals. A change in the SuperTrend line color indicates a shift in market sentiment.
  3. EMA Strategy: Functions as a trend qualifier. It uses an Exponential Moving Average and two adaptive trend lines to ensure the price action is moving in favor of the trade direction.

Settings

Rsi Of Momentum

  • Length Mom-Rsi: The lookback period used for the momentum calculation.
  • Mom-Rsi Limit Val: The threshold (0-100) that trend strength must exceed to allow signal generation.

SuperTrend indicator

  • ATR Length SuperTrend: The period used for calculating the Average True Range.
  • Factor SuperTrend: The multiplier applied to the ATR to set the distance of the trend line.

Ema indicator

  • Source Ema Ind: The price data source used for calculations (e.g., Close).
  • Length Ema Ind: The lookback period for the Exponential Moving Average.
  • Percent Ema Ind: The percentage offset used to create the trend qualifiers.

Settings of Strategy

  • Start/End Time of BackTest: Defines the date range for historical performance analysis.
  • Dollar Cost Per Position: The capital allocated to each individual trade.
  • Trade Direction: Option to filter for Long only, Short only, or Both.
  • Version 1/2 Toggle: Selects between dynamic ATR-based exits or static percentage-based exits.

FAQ

How do I interpret the colored lines on the chart?

The green and red lines represent the trend qualifiers from the EMA and SuperTrend components. When the price is above these markers in a bullish alignment, the tool seeks long opportunities; when below, it seeks short opportunities.

Can this be used on any timeframe?

While optimized for the 1-hour chart, the underlying principles of supply and demand allow it to be used on timeframes ranging from 1-minute for day trading to daily charts for swing trading.

How do I access The Flash-Strategy (Momentum-RSI, EMA-crossover, ATR)?

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.