OPEN-SOURCE SCRIPT
Apex Wallet - Adaptive Commodity Channel Index (CCI) & HTF Trend

Overview The Apex Wallet Commodity Channel Index (CCI) is a professional-grade momentum oscillator designed to identify cyclical trends and overbought/oversold conditions with an integrated trend-filtering engine. This script enhances the classic CCI by adding multi-timeframe trend analysis and adaptive calculation modes.
Adaptive Trading Presets The indicator automatically recalibrates its internal periods based on your selected Trading Mode:
Scalping: Uses fast-response settings (CCI 14, Signal 6, Trend 50) for lower timeframes.
Day Trading: Standard balanced settings (CCI 20, Signal 9, Trend 100).
Swing: Long-term filters (CCI 34, Signal 14, Trend 200) to capture major market waves.
Key Features:
Higher Timeframe (HTF) Trend Bias: Optional background shading based on a customizable Higher Timeframe (e.g., 1H trend while trading on 5m) to ensure you always trade in the direction of the "Big Picture".
Market Trend Coloring: The CCI Signal line dynamically changes color (Green/Red/Gray) based on local market momentum relative to its moving average.
Visual Clarity: Features standard CCI level bands (+100, 0, -100) with professional aesthetics for easy reading.
How to Use:
Select your preferred Trading Mode in the settings.
Enable HTF Background to visualize the dominant trend from a higher timeframe.
Look for CCI crosses or signal line color changes while the background confirms the overall market bias.
Adaptive Trading Presets The indicator automatically recalibrates its internal periods based on your selected Trading Mode:
Scalping: Uses fast-response settings (CCI 14, Signal 6, Trend 50) for lower timeframes.
Day Trading: Standard balanced settings (CCI 20, Signal 9, Trend 100).
Swing: Long-term filters (CCI 34, Signal 14, Trend 200) to capture major market waves.
Key Features:
Higher Timeframe (HTF) Trend Bias: Optional background shading based on a customizable Higher Timeframe (e.g., 1H trend while trading on 5m) to ensure you always trade in the direction of the "Big Picture".
Market Trend Coloring: The CCI Signal line dynamically changes color (Green/Red/Gray) based on local market momentum relative to its moving average.
Visual Clarity: Features standard CCI level bands (+100, 0, -100) with professional aesthetics for easy reading.
How to Use:
Select your preferred Trading Mode in the settings.
Enable HTF Background to visualize the dominant trend from a higher timeframe.
Look for CCI crosses or signal line color changes while the background confirms the overall market bias.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.