PROTECTED SOURCE SCRIPT

EMA CPR Double Candle Strategy

82
# EMA CPR Double Candle Strategy

## Strategy Overview

The **EMA CPR Double Candle Strategy** is a comprehensive technical analysis trading system that combines multiple indicators to identify high-probability entry points in trending markets. This strategy uses a systematic approach to filter trades based on trend direction, momentum, trend strength, and support/resistance levels.

## Core Components

### 1. **EMA (Exponential Moving Average) System**
- **EMA1** (Fast EMA - Default: 20 periods)
- **EMA2** (Slow EMA - Default: 50 periods)
- **Purpose**: Determines overall trend direction and provides dynamic support/resistance
- **Trend Identification**:
- Bullish when EMA1 > EMA2
- Bearish when EMA1 < EMA2

### 2. **CPR (Central Pivot Range)**
- **Components**: Pivot Point, Top Central (TC), Bottom Central (BC)
- **Calculation**: Based on previous day's High, Low, Close
- **Purpose**: Acts as support/resistance filter
- **Logic**:
- Long entries: CPR should be below current price (no resistance above)
- Short entries: CPR should be above current price (no support below)

### 3. **RSI (Relative Strength Index)**
- **Default Settings**: 14 periods, 30/70 levels
- **Purpose**: Momentum filter to avoid extreme overbought/oversold conditions
- **Logic**: RSI should be between oversold and overbought levels for both long and short entries

### 4. **ADX (Average Directional Index)**
- **Default Settings**: 14 periods, 25 threshold
- **Purpose**: Trend strength filter
- **Logic**: ADX must be above threshold to ensure strong trending conditions

## Entry Logic

### Bullish Entry Conditions
1. **Trend Confirmation**: EMA1 crossed above EMA2 (and remains above)
2. **Pattern Setup**:
- A red candle touches EMA1 (at selected candle position)
- Current candle is green and closes above EMA1
3. **CPR Filter** (if enabled): All CPR levels (TC, Pivot, BC) below current price
4. **RSI Filter** (if enabled): RSI between oversold and overbought levels
5. **ADX Filter** (if enabled): ADX above threshold (strong trend)

### Bearish Entry Conditions
1. **Trend Confirmation**: EMA1 crossed below EMA2 (and remains below)
2. **Pattern Setup**:
- A green candle touches EMA1 (at selected candle position)
- Current candle is red and closes below EMA1
3. **CPR Filter** (if enabled): All CPR levels (TC, Pivot, BC) above current price
4. **RSI Filter** (if enabled): RSI between oversold and overbought levels
5. **ADX Filter** (if enabled): ADX above threshold (strong trend)

## Risk Management

### Stop Loss
- **Long Positions**: Stop loss at EMA2 level
- **Short Positions**: Stop loss at EMA2 level
- **Logic**: Uses slower EMA as dynamic stop loss

### Take Profit
- **Calculation**: Risk-Reward ratio based (default 1:2)
- **Formula**: Risk × Risk-Reward Ratio
- **Example**: If risk is 10 points, TP is 20 points away

## Customizable Parameters

### EMA Settings
- **EMA1 Length**: Fast EMA period (default: 20)
- **EMA2 Length**: Slow EMA period (default: 50)
- **EMA1 Source**: Price source (close, open, high, low, hlc3, etc.)
- **EMA2 Source**: Price source (close, open, high, low, hlc3, etc.)

### Entry Settings
- **Entry Candle Position**: Which candle in sequence to use (1-5)
- 1 = First candle touching EMA
- 2 = Second candle (default)
- 3+ = Third candle and beyond

### CPR Settings
- **Show CPR Lines**: Display CPR levels on chart
- **Use CPR Filter**: Enable/disable CPR filtering
- **CPR Lookback**: Days to look back for CPR calculation

### RSI Settings
- **Use RSI Filter**: Enable/disable RSI filtering
- **RSI Length**: Period for RSI calculation (default: 14)
- **RSI Source**: Price source for RSI
- **Oversold Level**: Lower threshold (default: 30)
- **Overbought Level**: Upper threshold (default: 70)

### ADX Settings
- **Use ADX Filter**: Enable/disable ADX filtering
- **ADX Length**: Period for ADX calculation (default: 14)
- **ADX Threshold**: Minimum value for strong trend (default: 25)

### Risk Management
- **Risk-Reward Ratio**: Target profit vs risk ratio (default: 2.0)

## Strategy Advantages

### 1. **Multi-Layered Filtering**
- Combines trend, momentum, and volatility filters
- Reduces false signals significantly
- Adaptable to different market conditions

### 2. **Flexibility**
- Each filter can be independently enabled/disabled
- Customizable parameters for different instruments
- Adaptable entry candle positions

### 3. **Clear Risk Management**
- Defined stop loss and take profit levels
- Risk-reward ratio based position sizing
- Dynamic stop loss using EMA2

### 4. **Visual Clarity**
- Clear entry signals with triangular markers
- Optional indicator displays (RSI, ADX, CPR)
- Background color coding for trend direction
- Detailed debug labels showing all conditions

## Best Practices

### 1. **Market Conditions**
- Works best in trending markets (confirmed by ADX)
- Avoid during high volatility news events
- Consider market session timing

### 2. **Timeframe Selection**
- Higher timeframes (1H, 4H, Daily) for swing trading
- Lower timeframes (15M, 30M) for intraday trading
- Adjust EMA periods based on timeframe

### 3. **Parameter Optimization**
- Test different EMA combinations (8/21, 13/34, 20/50)
- Adjust RSI levels based on market volatility
- Optimize ADX threshold for different instruments

### 4. **Risk Management**
- Never risk more than 1-2% per trade
- Use proper position sizing
- Consider correlation between trades

## Common Use Cases

### 1. **Forex Trading**
- Major pairs during trending sessions
- Adjust for different volatility levels
- Consider economic news impact

### 2. **Stock Trading**
- Individual stocks with good liquidity
- Sector rotation strategies
- Earnings season considerations

### 3. **Cryptocurrency**
- Major cryptocurrencies with high volume
- Adjust for 24/7 market conditions
- Consider whale movements

### 4. **Index Trading**
- S&P 500, NASDAQ, DAX indices
- During market hours with good volume
- Economic data release timing

## Limitations

### 1. **Trending Markets Only**
- Performs poorly in ranging/sideways markets
- Requires ADX confirmation for effectiveness

### 2. **Lagging Nature**
- EMA-based signals can be delayed
- May miss very fast market moves

### 3. **Multiple Filters**
- Fewer signals due to strict conditions
- May miss some profitable opportunities

### 4. **Market Gaps**
- Stop losses may not be effective during gaps
- Consider gap risk in position sizing

## Conclusion

The EMA CPR Double Candle Strategy is a sophisticated trading system that combines multiple technical indicators to identify high-probability trading opportunities. Its strength lies in its comprehensive filtering system that helps traders avoid false signals while maintaining flexibility through customizable parameters. The strategy is particularly effective in trending markets and provides clear risk management rules for consistent trading performance.

**Remember**: No strategy guarantees profits. Always backtest thoroughly, use proper risk management, and consider market conditions before implementing any trading strategy.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.