CCI Signal Trend Over Scanner All PairTF Dashboard
- インディケータ
- バージョン: 1.0
- アクティベーション: 5
CCI Signal Trend Overbought Oversold Scanner All Pair TimeFrame Dashboard
CCI Multi Timeframe Scanner Dashboard is a technical analysis utility and multi-symbol market scanner developed for MetaTrader 4. The indicator monitors multiple currency pairs and timeframes simultaneously using Commodity Channel Index (CCI) calculations combined with an optional multi-indicator confirmation suite and Average True Range (ATR) volatility projections.
1. Operating Principle and Signal Validity
- Core Calculation: Evaluates price momentum and cyclical turns using standard MT4 Commodity Channel Index (CCI) buffers across user-defined symbols and timeframes without interfering with manual chart objects or existing order execution.
- Closed-Bar Evaluation (Non-Repainting Signals): Signal scanning begins strictly from the first completed bar (Bar 1) backward up to InpLookback. Because all entry and filter evaluations rely exclusively on closed candlestick data rather than the active forming bar (Bar 0), confirmed signals remain fixed at their exact historical timestamp and price level and do not repaint or shift after candle close.
- Three Selectable Detection Modes:
* Mode 1 (OB/OS Cross - ENTRY_OB_OS_CROSS): Identifies cyclical momentum reversals when the CCI line crosses back above the oversold threshold (default -100.0) for BUY, or crosses back below the overbought threshold (default +100.0) for SELL.
* Mode 2 (Zero Cross - ENTRY_ZERO_CROSS): Identifies directional momentum shifts when the CCI line crosses above the 0.0 equilibrium baseline for BUY, or crosses below 0.0 for SELL.
* Mode 3 (Trend CCI Dual - ENTRY_TREND_CCI): Combines a long-period baseline CCI (default 170) with a short-period trigger CCI (default 34). BUY triggers when the trigger CCI crosses above 0.0 while the baseline CCI is at or above 0.0; SELL triggers when the trigger CCI crosses below 0.0 while the baseline CCI is below 0.0.
- Sequential Search Behavior: During each scan cycle, the engine iterates backward from Bar 1 to the maximum lookback bar. If a raw CCI crossover occurs on a closed bar, it is tested against all active confirmation filters; if it fails validation, scanning stops for that symbol/timeframe slot so outdated signals do not override current market structure.
- Optional Multi-Filter Confirmation: Before a signal appears on the dashboard or triggers an alert, it can be validated against up to 15 modular technical filters (Moving Averages, ADX, RSI, Ichimoku, MACD, Parabolic SAR, Heiken Ashi, Secondary CCI, RVI, Support/Resistance, Fibonacci zones, and Supertrend). All enabled filters must align simultaneously with the signal direction.
2. Key Technical Features
- Multi-Symbol and Multi-Timeframe Matrix: Scans custom comma-separated symbol lists or active Market Watch instruments across selected timeframes (M1 to MN1) within a single chart window.
- ATR-Based Volatility Levels: Computes reference entry prices alongside Stop Loss (SL) and two Take Profit targets (TP1 and TP2) derived from ATR multiples and Risk-to-Reward ratios. If broker ATR data is unavailable on a specific bar, a candle-range fallback calculation ensures uninterrupted level generation.
- Interactive Graphical User Interface (GUI): Draggable dashboard panel with persistent screen coordinates and minimize/maximize state saved across timeframe switches via terminal global variables. Includes UI scaling (70% to 180%), manual REFRESH button, CLEAR button, sortable table headers (PAIR, TF, DIR, TIME), and one-click chart switching via the OPEN button.
- Visual Chart Projection: Plots directional Wingdings arrows and horizontal projection lines (Entry, SL, TP1, TP2) with text labels on the active chart whenever a valid signal exists on the current symbol and timeframe.
- Multi-Channel Alert System: Supports MetaTrader pop-up alert windows, custom .wav audio alerts, mobile push notifications via MetaQuotes ID, and SMTP email notifications with configurable subject lines and duplicate-alert filtering.
3. GUI Table Structure, Color Legend, and Resource Management
- Table Columns: PAIR shows the scanned symbol; TF shows the timeframe; DIR shows signal direction (BUY or SELL); TIME shows the server timestamp of the signal candle; ENTRY displays the signal bar close price; SL displays the ATR-calculated Stop Loss level; TP 1 and TP 2 display Risk-to-Reward targets; CCI displays the exact CCI reading on the signal candle; AGE shows elapsed time since signal generation (in seconds, minutes, hours, or days); OPEN loads that symbol and timeframe onto the active chart.
- Panel Color Indicators: Green values indicate bullish (BUY) signals and Take Profit reference levels; red values indicate bearish (SELL) signals and Stop Loss reference levels; blue highlights indicate active entry levels, sorted header indicators, and primary interface accents; muted grey text indicates inactive rows, column hints, or neutral status information.
- Header Controls and Tooltips: Dragging the title bar moves the panel; clicking MIN collapses the table into a compact status bar (MAX restores full view); clicking REFRESH reloads Market Watch symbols, timeframes, and filter buffers; clicking CLEAR removes dashboard objects; hovering over any signal row displays a tooltip with full price coordinates.
- CPU and Memory Efficiency: Unlike tick-driven scanners that recalculate on every price quote, this indicator executes scans on a configurable timer interval (minimum 3 seconds) and restricts historical bar copying via InpBarsCopy. Keep InpMaxSymbols around 12-20 pairs and avoid running multiple instances simultaneously on standard hardware.
4. Operation and Setup Recommendations
- Instruments: Applicable to liquid Forex pairs (EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURJPY, GBPJPY) and metals (XAUUSD). When disabling InpUseWatch, ensure custom symbol names in InpSymbols match your broker's exact suffix (e.g., EURUSD.m or EURUSDpro).
- Timeframes: Supports all standard MT4 timeframes (M1 to MN1). M5 to M30 are suited for intraday momentum scanning, while H1, H4, and D1 are suited for swing analysis.
- Account and Broker Environment: Compatible with standard, ECN, Hedging, and Netting MT4 accounts. Closed-bar evaluation avoids sensitivity to minor tick latency, though standard spread awareness is advised when setting ATR Stop Loss multipliers on lower timeframes.
- Historical Data Requirement: Ensure at least 250 bars of historical data are loaded in MetaTrader 4 for all scanned symbols and timeframes so long-period baselines and volatility buffers initialize properly without empty values.
5. Input Parameters Documentation
Core Entry Method Selection:
- InpEntryMode (Default: ENTRY_OB_OS_CROSS) -> CCI signal detection mode (0 = OB/OS Cross, 1 = Zero Cross, 2 = Trend CCI).
- InpDirection (Default: 0) -> Signal direction filter (0 = Both BUY and SELL, 1 = BUY only, 2 = SELL only).
- InpLookback (Default: 50) -> Max closed bars backward to search for the most recent valid signal.
- CCI_Source (Default: PRICE_TYPICAL) -> Applied price constant used for CCI calculations.
Mode 1 and Mode 2 Single CCI Settings:
- CCI_Entry_Period (Default: 14) -> Calculation period in bars for single CCI modes.
- OverboughtLevel (Default: 100.0) -> Upper threshold level for OB/OS reversal detection.
- OversoldLevel (Default: -100.0) -> Lower threshold level for OB/OS reversal detection.
Mode 3 Trend CCI (Dual) Settings:
- TrendPeriod (Default: 170) -> Baseline CCI period in bars used to determine overall trend bias.
- EntryPeriod (Default: 34) -> Trigger CCI period in bars used for zero-line crossover signals.
Filter 1 - RSI Cross Filter:
- Use_RSI_Cross_Filter (Default: false) -> Enables RSI overbought/oversold crossover confirmation.
- RSI_Length (Default: 14) -> RSI calculation period in bars.
- RSI_Price_Source (Default: PRICE_CLOSE) -> Applied price used for RSI calculation.
- RSI_Oversold (Default: 30.0) -> Oversold threshold level for bullish RSI confirmation.
- RSI_Overbought (Default: 70.0) -> Overbought threshold level for bearish RSI confirmation.
Filter 2 - ADX Trend Strength Filter:
- Use_ADX_Filter (Default: false) -> Enables minimum trend strength validation via ADX.
- ADX_Period (Default: 10) -> ADX calculation period in bars.
- ADX_Min_Level (Default: 20.0) -> Minimum ADX main line value required to validate a signal.
Filter 3 - Single Moving Average Filter:
- Use_MA_Filter (Default: false) -> Enables price position filter relative to a single Moving Average.
- MA_Period (Default: 50) -> Moving Average averaging period in bars.
- MA_Method (Default: MODE_SMA) -> Smoothing method (SMA, EMA, SMMA, LWMA).
- MA_Shift (Default: 0) -> Horizontal shift of the Moving Average in bars.
Filter 4 - Ichimoku Senkou Span B Filter:
- Use_Ichimoku_Filter (Default: false) -> Enables price filter relative to Ichimoku Senkou Span B.
- Ichimoku_Tenkan (Default: 9) -> Tenkan-sen calculation period in bars.
- Ichimoku_Kijun (Default: 26) -> Kijun-sen calculation period in bars.
- Ichimoku_SenkouB (Default: 52) -> Senkou Span B calculation period in bars.
Filter 5 - RSI 75 Momentum Filter:
- Use_RSI75_Filter (Default: false) -> Enables long-period RSI 50.0 midline directional filter.
- RSI_Filter_Period (Default: 75) -> Calculation period in bars for the midline RSI filter.
Filter 6 - Double Moving Average Filter:
- Use_DoubleMA_Filter (Default: false) -> Enables trend alignment between fast and slow Moving Averages.
- MA_A_Period (Default: 30) -> Fast Moving Average period in bars.
- MA_A_Method (Default: MODE_EMA) -> Smoothing method for fast Moving Average.
- MA_A_Applied (Default: PRICE_CLOSE) -> Applied price for fast Moving Average.
- MA_A_Shift (Default: 0) -> Horizontal shift in bars for fast Moving Average.
- MA_B_Period (Default: 140) -> Slow Moving Average period in bars.
- MA_B_Method (Default: MODE_EMA) -> Smoothing method for slow Moving Average.
- MA_B_Applied (Default: PRICE_CLOSE) -> Applied price for slow Moving Average.
- MA_B_Shift (Default: 0) -> Horizontal shift in bars for slow Moving Average.
Filter 7 - Awesome Oscillator (AO) Filter:
- Use_AO_Filter (Default: false) -> Enables Awesome Oscillator confirmation rules.
- Use_AO_Volume_Filter (Default: false) -> Requires AO value to exceed minimum magnitude thresholds.
- AO_Buy_Min (Default: 4.0) -> Minimum AO value for BUY signals when magnitude filter is active.
- AO_Sell_Max (Default: -4.0) -> Maximum AO value for SELL signals when magnitude filter is active.
- Use_AO_Color_Filter (Default: false) -> Requires AO histogram bar to increase for BUY or decrease for SELL.
- Use_AO_Zero_Filter (Default: false) -> Requires AO histogram to be above 0.0 for BUY or below 0.0 for SELL.
Filter 8 - Parabolic SAR Filter:
- Use_SAR_Filter (Default: false) -> Enables Parabolic SAR directional alignment.
- SAR_Step (Default: 0.02) -> Acceleration factor step increment.
- SAR_Maximum (Default: 0.2) -> Maximum acceleration factor.
Filter 9 - Heiken Ashi Filter:
- Use_HeikenAshi_Filter (Default: false) -> Enables smoothed Heiken Ashi candle body direction filter.
Filter 10 - CCI Trend Filter:
- Use_CCI_Filter (Default: false) -> Enables secondary CCI zero-line trend confirmation.
- CCI_Period (Default: 50) -> Calculation period in bars for the CCI trend filter.
- CCI_Applied (Default: PRICE_CLOSE) -> Applied price for the CCI trend filter.
Filter 11 - CCI Overbought/Oversold Filter:
- Use_CCI_OBOS_Filter (Default: false) -> Enables secondary CCI extreme level confirmation.
- CCI_OBOS_Period (Default: 14) -> Calculation period in bars for the CCI OB/OS filter.
- CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Applied price for the CCI OB/OS filter.
- CCI_Overbought (Default: 100.0) -> Upper threshold level for the secondary CCI filter.
- CCI_Oversold (Default: -100.0) -> Lower threshold level for the secondary CCI filter.
Filter 12 - Relative Vigor Index (RVI) Filters:
- Use_RVI_Filter (Default: false) -> Enables RVI zero-line trend filtering.
- RVI_Period (Default: 75) -> Calculation period in bars for the RVI trend filter.
- Use_RVI_Signal_Filter (Default: false) -> Enables RVI main line vs. signal line crossover filter.
- RVI_Signal_Period (Default: 20) -> Calculation period in bars for the RVI signal filter.
Filter 13 - MACD Filters:
- Use_MACD_Filter (Default: false) -> Enables MACD histogram polarity confirmation.
- MACD_FastEMA (Default: 12) -> Fast EMA period in bars.
- MACD_SlowEMA (Default: 26) -> Slow EMA period in bars.
- MACD_SignalSMA (Default: 9) -> Signal line SMA period in bars.
- MACD_Applied (Default: PRICE_CLOSE) -> Applied price for MACD calculation.
- Use_MACD_Zero_Filter (Default: false) -> Enables MACD main line position relative to the 0.0 baseline.
Filter 14 - Support/Resistance and Fibonacci Filters:
- Use_SR_Filter (Default: false) -> Enables price proximity check near recent swing support/resistance.
- SR_Period (Default: 50) -> Lookback period in bars for swing high and low boundaries.
- SR_Zone_Points (Default: 80) -> Tolerance zone width in broker points around S/R levels.
- Use_Fib_Filter (Default: false) -> Enables price retracement check between two Fibonacci ratios.
- Fib_Level_1 (Default: 0.382) -> First Fibonacci retracement ratio boundary.
- Fib_Level_2 (Default: 0.618) -> Second Fibonacci retracement ratio boundary.
- ZigZag_Depth (Default: 12) -> Depth parameter in bars for internal swing point detection.
- ZigZag_Deviation (Default: 5) -> Minimum price deviation in points for swing validation.
- ZigZag_Backstep (Default: 3) -> Minimum bar separation between swing points.
Filter 15 - Supertrend Filter:
- Use_Supertrend_Filter (Default: false) -> Enables ATR-based Supertrend directional confirmation.
- ST_AtrPeriod (Default: 10) -> ATR period in bars for Supertrend calculation.
- ST_Factor (Default: 3.0) -> ATR multiplier factor for Supertrend band width.
ATR Stop Loss and Take Profit Settings:
- InpATRPeriod (Default: 14) -> ATR calculation period in bars for volatility measurement.
- InpATRMultSL (Default: 1.5) -> ATR multiplier for Stop Loss distance.
- InpTP1_RR (Default: 1.0) -> Risk-to-Reward multiplier for Take Profit 1 relative to Stop Loss.
- InpTP2_RR (Default: 2.0) -> Risk-to-Reward multiplier for Take Profit 2 relative to Stop Loss.
Scanner Settings:
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD") -> Comma-separated symbols when Market Watch mode is off.
- InpTimeframes (Default: "M5,M15,M30,H1,H4,D1") -> Comma-separated timeframes to scan.
- InpUseWatch (Default: true) -> Uses active Market Watch symbols instead of manual list.
- InpMaxSymbols (Default: 12) -> Maximum number of symbols scanned simultaneously.
- InpScanSec (Default: 5) -> Scanner refresh interval in seconds (minimum 3 seconds).
- InpBarsCopy (Default: 250) -> Historical bars copied per symbol/timeframe (min 200 recommended).
Alert Settings:
- InpAlertPopup (Default: false) -> Enables MetaTrader terminal pop-up alert windows.
- InpAlertSound (Default: false) -> Enables audio alert playback on new signals.
- InpSoundFile (Default: "alert.wav") -> Audio file name located in the MT4 Sounds folder.
- InpAlertPush (Default: false) -> Enables mobile push notifications via MetaQuotes ID.
- InpAlertEmail (Default: false) -> Enables email notifications via terminal SMTP settings.
- InpEmailSubject (Default: "CCI Scanner Signal") -> Subject line prefix for outgoing alert emails.
- InpAlertOnlyNew (Default: false) -> Alerts only on signals newer than previous alert timestamp.
Display and Positioning Settings:
- InpX (Default: 12) -> Initial horizontal X-coordinate of dashboard panel in pixels.
- InpY (Default: 28) -> Initial vertical Y-coordinate of dashboard panel in pixels.
- InpScale (Default: 100) -> Dashboard UI scaling percentage (clamped between 70% and 180%).
- InpRowH (Default: 18) -> Height of each table row in pixels.
- InpFont (Default: 8) -> Base font size for dashboard text elements.
- InpPadX (Default: 8) -> Horizontal inner padding of table in pixels.
- InpWPair (Default: 68) -> Width of PAIR column in pixels.
- InpWTF (Default: 34) -> Width of TF column in pixels.
- InpWArah (Default: 44) -> Width of DIR column in pixels.
- InpWTime (Default: 96) -> Width of TIME column in pixels.
- InpWEntry (Default: 64) -> Width of ENTRY column in pixels.
- InpWSL (Default: 64) -> Width of SL column in pixels.
- InpWTP1 (Default: 64) -> Width of TP1 column in pixels.
- InpWTP2 (Default: 64) -> Width of TP2 column in pixels.
- InpWCCI (Default: 46) -> Width of CCI column in pixels.
- InpWUmur (Default: 42) -> Width of AGE column in pixels.
- InpWOpen (Default: 44) -> Width of OPEN action button column in pixels.
- InpShowEmpty (Default: false) -> Displays symbol/timeframe rows without active signals.
- InpMaxRows (Default: 17) -> Maximum signal rows rendered on dashboard table.
Sorting Settings:
- InpSortBy (Default: SORT_TIME) -> Default sort column (0=Time, 1=Pair, 2=TF, 3=Dir).
- InpSortNewest (Default: true) -> Sets default sort order to descending (newest on top).
Chart Visualization Settings:
- InpDrawOnChart (Default: true) -> Plots active chart's latest signal on canvas.
- InpShowArrow (Default: true) -> Displays directional Wingdings arrows on signal candles.
- InpShowLevels (Default: true) -> Displays horizontal Entry, SL, TP1, and TP2 lines.
- InpExtendBars (Default: 25) -> Length of projected horizontal lines in bars.
- InpArrowCodeBuy (Default: 233) -> Wingdings character code for BUY arrows.
- InpArrowCodeSell (Default: 234) -> Wingdings code for SELL arrows.
- InpArrowSize (Default: 2) -> Thickness/size of chart signal arrows.
- InpArrowDistance (Default: 15) -> Vertical offset in points between candle and arrow.
Color Palette Settings:
- InpColBg (Default: C'18,22,28') -> Main dashboard background color.
- InpColHead (Default: C'32,38,48') -> Header and button background color.
- InpColRow (Default: C'24,28,36') -> Primary alternating row background color.
- InpColRow2 (Default: C'28,33,42') -> Secondary alternating row background color.
- InpColText (Default: C'220,225,230') -> Standard table text color.
- InpColBull (Default: C'0,200,83') -> Bullish (BUY) text color.
- InpColBear (Default: C'255,82,82') -> Bearish (SELL) text color.
- InpColMute (Default: C'120,128,140') -> Muted text color for secondary labels.
- InpColAccent (Default: C'41,98,255') -> Accent color for titles, active sorts, and OPEN buttons.
- InpColArrowBuy (Default: C'0,230,118') -> Chart arrow color for BUY signals.
- InpColArrowSell (Default: C'255,82,82') -> Chart arrow color for SELL signals.
- InpColEntry (Default: C'41,98,255') -> Chart projection line color for Entry price.
- InpColSL (Default: C'255,82,82') -> Chart projection line color for Stop Loss level.
- InpColTP1 (Default: C'0,200,83') -> Chart projection line color for Take Profit 1 level.
- InpColTP2 (Default: C'0,230,118') -> Chart projection line color for Take Profit 2 level.
6. Risk Disclaimer
Trading foreign exchange, commodities, and other financial instruments involves significant risk and may not be suitable for all investors. Past performance does not guarantee future results. This software is an analytical and operational tool designed to assist traders in technical analysis; it does not guarantee financial profit. Always thoroughly test the product on a demo account to understand its operational behavior before considering deployment in live trading environments.
