Skip to main content

ECCI 3TF: Multi-Timeframe CCI Indicator for TradingView

· 14 min read

If you've ever struggled to understand whether a price move is just a short-term blip or part of a larger trend, you know how frustrating it can be. I've spent countless hours flipping between timeframes, trying to piece together the bigger picture. That's exactly why the ECCI 3TF (Enhanced CCI Three Timeframes) indicator has become one of my go-to tools.

The ECCI 3TF solves a common trading problem: seeing momentum across multiple timeframes without cluttering your chart with multiple indicators. By displaying three CCI lines calculated at different period lengths, this indicator shows you whether short-term, medium-term, and long-term momentum are aligned or diverging. In my trading experience, this alignment (or lack thereof) often signals the difference between high-probability setups and traps.

What makes this indicator particularly useful is its elegant simplicity. Instead of switching between timeframes manually, you get an instant visual of momentum convergence. When all three lines point in the same direction, it's like getting a green light from three independent sources. When they disagree, it tells you to proceed with caution.

ECCI 3TF Indicator

What is the ECCI 3TF Indicator?

The ECCI 3TF (Enhanced CCI Three Timeframes) is a momentum oscillator that displays three Commodity Channel Index calculations on a single chart. Each CCI line represents a different "virtual timeframe" by using progressively longer calculation periods, giving you a multi-dimensional view of market momentum without leaving your current chart.

The indicator uses three distinct CCI calculations:

  1. CCI 20 (Short-term): Calculated with a 140-period length, representing the base timeframe
  2. CCI 140 (Medium-term): Uses a 4x multiplier (140 * 4 = 560 periods), simulating approximately 4 times the base timeframe
  3. CCI 3360 (Long-term): Uses a 24x multiplier (140 * 24 = 3360 periods), representing the macro trend perspective

Each CCI value is then smoothed using a 21-period EMA and multiplied by Euler's number (2.71828) for visual correction. This smoothing reduces noise while preserving meaningful momentum signals.

The indicator displays:

  • CCI 20 Line (Olive, thin): Fast-moving line showing immediate momentum shifts
  • CCI 140 Line (Gold, thick): Medium-term momentum, the primary signal line
  • CCI 3360 Line (White, thin): Slow-moving line representing the macro trend
  • Reference Bands: Horizontal lines at +450, 0, and -450 with filled zones

What sets ECCI 3TF apart from standard CCI is its ability to show momentum confluence across timeframes in a single glance. When all three lines are above zero and rising, you're looking at strong bullish momentum at all levels. When they diverge, it signals potential trend transitions.

How to Add ECCI 3TF to TradingView

Adding the ECCI 3TF indicator to your TradingView charts can be done quickly through Pineify's visual editor or by using the Pine Script code directly.

Using Pineify Editor

Pineify makes it simple to add and customize the ECCI 3TF without writing code. The visual interface allows you to configure all parameters with intuitive dropdown menus.

How to search for and add indicator pages in the Pineify editor

Steps to add the indicator:

  1. Visit Pineify and open the editor
  2. Click on "Add Indicator" in the indicator panel
  3. Search for "ECCI 3TF" or "CCI Three Timeframes"
  4. Configure your preferred settings for each CCI period
  5. Generate the Pine Script code and add it to TradingView

The whole process takes about 5 minutes, and you can customize colors, line widths, and band levels to match your preferences.

The Best Pine Script Generator

Using Pine Script Code

For traders who prefer working directly with code, here's the complete Pine Script v6 implementation:

//@version=6
indicator(title="ECCI 3TF", overlay=false, max_labels_count=500)

p_ta_cci_three_timeframes(series float source, simple int shortLength, simple int longLength, simple int emaSmoothing) =>
// Euler's number for visual correction
e = 2.71828

// CCI calculation for base timeframe (20 period equivalent)
lma = ta.sma(source, longLength)
lcci = (source - lma) / (0.015 * ta.dev(source, longLength))
lcciema = ta.ema(lcci, emaSmoothing) * e

// CCI calculation for 4x multiplier timeframe (140 period equivalent)
lma4 = ta.sma(source, longLength * 4)
lcci4 = (source - lma4) / (0.015 * ta.dev(source, longLength * 4))
lcciema4 = ta.ema(lcci4, emaSmoothing) * e

// CCI calculation for 24x multiplier timeframe (3360 period equivalent)
lma24 = ta.sma(source, longLength * 24)
lcci24 = (source - lma24) / (0.015 * ta.dev(source, longLength * 24))
lcciema24 = ta.ema(lcci24, emaSmoothing) * e

[lcciema, lcciema4, lcciema24]

[p_ind_1_cci20, p_ind_1_cci140, p_ind_1_cci3360] = p_ta_cci_three_timeframes(close, 20, 140, 21)

// Plots
plot(p_ind_1_cci20, "ECCI 3TF - CCI 20", color.rgb(128, 128, 0, 85), 1)
plot(p_ind_1_cci140, "ECCI 3TF - CCI 140", color.rgb(253, 216, 53, 50), 3)
plot(p_ind_1_cci3360, "ECCI 3TF - CCI 3360", color.rgb(255, 255, 255, 15), 1)
p_ind_1_cci20_bandp = hline(450, "ECCI 3TF - 450", color=#787B86, linestyle=hline.style_dashed)
p_ind_1_cci20_band0 = hline(0, "ECCI 3TF - 0", color=#787B86, linestyle=hline.style_dashed)
p_ind_1_cci20_bandn = hline(-450, "ECCI 3TF - -450", color=#787B86, linestyle=hline.style_dashed)
fill(p_ind_1_cci20_bandp, p_ind_1_cci20_band0, color=color.rgb(128, 128, 128, 97), title="ECCI 3TF - Upper Band")
fill(p_ind_1_cci20_band0, p_ind_1_cci20_bandn, color=color.rgb(128, 128, 128, 92), title="ECCI 3TF - Lower Band")

To add this to TradingView:

  1. Open TradingView and go to Pine Editor (bottom panel)
  2. Copy and paste the code above
  3. Click "Add to Chart"
  4. Adjust settings in the indicator's settings panel as needed

How to Use ECCI 3TF (Practical Trading Strategies)

After testing the ECCI 3TF across different markets and conditions, I've found several strategies that produce consistent results.

Strategy #1: Triple Alignment Entry

This is the highest-probability setup when all three CCI lines agree on direction.

Setup Conditions:

  • All three CCI lines (20, 140, 3360) are on the same side of zero
  • The lines are arranged in order (fastest to slowest or vice versa)

Entry Signals:

  • Long Entry: All three lines are above zero, CCI 20 crosses above CCI 140, and CCI 3360 is rising
  • Short Entry: All three lines are below zero, CCI 20 crosses below CCI 140, and CCI 3360 is falling

Stop-Loss Placement:

  • Place stops below the recent swing low for longs
  • Place stops above the recent swing high for shorts

Take-Profit Targets:

  • Exit when CCI 20 reaches the +450 or -450 extreme zone
  • Or exit when CCI 20 crosses back through CCI 140

Strategy #2: Divergence Between Timeframes

This strategy identifies potential reversals when short-term and long-term momentum disagree.

Setup Conditions:

  • CCI 20 and CCI 140 are moving in one direction
  • CCI 3360 is moving in the opposite direction or flat

Entry Signals:

  • Bullish Reversal: CCI 3360 is above zero (bullish macro), but CCI 20 and 140 have dropped below zero. Enter when CCI 20 crosses back above zero.
  • Bearish Reversal: CCI 3360 is below zero (bearish macro), but CCI 20 and 140 have risen above zero. Enter when CCI 20 crosses back below zero.

Stop-Loss Placement:

  • Set stops beyond the extreme of the counter-trend move

Take-Profit Targets:

  • Target the previous swing high/low
  • Scale out as CCI 20 approaches CCI 3360

Strategy #3: Extreme Zone Bounce

This strategy looks for reversals when the faster CCI lines reach extreme levels.

Setup Conditions:

  • CCI 20 has reached +450 or -450 zone
  • CCI 3360 provides context for expected direction

Entry Signals:

  • Long Entry: CCI 20 drops below -450, then reverses and crosses back above -450 while CCI 3360 is above zero or rising
  • Short Entry: CCI 20 rises above +450, then reverses and crosses back below +450 while CCI 3360 is below zero or falling

Stop-Loss Placement:

  • Place stops beyond the extreme reached during the initial move

Take-Profit Targets:

  • Target the zero line for initial profits
  • Use trailing stops for extended moves

Strategy #4: Trend Continuation with CCI 3360

The long-term CCI 3360 line acts as a trend filter for higher-probability entries.

Setup Conditions:

  • CCI 3360 is clearly trending (consistently above or below zero)
  • Price is in an established trend

Entry Signals:

  • Long Entry: CCI 3360 is above zero, CCI 20 pulls back to zero or slightly below, then bounces
  • Short Entry: CCI 3360 is below zero, CCI 20 rallies to zero or slightly above, then drops

This strategy works particularly well on daily and 4-hour timeframes where the CCI 3360 provides meaningful trend context.

Best ECCI 3TF Settings

The default settings work well for most situations, but different trading styles benefit from adjusted parameters.

Scalping (1-5 Minute Charts)

ParameterRecommended ValueReason
Long Length70Faster base calculation
EMA Smoothing13Quicker response time
Band Levels±300Adjusted for faster signals

For scalping, reduce the long length to make all three CCI lines more responsive. The trade-off is more noise, so combine with price action confirmation.

Day Trading (15-60 Minute Charts)

ParameterRecommended ValueReason
Long Length140Standard sensitivity
EMA Smoothing21Balanced smoothing
Band Levels±450Default extreme zones

The default settings are designed for this timeframe range. They provide a good balance between signal quality and responsiveness.

Swing Trading (4H-Daily Charts)

ParameterRecommended ValueReason
Long Length200Reduced noise on higher timeframes
EMA Smoothing34Smoother trend identification
Band Levels±500Extended extreme levels

Swing traders need fewer but higher-quality signals. Longer periods filter out intraday noise and focus on meaningful momentum shifts.

Position Trading (Weekly Charts)

ParameterRecommended ValueReason
Long Length280Long-term momentum focus
EMA Smoothing55Significant trend smoothing
Band Levels±600Major extreme levels

For position traders, the ECCI 3TF becomes a macro momentum gauge, helping identify major market cycles.

Advanced ECCI 3TF Techniques

Using the Visual Hierarchy

The three lines create a natural hierarchy that tells a story:

  1. CCI 3360 (White): The foundation - shows macro trend direction
  2. CCI 140 (Gold): The primary signal line - confirms intermediate momentum
  3. CCI 20 (Olive): The trigger - times precise entries

When analyzing, start from the slowest (CCI 3360) and work your way to the fastest. This top-down approach keeps you aligned with the larger trend.

Combining with Other Indicators

The ECCI 3TF works well with:

Price Action: Use the indicator for momentum confirmation while price action provides entry triggers. When price breaks a key level and all three CCI lines confirm, the probability increases significantly.

Moving Averages: When price is above the 200 EMA and all three CCI lines are positive, you have strong confluence for bullish trades.

Volume: High volume during CCI line crossovers confirms signal strength. Low volume crossovers are often false moves.

Support/Resistance: CCI divergence (between timeframes) at key levels often signals major turning points.

Risk Management Considerations

Even with multi-timeframe confirmation, not every trade will work. Here are my risk management rules:

  • Never risk more than 1-2% of capital per trade
  • Wait for at least two of the three CCI lines to confirm before entering
  • Avoid trading when CCI 3360 is flat and near zero (no clear macro trend)
  • Use the CCI 140 line as a trailing stop reference

Common Pitfalls and How to Avoid Them

Ignoring the Macro CCI: The CCI 3360 line moves slowly but provides crucial context. Trading against it often leads to poor results.

Over-trading Crossovers: Not every CCI 20/140 crossover is tradeable. Look for crossovers that occur while CCI 3360 supports the direction.

Ignoring Extreme Readings: When CCI 20 reaches ±450, the market is often overextended. Don't chase entries at these levels; wait for mean reversion setups.

Forcing Trades in Choppy Markets: When all three lines are tangled near zero, the market lacks clear direction. Wait for separation.

How to Backtest ECCI 3TF

Before trading any indicator with real money, backtesting is essential. The Pineify Editor allows you to create complete trading strategies based on the ECCI 3TF with specific entry and exit conditions.

Building a Backtest Strategy

Using Pineify, you can configure:

Entry Conditions:

  • CCI line crossovers (20 crossing 140, etc.)
  • All lines above/below zero
  • Lines reaching extreme zones

Exit Conditions:

  • Opposite crossover signal
  • Take profit at specific CCI levels
  • Stop loss based on percentage or price levels

Risk Management:

  • Position sizing rules
  • Maximum drawdown limits
  • Trailing stop settings

The strategy tester in TradingView shows you historical performance. Pay attention to:

  • Win rate percentage
  • Average profit/loss ratio
  • Maximum drawdown
  • Number of trades

I recommend testing on at least 100 trades across different market conditions before considering live trading. If the strategy doesn't show positive expectancy in backtesting, it likely won't work in live markets.

Position Sizing Recommendations

Based on backtest results, position size using:

  • 1% risk per trade for strategies with 40-50% win rate
  • 1.5-2% risk per trade for strategies with 50-60% win rate
  • Scale position size based on signal quality (triple alignment = higher confidence)

FAQs

What's the difference between ECCI 3TF and regular CCI?

Regular CCI shows momentum for a single calculation period. ECCI 3TF displays three CCI calculations simultaneously, each representing a different "virtual timeframe." This allows you to see short-term, medium-term, and long-term momentum on a single chart without switching timeframes. The EMA smoothing also reduces noise compared to raw CCI values.

Why does the indicator use Euler's number (2.71828)?

The multiplication by Euler's number (e ≈ 2.71828) is a visual correction factor. It scales the EMA-smoothed CCI values to make them more visually comparable to standard CCI readings. Without this adjustment, the smoothed values would appear compressed and harder to interpret relative to traditional CCI levels.

What are the best ECCI 3TF settings for cryptocurrency trading?

For volatile crypto markets, I recommend using slightly adjusted settings: Long Length of 100 (instead of 140), EMA Smoothing of 21, and Band Levels of ±350. Crypto moves faster, so reducing the base period helps the indicator respond more quickly while still maintaining the multi-timeframe relationship.

Can I use ECCI 3TF as my only indicator?

While ECCI 3TF provides multi-timeframe momentum analysis, I recommend using it alongside price action and at least one other confirmation tool. The indicator excels at showing momentum alignment but doesn't account for support/resistance levels or volume. Think of it as one important voice in your trading decision process.

How do I interpret when the three lines are tangled together?

When all three CCI lines cluster near zero and cross each other frequently, the market lacks clear directional momentum. This typically occurs during consolidation phases. It's generally best to avoid trading during these periods and wait for the lines to separate, with the CCI 3360 providing clear directional bias.

What markets work best with ECCI 3TF?

The ECCI 3TF works across all markets including stocks, forex, crypto, and commodities. It performs best in trending markets where momentum is clearly directional. The indicator is particularly useful on markets with good liquidity where the multi-timeframe momentum relationships are most reliable.

Key Takeaways

  • ECCI 3TF displays three CCI calculations (periods simulating 1x, 4x, and 24x timeframes) on a single chart
  • All three lines agreeing provides the highest-probability trading signals
  • The CCI 3360 (long-term) line acts as a trend filter for trade direction
  • Default settings work well for day trading; adjust for faster or slower trading styles
  • Always combine with proper risk management and wait for confluence before entering trades

The ECCI 3TF won't guarantee profitable trades, but it provides a powerful lens for viewing momentum across multiple timeframes simultaneously. Test it on a demo account first, find the settings that match your trading style, and always maintain strict risk management regardless of signal quality.

The Best Pine Script Generator