Commodity Channel Index CCI + EMA strategy by Burdiga84
By Burdiga84
Performance Metrics
- Author: Burdiga84
- Symbol: ICMARKETS:GBPJPY
- Timeframe: 15 minutes
- Net P&L: +6,592.66 JPY (+0.66%)
- Win Rate: 71.9%
- Profit Factor: 2.765
- Max Drawdown: 946.38 JPY (0.09%)
- Total Trades: 32
Description
================================================================================COMMODITY CHANNEL INDEX CCI + EMA STRATEGY - STRATEGY GUIDE 📊================================================================================💡 COLLABORATION & SUPPORT---------------------------If you want to collaborate, have an idea for a strategy, or need help writing or customizing code, send an email to burdytrader@gmail.com or send me a message. Suggestions, ideas, and comments are always welcome! 🤝I also develop automated trading codes for other trading platforms including:- CTrader (C#)- MetaTrader 4 (MQL4)- MetaTrader 5 (MQL5)If you need a strategy converted or developed for any of these platforms, feel free to contact me!================================================================================⚠️ IMPORTANT: INSTRUMENT SELECTION 📈-------------------------------------This strategy performs BEST with currency pairs (forex). The CCI indicator works particularly well in the forex market due to the nature of currency movements and the effectiveness of the CCI in identifying overbought and oversold conditions in trending markets.Why Currency Pairs? 🎯- CCI is highly effective in identifying reversals in forex markets- Currency pairs show clear overbought/oversold patterns- EMA filter (50/200) aligns well with major forex trends- High liquidity ensures reliable signal executionPerformance Highlights:In specific currency pairs, when properly configured, this strategy can achieve:- Profit Factor: Over 2.0- Win Rate: Up to 70%- Particularly effective pairs: USDCAD, EURUSD, GBPJPYWhile the strategy can work with other instruments (stocks, indices, commodities), currency pairs provide the most consistent and reliable results. For optimal performance, focus on major forex pairs with good liquidity and clear trending characteristics.================================================================================WHAT DOES THIS STRATEGY DO? 🎯---------------------------This strategy combines the Commodity Channel Index (CCI) with Exponential Moving Averages (EMA) to identify high-probability trading opportunities. The strategy uses CCI crossovers with a smoothing moving average and filters signals using EMA trend confirmation. The strategy automatically enters trades when CCI crosses the smoothing MA in specific zones, indicating potential trend reversals or continuations.HOW IT WORKS? ⚙️---------------1. CCI CALCULATION 📈 The strategy calculates the Commodity Channel Index using: - CCI = (Price - SMA(Price, length)) / (0.015 × Deviation(Price, length)) - Default length: 20 periods - Source: HLC3 (typical price) The CCI shows: - Values above +100 = Overbought conditions - Values below -100 = Oversold conditions - Values around 0 = Neutral conditions2. SMOOTHING MOVING AVERAGE 📊 A moving average is applied to the CCI to smooth out fluctuations: - Types available: SMA, EMA, SMMA (RMA), WMA, VWMA - Default: SMA with length 14 - Can be disabled (set to "None") This smoothed line acts as a reference for crossover signals.3. EMA TREND FILTER 🎯 Two EMAs are calculated on the CCI: - EMA 50 (fast EMA) - EMA 200 (slow EMA) When the EMA filter is enabled: - LONG signals only occur when EMA50 > EMA200 (uptrend confirmation) - SHORT signals only occur when EMA50 EMA200 (if filter enabled) - No existing positions (or close opposite positions first) SHORT ENTRY (Sell Signal): - CCI crosses BELOW the Smoothing MA (crossunder) - CCI is between Middle Level (0) and Upper Level (+100) - EMA Filter: EMA50 EMA200, SHORT only if EMA50 2.0 and Win Rate up to 70%- EURUSD: Excellent performance with consistent signals- GBPJPY: Strong results with proper EMA filter configurationThese pairs have shown the best historical performance due to:- Clear trending characteristics- Good response to CCI overbought/oversold levels- Strong alignment with EMA 50/200 trend filter- High liquidity ensuring reliable executionWhen trading these pairs, use the default settings or slightly adjusted parameters based on the pair's volatility. Always backtest on historical data before using real money to find the optimal configuration for each specific pair.PRACTICAL EXAMPLE 📝--------------------Scenario: LONG Entry on EUR/USD1. Market conditions: - Price: 1.1000 - CCI: -80 (in oversold zone) - Smoothing MA: -90 - CCI crosses above Smoothing MA (crossover occurs) - EMA50: -50, EMA200: -70 (EMA50 > EMA200, uptrend confirmed)2. Strategy checks conditions: ✓ Smoothing MA enabled: Yes ✓ Crossover: Yes (CCI crosses above MA) ✓ CCI in range: Yes (-100 EMA200) ✓ No existing position: Yes3. Strategy opens position: - Direction: LONG (Buy) - Entry: 1.1000 (current close) - Take Profit: 1.1110 (1.0% above entry) - Stop Loss: 1.0945 (0.5% below entry) - Risk/Reward: 2:14. Outcome scenarios: - If price rises to 1.1110 → Take Profit hit (profit) - If price falls to 1.0945 → Stop Loss hit (loss limited)IMPORTANT NOTE ⚠️-----------------This strategy is a technical analysis tool based on CCI and EMA indicators. Like all trading strategies, it does NOT guarantee profits. Trading involves significant risks and you can lose money, including your entire investment. Past performance does not guarantee future results.Always:- Use appropriate risk management- Never risk more than you can afford to lose- Test the strategy on historical data (backtesting) before using real money- Start with small position sizes or paper trading- Understand that no strategy works 100% of the time- Consider market conditions, news events, and other factors- Keep a trading journal to learn and improveThe author and contributors are NOT responsible for any losses incurred from using this strategy. Trading decisions are your own responsibility. Profits are NOT guaranteed, and losses are possible.LICENSE 📄----------This code is open source and available for modification. You are free to use, modify, and distribute this strategy. If you republish or share a modified version, please kindly mention the original author.================================================================================