Daytrade strategy RSI CCI EMA 4/8
Aug 27, 2020

The Daytrade strategy RSI CCI EMA 4/8 indicator provides a comprehensive day trading framework that combines trend-following moving average crossovers with momentum confirmation from RSI and CCI oscillators.
Usage
The Usage section describes how the script can be used to identify high-probability entry points during intraday market sessions. Users should monitor the interaction between short-term Exponential Moving Averages (EMA) and secondary momentum filters.
- Bullish Entries: Occur when the EMA 4 crosses above the EMA 8, provided the RSI is above 65 and the CCI is above 0.
- Bearish Entries: Occur when the EMA 4 crosses below the EMA 8, provided the RSI is below 35 and the CCI is below 0.
The strategy includes a built-in exit mechanism based on a fixed tick-based system for Take Profit (TP) and Stop Loss (SL), allowing traders to manage risk consistently across different assets.
Details
The script executes a multi-layered verification process to reduce false signals often found in moving average crossovers. It utilizes a fast 4-period EMA and a slow 8-period EMA to detect immediate trend shifts.
To ensure the trend has sufficient strength, the tool incorporates a customized RSI (RSIOMA) and a Woodie-style Commodity Channel Index (CCI). The RSIOMA calculation applies an EMA to the source price before processing the Relative Strength Index formula, resulting in a smoother momentum line. The CCI serves as a final filter, ensuring that the momentum direction aligns with the EMA crossover.
Settings
Moving Averages
- Length MA 4: Sets the period for the fast exponential moving average.
- Source MA 4: Determines the price data used for the fast EMA calculation (e.g., Close, Open, HL2).
- Offset MA 4: Shifts the fast EMA forward or backward in time.
- Length MA 8: Sets the period for the slow exponential moving average.
- Source MA 8: Determines the price data used for the slow EMA calculation.
- Offset MA 8: Shifts the slow EMA forward or backward in time.
Oscillators
- RSI Length: Defines the lookback period for the smoothed RSI calculation.
- CCI Turbo Length: The period for the fast CCI component.
- CCI 14 Length: The period for the standard CCI component used for trend confirmation.
Exit Levels
- A Value Multiplier: A coefficient used to calculate dynamic stop levels based on the instrument's minimum tick size.
- B Value Multiplier: A coefficient used to calculate dynamic profit levels based on the instrument's minimum tick size.
Strategy Exits
- Strategy TP (ticks): The target profit distance measured in ticks.
- Strategy SL (ticks): The stop loss distance measured in ticks.
FAQ
How do I interpret the EMA crossover? The crossover acts as the primary trigger; a green EMA 4 crossing above a red EMA 8 suggests a potential long entry, while a cross below suggests a potential short entry, provided oscillator conditions are met.
Can I use this on any timeframe? While designed for day trading (lower timeframes), the logic can be applied to any period. However, users should adjust the TP and SL tick values to match the volatility of the specific timeframe.
How do I get access to this tool? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.