Ichimoku Senkou Scan Dashboard Multi PairTimeframe
- Индикаторы
- Версия: 1.0
- Активации: 5
# Senkou Span B Scanner Dashboard PRO MT5 - Technical Manual & Operational Specification
## 1. Overview & Operational Purpose
Senkou Span B Scanner Dashboard PRO MT5 is an analytical multi-currency and multi-timeframe scanner for MetaTrader 5. It monitors price action across financial assets from a single host chart, detecting reaction points around the Ichimoku Kinko Hyo Senkou Span B equilibrium baseline. In quantitative analysis, Senkou Span B represents the 52-period midpoint equilibrium ((Highest High + Lowest Low) / 2). When market momentum pauses, this baseline flattens, forming horizontal support and resistance structures. The scanner automates surveillance of baseline retests across Market Watch or custom watchlists (M5 to Monthly), computes dynamic ATR Stop Loss and Take Profit levels, and filters entries through 17 selectable confirmation modules. Operating with zero black-box logic, it provides complete mathematical transparency, on-chart visual overlays, and live dashboard metrics.
## 2. Technical Operating Principle & Mathematical Foundation
### 2.1. Baseline Equilibrium Calculation
The primary baseline uses the standard Ichimoku formula for Buffer 3 (Senkou Span B):
Senkou Span B = (Highest High(Period) + Lowest Low(Period)) / 2
Where Period is set by InpSenkou (Default: 52), extremes are calculated across 52 closed bars, and InpCloudShift sets cloud shift (Default: 0 for synchronous candle alignment). Extended flat baselines reflect equilibrium and dynamic institutional barrier zones.
### 2.2. Touch Detection Mechanics
Touch proximity uses: Touch Distance = InpTouchPoints * Point Value. A valid setup requires:
- Bullish: Low[i] <= SenkouSpanB[i] + Touch Distance AND High[i] >= SenkouSpanB[i] - Touch Distance.
- Bearish: High[i] >= SenkouSpanB[i] - Touch Distance AND Low[i] <= SenkouSpanB[i] + Touch Distance.
### 2.3. Candle Polarity Confirmation
When FilterJenisCandle is enabled:
- BUY: Close settles above Senkou Span B (Close[i] > SenkouSpanB[i]) with bullish polarity (Close[i] > Open[i]).
- SELL: Close settles below Senkou Span B (Close[i] < SenkouSpanB[i]) with bearish polarity (Close[i] < Open[i]).
### 2.4. Signal Calculation Bar & Non-Repainting Behavior
Calculations occur on closed bars (index i = 1 to InpLookback). Once bar 1 closes, levels, timestamps, and signals never recalculate or shift. Active forming candles (Bar 0) are excluded to prevent false triggers from unfinished price action.
### 2.5. Dynamic ATR Risk Management
- SL Distance = ATR(InpATRPeriod) * InpATRMultSL.
- BUY: Entry = Close[i]; SL = Entry - SL Distance; TP1 = Entry + (SL Distance * InpTP1_RR); TP2 = Entry + (SL Distance * InpTP2_RR).
- SELL: Entry = Close[i]; SL = Entry + SL Distance; TP1 = Entry - (SL Distance * InpTP1_RR); TP2 = Entry - (SL Distance * InpTP2_RR).
## 3. The 17 Modular Secondary Confirmation Filters
Each filter can be independently toggled (true/false):
1. RSI Cross (Use_RSI_Cross_Filter): BUY when RSI crosses above Oversold (30); SELL when RSI crosses below Overbought (70).
2. ADX (Use_ADX_Filter): Confirms trend strength when ADX main line >= ADX_Min_Level (20.0).
3. Single MA (Use_MA_Filter): Macro trend filter. BUY when Close > MA; SELL when Close < MA (Period: 50).
4. Ichimoku Filter (Use_Ichimoku_Filter): Secondary cloud filter. BUY when Close > Span B; SELL when Close < Span B.
5. RSI 75 (Use_RSI75_Filter): Long-term momentum filter. BUY when RSI75 > 50; SELL when RSI75 < 50.
6. Double MA (Use_DoubleMA_Filter): Directional alignment via dual EMAs (30 EMA vs 140 EMA).
7. Awesome Oscillator (Use_AO_Filter): Momentum filter with volume thresholds, bar colors, and zero-line alignment.
8. Parabolic SAR (Use_SAR_Filter): Acceleration trailing filter. BUY when Close > SAR; SELL when Close < SAR.
9. Heiken Ashi (Use_HeikenAshi_Filter): Synthetic candle noise reduction (BUY = Bullish HA, SELL = Bearish HA).
10. CCI Trend (Use_CCI_Filter): 50-period cyclical baseline filter (BUY when CCI > 0, SELL when CCI < 0).
11. CCI OB/OS (Use_CCI_OBOS_Filter): Mean reversion filter (BUY when CCI < -100, SELL when CCI > 100).
12. RVI Trend (Use_RVI_Filter): 75-period Relative Vigor Index zero-line filter (BUY > 0, SELL < 0).
13. RVI Signal (Use_RVI_Signal_Filter): RVI main line and signal line crossover confirmation filter.
14. MACD Histogram (Use_MACD_Filter): Momentum direction (BUY when histogram > 0, SELL when histogram < 0).
15. MACD Zero (Use_MACD_Zero_Filter): Macro filter requiring MACD main line above or below zero.
16. Support & Resistance (Use_SR_Filter): Dynamic swing zone retest within SR_Zone_Points tolerance.
17. Fibonacci (Use_Fib_Filter): Retracement into the 38.2% - 61.8% golden pocket via ZigZag swings.
## 4. Graphical Interface & On-Chart Overlays
Built with native MT5 chart objects without external DLL dependencies.
### 4.1. Dashboard Matrix Columns
- PAIR / TF / DIR: Monitored asset ticker, timeframe, and color-coded signal direction (Green BUY / Red SELL).
- TIME / ENTRY / SPAN B: Closed bar timestamp, execution entry price, and exact Senkou Span B baseline level.
- SL / TP 1 / TP 2: Dynamic ATR-based Stop Loss, 1:1 Take Profit 1, and 1:2 Take Profit 2 price targets.
- AGE / OPEN: Elapsed time since confirmation, and one-click button to load chart and plot levels.
### 4.2. On-Chart Visuals & Panel Controls
- Overlays: Wingdings arrows (BUY 233 / SELL 234), entry dotted line, SL dashed line, and TP1/TP2 dashed target lines.
- Controls: Draggable header bar, column sorting (PAIR, TF, DIR, TIME), MIN/MAX toggle, CLEAR, and REFRESH.
## 5. Alert Framework & Performance Architecture
- Alerts: MT5 pop-up dialog, audio (.wav), mobile push via MetaQuotes ID, and email via SMTP.
- InpAlertOnlyNew: Restricts alerts to newly closed bar signals, eliminating repetitive timer triggers.
- Performance: Indicator handles are pre-allocated at initialization and cached in memory. InpMaxSymbols, InpBarsCopy, and InpScanSec prevent terminal lag and memory overhead.
- Compatibility: Supports Hedging and Netting accounts across ECN/STP brokers on all liquid assets and VPS setups.
## 6. Complete Input Parameters Documentation
### Scanner Settings
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD"): Pairs list to scan (CSV).
- InpTimeframes (Default: "M5,M15,M30,H1,H4"): Operational timeframes list (CSV).
- InpUseWatch (Default: true): Load symbols directly from terminal Market Watch.
- InpMaxSymbols (Default: 15): Maximum number of symbols to scan simultaneously.
- InpScanSec (Default: 7): Background scanning interval in seconds (minimum: 3s).
- InpBarsCopy (Default: 120): Historical bars copied per timeframe for array calculations.
- InpLookback (Default: 80): Maximum historical bars evaluated for valid setups.
- InpDirection (Default: 0): Setup direction filter (0 = Both, 1 = Buy only, 2 = Sell only).
### Ichimoku Span B Settings
- InpTenkan (Default: 9): Tenkan-sen conversion line averaging period.
- InpKijun (Default: 26): Kijun-sen baseline averaging period.
- InpSenkou (Default: 52): Senkou Span B equilibrium baseline period.
- InpCloudShift (Default: 0): Cloud shift displacement (0 = synchronous candle testing).
- InpTouchPoints (Default: 8.0): Proximity touch tolerance threshold in points.
- FilterJenisCandle (Default: true): Candle polarity filter (BUY = Bullish, SELL = Bearish).
### ATR SL & TP Settings
- InpATRPeriod (Default: 14): Average True Range period for dynamic volatility calculation.
- InpATRMultSL (Default: 1.5): Multiplier applied to ATR to determine Stop Loss distance.
- InpTP1_RR (Default: 1.0): Risk-to-Reward ratio for Take Profit 1 (1.0 = 1:1 R:R).
- InpTP2_RR (Default: 2.0): Risk-to-Reward ratio for Take Profit 2 (2.0 = 1:2 R:R).
### Modular Filter Parameters
- Mode_Group (Default: "=== FILTER MODE ==="): Visual section separator for filter parameters.
- Use_RSI_Cross_Filter (Default: false): Enable RSI 30/70 crossover confirmation filter.
- RSI_Length (Default: 14): Calculation period for RSI filter.
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price constant for RSI calculation.
- Oversold (Default: 30.0): Oversold boundary threshold level for RSI.
- Overbought (Default: 70.0): Overbought boundary threshold level for RSI.
- Use_ADX_Filter (Default: false): Enable ADX trend strength filter.
- ADX_Period (Default: 10): Calculation period for ADX indicator.
- ADX_Min_Level (Default: 20.0): Minimum ADX threshold required to confirm directional momentum.
- Use_MA_Filter (Default: false): Enable Single Moving Average structural trend filter.
- MA_Period (Default: 50): Calculation period for Single Moving Average.
- MA_Method (Default: MODE_SMA): Smoothing method applied to Single Moving Average.
- MA_Applied (Default: PRICE_CLOSE): Applied price source for Single Moving Average.
- MA_Shift (Default: 0): Horizontal bar shift applied to Single Moving Average.
- Use_Ichimoku_Filter (Default: false): Enable secondary Ichimoku Senkou Span B cloud filter.
- Ichimoku_SenkouB (Default: 52): Period for secondary Senkou Span B cloud baseline.
- Ichimoku_Kijun (Default: 26): Period for secondary Kijun-sen line.
- Use_RSI75_Filter (Default: false): Enable smoothed 75-period RSI baseline filter.
- RSI_Filter_Period (Default: 75): Calculation period for long-term RSI filter.
- RSI_Filter_Price (Default: PRICE_CLOSE): Applied price constant for RSI 75 filter.
- Use_DoubleMA_Filter (Default: false): Enable Double Moving Average crossover filter.
- MA_A_Period (Default: 30): Calculation period for Fast Moving Average A.
- MA_A_Method (Default: MODE_EMA): Smoothing method for Fast Moving Average A.
- MA_A_Applied (Default: PRICE_CLOSE): Applied price source for Fast Moving Average A.
- MA_A_Shift (Default: 0): Horizontal bar shift for Fast Moving Average A.
- MA_B_Period (Default: 140): Calculation period for Slow Moving Average B.
- MA_B_Method (Default: MODE_EMA): Smoothing method for Slow Moving Average B.
- MA_B_Applied (Default: PRICE_CLOSE): Applied price source for Slow Moving Average B.
- MA_B_Shift (Default: 0): Horizontal bar shift for Slow Moving Average B.
- Use_AO_Filter (Default: false): Primary toggle for Awesome Oscillator filter suite.
- Use_AO_Volume_Filter (Default: false): Enforce minimum absolute threshold on AO value.
- AO_Buy_Min (Default: 4.0): Minimum positive AO value required for BUY setups.
- AO_Sell_Max (Default: -4.0): Maximum negative AO value required for SELL setups.
- Use_AO_Color_Filter (Default: false): Validate that AO bar color matches signal direction.
- Use_AO_Zero_Filter (Default: false): Validate that AO is on corresponding side of zero level.
- Use_SAR_Filter (Default: false): Enable Parabolic SAR directional trailing filter.
- SAR_Step (Default: 0.02): Incremental acceleration step factor for Parabolic SAR.
- SAR_Maximum (Default: 0.2): Maximum ceiling acceleration factor for Parabolic SAR.
- Use_HeikenAshi_Filter (Default: false): Enable synthetic Heiken Ashi candle polarity filter.
- Use_CCI_Filter (Default: false): Enable 50-period CCI zero-line structural trend filter.
- CCI_Period (Default: 50): Calculation period for CCI trend filter.
- CCI_Applied (Default: PRICE_CLOSE): Applied price constant for CCI trend filter.
- Use_CCI_OBOS_Filter (Default: false): Enable short-term CCI Overbought/Oversold reversal filter.
- CCI_OBOS_Period (Default: 14): Calculation period for short-term cyclical CCI filter.
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price constant for short-term CCI filter.
- CCI_Overbought (Default: 100.0): Overbought threshold level for CCI reversal filter.
- CCI_Oversold (Default: -100.0): Oversold threshold level for CCI reversal filter.
- Use_RVI_Filter (Default: false): Enable 75-period Relative Vigor Index zero-line filter.
- RVI_Period (Default: 75): Calculation period for macro RVI filter.
- Use_RVI_Signal_Filter (Default: false): Enable RVI signal-line crossover confirmation filter.
- RVI_Signal_Period (Default: 20): Calculation period for RVI signal line.
- Use_MACD_Filter (Default: false): Enable MACD histogram directional polarity filter.
- MACD_FastEMA (Default: 12): Fast exponential moving average period for MACD.
- MACD_SlowEMA (Default: 26): Slow exponential moving average period for MACD.
- MACD_SignalSMA (Default: 9): Signal line simple moving average period for MACD.
- MACD_Applied (Default: PRICE_CLOSE): Applied price constant for MACD calculation.
- Use_MACD_Zero_Filter (Default: false): Validate that main MACD line is above/below zero level.
- Use_SR_Filter (Default: false): Enable Dynamic Support and Resistance zone retest filter.
- SR_Period (Default: 50): Lookback period used to identify historical swing pivots.
- SR_Zone_Points (Default: 80): Support and resistance boundary zone thickness in points.
- Use_Fib_Filter (Default: false): Enable automated Fibonacci golden pocket retracement filter.
- Fib_Level_1 (Default: 0.382): First Fibonacci retracement boundary level (38.2%).
- Fib_Level_2 (Default: 0.618): Second Fibonacci retracement boundary level (61.8%).
- ZigZag_Depth (Default: 12): Depth setting for internal swing identification algorithm.
- ZigZag_Deviation (Default: 5): Deviation threshold in points for swing pivot identification.
- ZigZag_Backstep (Default: 3): Minimum bar backstep setting between consecutive swing pivots.
### Alert Configuration
- InpAlertPopup (Default: false): Enable native pop-up alert dialog boxes in MT5.
- InpAlertSound (Default: false): Enable audible alerts via local sound files.
- InpSoundFile (Default: "alert2.wav"): Local sound file path in the terminal Sounds folder.
- InpAlertPush (Default: false): Send real-time push notifications to mobile MT5 terminals.
- InpAlertEmail (Default: false): Dispatch email signal notifications via terminal SMTP.
- InpEmailSubject (Default: "SSB Scanner Signal"): Header line for dispatched email alerts.
- InpAlertOnlyNew (Default: false): Restrict alert triggers to newly confirmed bar signals only.
### Sorting Settings
- InpSortBy (Default: SORT_TIME): Initial sorting criteria (0 = Time, 1 = Pair, 2 = TF, 3 = Direction).
- InpSortNewest (Default: true): Place newest confirmed signals at the beginning of the table.
### Display & GUI Dimensions
- InpX (Default: 12): Horizontal pixel coordinate from upper-left chart corner.
- InpY (Default: 28): Vertical pixel coordinate from upper-left chart corner.
- InpScale (Default: 100): Global panel scale percentage (supports 80% to 160%).
- InpRowH (Default: 18): Row height in pixels for table data records.
- InpFont (Default: 8): Base font size applied to numeric and textual table cells.
- InpPadX (Default: 8): Left/right internal horizontal padding in pixels.
- InpWPair (Default: 68): Pixel width assigned to the PAIR column.
- InpWTF (Default: 34): Pixel width assigned to the TF column.
- InpWArah (Default: 44): Pixel width assigned to the DIR column.
- InpWTime (Default: 96): Pixel width assigned to the TIME column.
- InpWEntry (Default: 64): Pixel width assigned to the ENTRY column.
- InpWSL (Default: 64): Pixel width assigned to the SL column.
- InpWTP1 (Default: 64): Pixel width assigned to the TP1 column.
- InpWTP2 (Default: 64): Pixel width assigned to the TP2 column.
- InpWSpanB (Default: 64): Pixel width assigned to the SPAN B column.
- InpWUmur (Default: 42): Pixel width assigned to the AGE column.
- InpWOpen (Default: 44): Pixel width assigned to the ACTION column.
- InpShowEmpty (Default: false): Display monitored pairs/timeframes even if no active setup exists.
- InpMaxRows (Default: 18): Maximum number of table rows visible simultaneously.
### Chart Drawing Settings
- InpDrawOnChart (Default: true): Render graphic levels for latest setup on active chart.
- InpShowArrow (Default: true): Render directional Wingdings arrow markers at trigger points.
- InpShowLevels (Default: true): Render horizontal trend lines for Entry, SL, TP1, and TP2.
- InpExtendBars (Default: 25): Number of future bars across which target levels extend.
- InpArrowCodeBuy (Default: 233): Wingdings character code for Bullish BUY signal arrows.
- InpArrowCodeSell (Default: 234): Wingdings character code for Bearish SELL signal arrows.
- InpArrowSize (Default: 2): Graphic line thickness applied to directional chart arrows.
- InpArrowDistance (Default: 15): Pixel offset distance separating arrow marker from candle wick.
### Color Customization Settings
- InpColBg (Default: C'18,22,28'): Background fill color for dashboard container.
- InpColHead (Default: C'32,38,48'): Background fill color for table headers and functional buttons.
- InpColRow (Default: C'24,28,36'): Primary background fill color for alternating table rows.
- InpColRow2 (Default: C'28,33,42'): Secondary background fill color for zebra table rows.
- InpColText (Default: C'220,225,230'): Primary text color for standard alphanumeric entries.
- InpColBull (Default: C'0,200,83'): Color for bullish directional markers and BUY text.
- InpColBear (Default: C'255,82,82'): Color for bearish directional markers and SELL text.
- InpColMute (Default: C'120,128,140'): Muted gray color for timestamps, inactive states, and hints.
- InpColAccent (Default: C'41,98,255'): Accent blue color for titles, highlights, and buttons.
- InpColArrowBuy (Default: C'0,230,118'): Chart arrow color applied to confirmed BUY setups.
- InpColArrowSell (Default: C'255,82,82'): Chart arrow color applied to confirmed SELL setups.
- InpColEntry (Default: C'41,98,255'): Color of dotted horizontal entry line on chart.
- InpColSL (Default: C'255,82,82'): Color of dashed horizontal Stop Loss line on chart.
- InpColTP1 (Default: C'0,200,83'): Color of dashed horizontal Take Profit 1 line on chart.
- InpColTP2 (Default: C'0,230,118'): Color of dashed horizontal Take Profit 2 line on chart.
## 7. Operational Risk Disclosure
Trading foreign exchange (Forex), contracts for difference (CFDs), precious metals, commodities, and other financial derivatives carries a substantial level of risk and may not be suitable for all investors. The high degree of financial leverage available in trading can work against you as well as for you. Before deciding to trade any financial asset, you must carefully evaluate your investment objectives, operational experience, and risk tolerance. Past performance, backtested results, and mathematical simulations do not predict future trading outcomes. Senkou Span B Scanner Dashboard PRO MT5 is a specialized technical analysis tool engineered exclusively to assist traders in scanning, filtering, and organizing chart data according to defined mathematical criteria. This software does not provide financial investment advice, does not ensure profitability, and cannot protect against market volatility or losses resulting from slippage, execution latency, or broker spread expansion. Users should thoroughly evaluate the indicator on a simulated demo account under various market conditions before considering deployment in live trading environments.
