Ichimoku Senkou Span B Scanner All Pair Timeframe
- Индикаторы
- Версия: 1.0
- Активации: 5
Ichimoku Senkou Span B Scanner All Pair Timeframe
Overview
Senkou Span B Scanner Dashboard MT4 is a technical analysis indicator and multi-asset market scanner designed for MetaTrader 4. The tool monitors multiple currency pairs, commodities, and timeframes simultaneously from a single chart window to detect price interactions with the Ichimoku Kinko Hyo Senkou Span B boundary. In addition to scanning for signal candidates, the indicator integrates a 15-module secondary confirmation suite, calculates volatility-adjusted Stop Loss (SL) and dual Take Profit (TP) levels based on Average True Range (ATR), and renders visual chart overlays along with real-time notifications.
Operating Principle and Signal Logic
The indicator evaluates historical and closed price bars using standard Ichimoku Kinko Hyo and ATR formulas combined with optional modular technical filters.
- Core Boundary Detection: The scanner calculates the Senkou Span B line using user-defined Tenkan-sen, Kijun-sen, and Senkou Span B periods along with a configurable cloud shift offset. It checks whether a completed candlestick interacts with the Senkou Span B value within a specified point tolerance.
- Bullish Signal Condition (BUY): A BUY signal candidate is registered when a closed bar touches or crosses the Senkou Span B line within the tolerance zone, closes above the Senkou Span B value, satisfies the bullish candlestick body condition (if enabled), and passes all active secondary filters in the confirmation suite.
- Bearish Signal Condition (SELL): A SELL signal candidate is registered when a closed bar touches or crosses the Senkou Span B line within the tolerance zone, closes below the Senkou Span B value, satisfies the bearish candlestick body condition (if enabled), and passes all active secondary filters in the confirmation suite.
- Non-Repainting Behavior: Signal evaluation starts from closed bars (bar index 1 and older within the lookback window) rather than the unclosed active bar (bar 0). Once a signal is confirmed on a closed bar, its timestamp, entry reference price, and calculated SL/TP levels remain fixed for that bar. Note that if the optional Fibonacci filter is enabled, swing detection relies on ZigZag parameters which evaluate historical swing highs and lows.
- Risk Level Calculation: Upon signal validation, the indicator measures market volatility via the ATR indicator at the signal bar. The Stop Loss distance is derived by multiplying the ATR value by the SL multiplier, while TP1 and TP2 are projected using user-defined Risk-to-Reward (RR) ratios relative to the Stop Loss distance.
Key Features
- Multi-Pair and Multi-Timeframe Matrix: Scans up to 15 symbols (either from a custom comma-separated list or directly from the terminal Market Watch) across multiple timeframes (M1 through MN1) on a configurable timer interval.
- Modular 15-Filter Confirmation Suite: Includes independent toggleable filters for RSI Cross, ADX Trend Strength, Single Moving Average, Ichimoku Span B Trend, Long-Period RSI, Double Moving Average, Awesome Oscillator, Parabolic SAR, Heiken Ashi, CCI Trend, CCI Overbought/Oversold, RVI Trend and Signal, MACD Histogram and Zero-Line, Support/Resistance Zones, Fibonacci Retracement Zones, and ATR-based Supertrend.
- Interactive On-Chart Dashboard: Displays active signals in a sortable, draggable, and collapsible table showing Symbol, Timeframe, Direction, Signal Time, Entry Price, SL, TP1, TP2, Senkou Span B value, signal age, and a direct chart-switching button.
- Automated Chart Overlays: Draws entry arrows and horizontal ray projections for Entry, SL, TP1, and TP2 on the active chart when a valid signal exists or when selected via the dashboard OPEN button.
- Multi-Channel Alert System: Supports MetaTrader pop-up alerts, custom WAV sound alerts, mobile push notifications via MetaQuotes ID, and SMTP email alerts with an option to restrict alerts strictly to newly formed bar signals.
Interface Guide and Color Legend
- Dashboard Header Controls: Drag the title bar to reposition the panel anywhere on the chart. Click REFRESH to force an immediate rescan, CLEAR to remove panel objects from the chart, and MIN/MAX to collapse or expand the table.
- Table Sorting and Navigation: Click the PAIR, TF, DIR, or TIME column headers to sort active rows in ascending or descending order. Click the OPEN button on any signal row to switch the current chart symbol and timeframe and display its Entry, SL, and TP lines.
- Color Coding: By default, green text and arrows represent bullish (BUY) signals and Take Profit targets; red text and arrows represent bearish (SELL) signals and Stop Loss levels; blue highlights indicate Entry levels, Senkou Span B reference values, and active header accents; muted gray indicates inactive or neutral states.
Operation Recommendations and Resource Efficiency
- Supported Instruments: Suitable for major and minor Forex pairs, metals (such as XAUUSD), and liquid CFD instruments available in the broker Market Watch. Test spread characteristics on a demo account before live deployment.
- Supported Timeframes: Compatible with all standard MT4 timeframes (M1, M5, M15, M30, H1, H4, D1, W1, MN1). Default configuration targets intraday and swing timeframes (M5, M15, M30, H1, H4).
- Account and Execution Environment: Works on standard, ECN, and raw-spread MT4 accounts (both Hedging and Netting environments). Because this tool is an analytical indicator and dashboard scanner, it does not execute automated orders.
- CPU and Memory Management: Scanning multiple pairs and timeframes simultaneously requires sufficient historical bar data in the terminal. Use the InpMaxSymbols, InpBarsCopy, and InpScanSec parameters to balance scan frequency with terminal CPU load, and ensure historical data is downloaded for all monitored symbols.
Input Parameters Documentation
Primary Scanner Settings
- InpGrp1 (Default: "=== Primary Scanner Settings ==="): Section separator label for scanner configuration.
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD"): Comma-separated list of trading symbols to scan when Market Watch mode is disabled.
- InpTimeframes (Default: "M5,M15,M30,H1,H4"): Comma-separated list of timeframes to evaluate for each symbol.
- InpUseWatch (Default: true): Enables scanning of all visible symbols in the MT4 Market Watch window instead of the manual symbol list.
- InpMaxSymbols (Default: 15): Maximum number of symbols processed per scan cycle (count).
- InpScanSec (Default: 7): Time interval between automatic background scans (seconds, minimum enforced at 3 seconds).
- InpBarsCopy (Default: 120): Number of historical bars retrieved per symbol and timeframe for calculation (bars).
- InpLookback (Default: 80): Maximum number of closed bars searched backward to locate the most recent valid signal (bars).
- InpDirection (Default: 0): Signal direction filter mode (0 = Both BUY and SELL, 1 = BUY only, 2 = SELL only).
Core Entry Logic: Ichimoku Span B
- InpGrp2 (Default: "=== Core Entry Logic: Ichimoku Span B ==="): Section separator label for Ichimoku settings.
- InpTenkan (Default: 9): Period used for Tenkan-sen calculation in the Ichimoku indicator (bars).
- InpKijun (Default: 26): Period used for Kijun-sen calculation in the Ichimoku indicator (bars).
- InpSenkou (Default: 52): Period used for Senkou Span B calculation in the Ichimoku indicator (bars).
- InpCloudShift (Default: 0): Horizontal bar shift offset applied when reading the Senkou Span B value (bars).
- InpTouchPoints (Default: 8.0): Maximum distance tolerance above or below Senkou Span B to qualify as a price touch (points).
- FilterCandleType (Default: true): Requires BUY signals to close as bullish candles (Close > Open) and SELL signals to close as bearish candles (Close < Open).
Risk Management: ATR SL and TP
- InpGrp3 (Default: "=== Risk Management: ATR SL & TP ==="): Section separator label for volatility risk calculations.
- InpATRPeriod (Default: 14): Averaging period for the ATR volatility indicator (bars).
- InpATRMultSL (Default: 1.5): Multiplier applied to the ATR value to determine Stop Loss distance (multiplier).
- InpTP1_RR (Default: 1.0): Risk-to-Reward ratio multiplier used to calculate the first Take Profit target (ratio).
- InpTP2_RR (Default: 2.0): Risk-to-Reward ratio multiplier used to calculate the second Take Profit target (ratio).
Filter 1: RSI Cross Filter
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ==="): Section separator label for RSI Cross filter.
- Use_RSI_Cross_Filter (Default: false): Enables or disables the Relative Strength Index level-cross filter.
- RSI_Length (Default: 14): Averaging period for the RSI calculation (bars).
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price series used in RSI calculation.
- RSI_Oversold (Default: 30.0): Lower threshold level that RSI must cross upward to validate a BUY signal (level).
- RSI_Overbought (Default: 70.0): Upper threshold level that RSI must cross downward to validate a SELL signal (level).
Filter 2: ADX Filter
- InpFilter2 (Default: "=== 2. ADX FILTER ==="): Section separator label for ADX filter.
- Use_ADX_Filter (Default: false): Enables or disables the Average Directional Index trend-strength filter.
- ADX_Period (Default: 10): Averaging period for the ADX indicator (bars).
- ADX_Min_Level (Default: 20.0): Minimum ADX main line value required to confirm trend momentum (level).
Filter 3: Single MA Filter
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ==="): Section separator label for Single Moving Average filter.
- Use_MA_Filter (Default: false): Enables or disables the single Moving Average trend direction filter.
- MA_Period (Default: 50): Averaging period for the Moving Average (bars).
- MA_Method (Default: MODE_SMA): Smoothing method for the Moving Average (SMA, EMA, SMMA, LWMA).
- MA_Shift (Default: 0): Horizontal shift applied to the Moving Average line (bars).
Filter 4: Ichimoku Senkou Span B Filter
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ==="): Section separator label for secondary Ichimoku filter.
- Use_Ichimoku_Filter (Default: false): Enables or disables additional Senkou Span B positional confirmation.
- Ichimoku_Tenkan (Default: 9): Tenkan-sen period for the secondary Ichimoku filter (bars).
- Ichimoku_Kijun (Default: 26): Kijun-sen period for the secondary Ichimoku filter (bars).
- Ichimoku_SenkouB (Default: 52): Senkou Span B period for the secondary Ichimoku filter (bars).
Filter 5: RSI 75 Filter
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ==="): Section separator label for long-period RSI filter.
- Use_RSI75_Filter (Default: false): Enables or disables the long-period RSI midline (50.0) trend filter.
- RSI_Filter_Period (Default: 75): Averaging period for the long-period RSI filter (bars).
Filter 6: Double MA Filter
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ==="): Section separator label for Dual Moving Average filter.
- Use_DoubleMA_Filter (Default: false): Enables or disables fast-versus-slow Moving Average alignment filtering.
- MA_A_Period (Default: 30): Averaging period for the fast Moving Average A (bars).
- MA_A_Method (Default: MODE_EMA): Smoothing method for Moving Average A.
- MA_A_Applied (Default: PRICE_CLOSE): Applied price type for Moving Average A.
- MA_A_Shift (Default: 0): Horizontal bar shift for Moving Average A (bars).
- MA_B_Period (Default: 140): Averaging period for the slow Moving Average B (bars).
- MA_B_Method (Default: MODE_EMA): Smoothing method for Moving Average B.
- MA_B_Applied (Default: PRICE_CLOSE): Applied price type for Moving Average B.
- MA_B_Shift (Default: 0): Horizontal bar shift for Moving Average B (bars).
Filter 7: Awesome Oscillator Filter
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ==="): Section separator label for Awesome Oscillator filter.
- Use_AO_Filter (Default: false): Enables or disables the Awesome Oscillator momentum filter module.
- Use_AO_Volume_Filter (Default: false): Enables minimum/maximum AO amplitude threshold checks.
- AO_Buy_Min (Default: 4.0): Minimum AO value required for BUY confirmation when amplitude check is active (value).
- AO_Sell_Max (Default: -4.0): Maximum AO value required for SELL confirmation when amplitude check is active (value).
- Use_AO_Color_Filter (Default: false): Requires AO histogram slope to rise for BUY and fall for SELL.
- Use_AO_Zero_Filter (Default: false): Requires AO value to be above zero with rising slope for BUY, or below zero with falling slope for SELL.
Filter 8: Parabolic SAR Filter
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ==="): Section separator label for Parabolic SAR filter.
- Use_SAR_Filter (Default: false): Enables or disables Parabolic Stop and Reverse dot position filtering.
- SAR_Step (Default: 0.02): Acceleration factor step increment for Parabolic SAR (step).
- SAR_Maximum (Default: 0.2): Maximum acceleration factor limit for Parabolic SAR (limit).
Filter 9: Heiken Ashi Filter
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ==="): Section separator label for Heiken Ashi filter.
- Use_HeikenAshi_Filter (Default: false): Enables or disables smoothed Heiken Ashi candle polarity confirmation.
Filter 10: CCI Trend Filter
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ==="): Section separator label for CCI zero-line filter.
- Use_CCI_Filter (Default: false): Enables or disables Commodity Channel Index zero-line polarity filtering.
- CCI_Period (Default: 50): Averaging period for the CCI trend filter (bars).
- CCI_Applied (Default: PRICE_CLOSE): Applied price type for the CCI trend calculation.
Filter 11: CCI OB and OS Filter
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ==="): Section separator label for CCI extreme level filter.
- Use_CCI_OBOS_Filter (Default: false): Enables or disables CCI overbought/oversold threshold filtering.
- CCI_OBOS_Period (Default: 14): Averaging period for the CCI OB/OS filter (bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price type for the CCI OB/OS calculation.
- CCI_Overbought (Default: 100.0): Upper CCI threshold level evaluated by the filter (level).
- CCI_Oversold (Default: -100.0): Lower CCI threshold level evaluated by the filter (level).
Filter 12: RVI Filters
- InpFilter12 (Default: "=== 12. RVI FILTERS ==="): Section separator label for Relative Vigor Index filters.
- Use_RVI_Filter (Default: false): Enables or disables RVI main line zero-level alignment filtering.
- RVI_Period (Default: 75): Averaging period for the RVI zero-line trend filter (bars).
- Use_RVI_Signal_Filter (Default: false): Enables or disables RVI main-versus-signal line crossover alignment.
- RVI_Signal_Period (Default: 20): Averaging period for the RVI signal line filter (bars).
Filter 13: MACD Filters
- InpFilter13 (Default: "=== 13. MACD FILTERS ==="): Section separator label for MACD filters.
- Use_MACD_Filter (Default: false): Enables or disables MACD histogram polarity filtering (Main minus Signal).
- MACD_FastEMA (Default: 12): Fast Exponential Moving Average period for MACD (bars).
- MACD_SlowEMA (Default: 26): Slow Exponential Moving Average period for MACD (bars).
- MACD_SignalSMA (Default: 9): Signal line Simple Moving Average period for MACD (bars).
- MACD_Applied (Default: PRICE_CLOSE): Applied price type for MACD calculation.
- Use_MACD_Zero_Filter (Default: false): Enables or disables MACD main line zero-level alignment filtering.
Filter 14: SR and Fibonacci Filters
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ==="): Section separator label for Support/Resistance and Fibonacci filters.
- Use_SR_Filter (Default: false): Enables or disables historical high/low Support and Resistance zone proximity filtering.
- SR_Period (Default: 50): Lookback window in bars used to identify recent Support and Resistance extremes (bars).
- SR_Zone_Points (Default: 80): Proximity tolerance around Support or Resistance levels (points).
- Use_Fib_Filter (Default: false): Enables or disables swing-based Fibonacci retracement zone filtering.
- Fib_Level_1 (Default: 0.382): First Fibonacci retracement ratio boundary (ratio).
- Fib_Level_2 (Default: 0.618): Second Fibonacci retracement ratio boundary (ratio).
- ZigZag_Depth (Default: 12): Minimum bar depth required to identify swing highs and lows for Fibonacci calculation (bars).
- ZigZag_Deviation (Default: 5): Minimum price deviation required between swing points (points).
- ZigZag_Backstep (Default: 3): Minimum bar separation between consecutive swing highs or lows (bars).
Filter 15: Supertrend Filter
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ==="): Section separator label for Supertrend filter.
- Use_Supertrend_Filter (Default: false): Enables or disables ATR-based Supertrend directional filtering.
- ST_AtrPeriod (Default: 10): Wilder ATR period used to compute Supertrend bands (bars).
- ST_Factor (Default: 3.0): ATR band multiplier factor for Supertrend sensitivity (multiplier).
Alert Settings
- InpGrp4 (Default: "=== Alert Settings ==="): Section separator label for notification settings.
- InpAlertPopup (Default: false): Enables or disables standard MetaTrader pop-up alert windows.
- InpAlertSound (Default: false): Enables or disables audio alert playback on signal detection.
- InpSoundFile (Default: "alert2.wav"): Filename of the WAV audio file stored in the terminal Sounds folder.
- InpAlertPush (Default: false): Enables or disables push notifications to the MetaTrader mobile app.
- InpAlertEmail (Default: false): Enables or disables email notifications via terminal SMTP settings.
- InpEmailSubject (Default: "SSB Scanner Signal"): Custom subject prefix used for outgoing alert emails.
- InpAlertOnlyNew (Default: false): Restricts alert triggers strictly to signals whose bar timestamp is newer than the previous alert.
Table Sorting Settings
- InpGrp5 (Default: "=== Table Sorting Settings ==="): Section separator label for dashboard sorting behavior.
- InpSortBy (Default: SORT_TIME): Default column criterion used to order dashboard rows (SORT_TIME, SORT_PAIR, SORT_TF, SORT_DIR).
- InpSortNewest (Default: true): Places the most recent signals at the top of the table when sorting by time.
Dashboard Dimensions and Geometry
- InpGrp6 (Default: "=== Dashboard Dimensions & Geometry ==="): Section separator label for layout sizing.
- InpX (Default: 12): Initial horizontal distance of the dashboard from the left chart border (pixels).
- InpY (Default: 28): Initial vertical distance of the dashboard from the top chart border (pixels).
- InpScale (Default: 100): Overall UI scaling percentage clamped between 70 and 180 (percent).
- InpRowH (Default: 18): Height of each signal row in the dashboard table (pixels).
- InpFont (Default: 8): Base font size for table text elements (points).
- InpPadX (Default: 8): Left and right internal horizontal padding inside the dashboard panel (pixels).
- InpWPair (Default: 68): Column width allocated for the symbol name (pixels).
- InpWTF (Default: 34): Column width allocated for the timeframe label (pixels).
- InpWArah (Default: 44): Column width allocated for the BUY/SELL direction label (pixels).
- InpWTime (Default: 96): Column width allocated for the signal timestamp (pixels).
- InpWEntry (Default: 64): Column width allocated for the Entry price (pixels).
- InpWSL (Default: 64): Column width allocated for the Stop Loss price (pixels).
- InpWTP1 (Default: 64): Column width allocated for the TP1 price (pixels).
- InpWTP2 (Default: 64): Column width allocated for the TP2 price (pixels).
- InpWSpanB (Default: 64): Column width allocated for the Senkou Span B price level (pixels).
- InpWUmur (Default: 42): Column width allocated for the signal age counter (pixels).
- InpWOpen (Default: 44): Column width allocated for the OPEN action button (pixels).
- InpShowEmpty (Default: false): Displays monitored symbol/timeframe pairs even when no active signal is present.
- InpMaxRows (Default: 18): Maximum number of signal rows displayed simultaneously in the table (rows).
Chart Visual Overlays
- InpGrp7 (Default: "=== Chart Visual Overlays ==="): Section separator label for on-chart graphical objects.
- InpDrawOnChart (Default: true): Enables or disables drawing the latest valid signal overlay on the active chart.
- InpShowArrow (Default: true): Displays or hides directional entry arrows on the chart.
- InpShowLevels (Default: true): Displays or hides horizontal Entry, SL, TP1, and TP2 price rays and text labels.
- InpExtendBars (Default: 25): Number of bars forward that horizontal Entry, SL, and TP lines extend from the signal bar (bars).
- InpArrowCodeBuy (Default: 233): Wingdings character code used for bullish entry arrows (code).
- InpArrowCodeSell (Default: 234): Wingdings character code used for bearish entry arrows (code).
- InpArrowSize (Default: 2): Width/size setting for on-chart entry arrows (size 1-5).
- InpArrowDistance (Default: 15): Vertical offset distance separating entry arrows from the signal price (points).
Dashboard Colors
- InpGrp8 (Default: "=== Dashboard Colors ==="): Section separator label for UI color customization.
- InpColBg (Default: C'18,22,28'): Main background color of the dashboard container.
- InpColHead (Default: C'32,38,48'): Background color of the dashboard title bar and column headers.
- InpColRow (Default: C'24,28,36'): Background color for even-numbered signal rows.
- InpColRow2 (Default: C'28,33,42'): Background color for odd-numbered signal rows.
- InpColText (Default: C'220,225,230'): Primary text color for symbol, timeframe, timestamp, and entry values.
- InpColBull (Default: C'0,200,83'): Text color indicating bullish (BUY) signals.
- InpColBear (Default: C'255,82,82'): Text color indicating bearish (SELL) signals.
- InpColMute (Default: C'120,128,140'): Muted text color for inactive cells, status text, and footer hints.
- InpColAccent (Default: C'41,98,255'): Accent color for the dashboard title, active sort headers, Span B values, and OPEN buttons.
- InpColArrowBuy (Default: C'0,230,118'): Color of bullish entry arrows drawn on the chart.
- InpColArrowSell (Default: C'255,82,82'): Color of bearish entry arrows drawn on the chart.
- InpColEntry (Default: C'41,98,255'): Color of the Entry price line and label on the chart.
- InpColSL (Default: C'255,82,82'): Color of the Stop Loss price line and label on the chart.
- InpColTP1 (Default: C'0,200,83'): Color of the TP1 price line and label on the chart.
- InpColTP2 (Default: C'0,230,118'): Color of the TP2 price line and label on the chart.
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 visual scanning tool designed to assist traders in technical analysis; it does not execute trades automatically and does not guarantee financial profit. Always test the indicator thoroughly on a demo account to understand its operational behavior and resource usage before applying it to live market analysis.
