MA Moving Average Cross Scanner All Pair Dashboard
- Indicatori
- Versione: 1.0
- Attivazioni: 5
MA Moving Average Cross Scanner All Pair Timeframe Dashboard
Overview
MA Cross Scanner is an analytical multi-symbol and multi-timeframe technical indicator equipped with an interactive on-chart dashboard panel for MetaTrader 4[cite: 1]. The tool is engineered to monitor Moving Average (MA) crossover events across multiple currency pairs and timeframes simultaneously, consolidating signal detection, modular trend/momentum filtering, and Average True Range (ATR) risk-reward level calculations into a single interface[cite: 1]. By scanning closed candlestick bars across user-defined symbols and timeframes, this indicator assists traders in identifying structured market momentum shifts without manually switching between individual charts[cite: 1].
Operating Principle and Signal Validity
- Core Calculation Method: The primary trigger evaluates the relationship between a Fast Moving Average and a Slow Moving Average using standard smoothing methods (SMA, EMA, SMMA, or LWMA) applied to closing prices[cite: 1].
- Bullish Signal Condition: A buy signal is registered when the Fast MA crosses above the Slow MA on a completed candlestick bar, provided all enabled secondary filters align with upward momentum[cite: 1].
- Bearish Signal Condition: A sell signal is registered when the Fast MA crosses below the Slow MA on a completed candlestick bar, provided all enabled secondary filters align with downward momentum[cite: 1].
- Non-Repainting Behavior: All scanner and chart arrow calculations are executed strictly on closed historical bars (starting from Bar 1)[cite: 1]. Signals are never generated on the active forming candle (Bar 0), ensuring that once a signal arrow appears after a bar closes, it does not repaint, shift, or disappear[cite: 1].
- Modular Confirmation Filters: Traders can optionally enable up to 16 independent technical confirmation modules (including Higher Trend MA, RSI, ADX, Ichimoku, Double MA, Awesome Oscillator, Parabolic SAR, Heiken Ashi, CCI, RVI, MACD, Support/Resistance zones, Fibonacci retracements, and Supertrend) to restrict signals to specific market conditions[cite: 1, 3].
- Dynamic Risk-Reward Projection: Upon signal validation, the indicator measures current market volatility using the ATR indicator to project a reference Stop Loss (SL) distance and two Take Profit (TP1 and TP2) price levels based on configurable risk-reward multipliers[cite: 1].
Key Technical Features
- Multi-Symbol and Multi-Timeframe Matrix: Scans up to the configured maximum number of symbols from either the Market Watch window or a custom comma-separated symbol list across timeframes ranging from M1 to MN1[cite: 1].
- Interactive Draggable Dashboard: Features a movable on-chart table displaying Pair, Timeframe, Direction, Signal Time, Entry Price, Stop Loss, TP1, TP2, Signal Age, and a direct chart-switching button[cite: 1].
- Column Sorting and UI Controls: Supports one-click ascending/descending sorting by Pair, Timeframe, Direction, or Time, along with panel minimization, manual refresh, and object cleanup buttons[cite: 1].
- On-Chart Visual Plotting: Automatically plots Fast MA, Slow MA, optional Higher Trend MA, historical signal arrows, and horizontal level lines (Entry, SL, TP1, TP2) on the active chart[cite: 1].
- Optional Heiken Ashi Overlay: Includes a built-in Heiken Ashi candle overlay mode with the option to hide standard price candlesticks for cleaner visual analysis[cite: 1].
- Multi-Channel Alert System: Delivers real-time notifications via MT4 pop-up alerts, custom audio files, mobile push notifications (MetaQuotes ID), and email alerts upon new closed-bar signals[cite: 1].
GUI Color Legend and Performance Optimization
- Dashboard Visual Indicators: Bullish (BUY) signals and target levels are highlighted in green/aqua tones, Bearish (SELL) signals and Stop Loss levels are marked in red tones, and neutral/inactive metadata is displayed in muted grey[cite: 1].
- CPU and Memory Efficiency: Because multi-pair scanning processes historical data across multiple timeframes at fixed second intervals, users can control terminal resource load via the InpMaxSymbols, InpBarsCopy, and InpScanSec parameters[cite: 1]. On systems with limited hardware specifications, keep InpMaxSymbols within 10 to 15 pairs and avoid running multiple instances of the scanner simultaneously on different charts.
Operation and Setup Recommendations
- Recommended Instruments: Suitable for liquid Forex major and cross pairs (such as EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURJPY, GBPJPY) as well as metals like XAUUSD[cite: 1]. When applying to exotic pairs or indices, verify symbol naming prefixes/suffixes in your Market Watch[cite: 1].
- Recommended Timeframes: Operates across all standard MT4 timeframes[cite: 1]. M5 and M15 are suitable for intraday monitoring, while H1, H4, and D1 are suited for broader swing analysis.
- Broker and Account Requirements: Compatible with standard, ECN, and raw spread accounts (both Hedging and Netting environments). Ensure historical chart data is downloaded for all scanned symbols and timeframes so buffer calculations initialize properly.
Input Parameters Documentation
1. Entry Logic - MA Crossing
- InpSecEntry1 (Default: "=== [ENTRY LOGIC] MA CROSSING ===") -> Section header label in the Inputs tab[cite: 1].
- InpMethod (Default: MODE_EMA) -> Moving Average smoothing calculation method (SMA, EMA, SMMA, LWMA)[cite: 1].
- InpFast (Default: 10) -> Period length in bars for the Fast Moving Average[cite: 1].
- InpFastShift (Default: 0) -> Horizontal bar shift applied to the Fast Moving Average[cite: 1].
- InpSlow (Default: 25) -> Period length in bars for the Slow Moving Average[cite: 1].
- InpSlowShift (Default: 0) -> Horizontal bar shift applied to the Slow Moving Average[cite: 1].
2. Entry Logic - Base Trend Filter
- InpSecEntry2 (Default: "=== [ENTRY LOGIC] BASE TREND FILTER ===") -> Section header label for the primary trend filter[cite: 1].
- UseTrend (Default: false) -> Enables or disables the baseline higher-period Moving Average trend filter[cite: 1].
- TrendPeriod (Default: 200) -> Period length in bars for the baseline Trend Moving Average[cite: 1].
- TrendMethod (Default: MODE_EMA) -> Smoothing calculation method for the baseline Trend Moving Average[cite: 1].
3. Trade Logic - ATR SL and TP Settings
- InpSecTrade (Default: "=== [TRADE LOGIC] ATR SL & TP SETTINGS ===") -> Section header label for ATR level settings[cite: 1].
- InpATRPeriod (Default: 14) -> Lookback period in bars for Average True Range volatility calculation[cite: 1].
- InpATR_SL_Mult (Default: 1.5) -> Multiplier applied to the ATR value to determine Stop Loss distance[cite: 1].
- InpTP1_RR (Default: 1.0) -> Risk-to-Reward ratio multiplier for Take Profit 1 relative to Stop Loss distance[cite: 1].
- InpTP2_RR (Default: 2.0) -> Risk-to-Reward ratio multiplier for Take Profit 2 relative to Stop Loss distance[cite: 1].
- InpDrawLinesOnChart (Default: true) -> Enables or disables drawing Entry, SL, TP1, and TP2 lines on the active chart[cite: 1].
- InpSignalPrefix (Default: "MA") -> Text label prefix displayed on chart signal level tags[cite: 1].
- InpLineExtendBars (Default: 10) -> Number of bars to extend signal level lines to the right of the current bar[cite: 1].
4. Modular Confirmation Filters (15-Filter Suite)
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ===") -> Section header for RSI crossover filter[cite: 3].
- Use_RSI_Cross_Filter (Default: false) -> Enables or disables Relative Strength Index threshold cross confirmation[cite: 3].
- RSI_Length (Default: 14) -> Calculation period in bars for the RSI filter[cite: 3].
- RSI_Price_Source (Default: PRICE_CLOSE) -> Applied price series used for RSI calculations[cite: 3].
- RSI_Oversold (Default: 30.0) -> Oversold threshold level for bullish RSI cross validation[cite: 3].
- RSI_Overbought (Default: 70.0) -> Overbought threshold level for bearish RSI cross validation[cite: 3].
- InpFilter2 (Default: "=== 2. ADX FILTER ===") -> Section header for ADX trend strength filter[cite: 3].
- Use_ADX_Filter (Default: false) -> Enables or disables Average Directional Index minimum trend strength filtering[cite: 3].
- ADX_Period (Default: 10) -> Calculation period in bars for the ADX indicator[cite: 3].
- ADX_Min_Level (Default: 20.0) -> Minimum ADX main line value required to validate a signal[cite: 3].
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ===") -> Section header for secondary single MA filter[cite: 3].
- Use_MA_Filter (Default: false) -> Enables or disables price position filtering relative to a secondary Moving Average[cite: 3].
- MA_Period (Default: 50) -> Period length in bars for the secondary MA filter[cite: 3].
- MA_Method (Default: MODE_SMA) -> Smoothing method for the secondary MA filter[cite: 3].
- MA_Shift (Default: 0) -> Horizontal bar shift for the secondary MA filter[cite: 3].
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ===") -> Section header for Ichimoku filter[cite: 3].
- Use_Ichimoku_Filter (Default: false) -> Enables or disables price filtering relative to Ichimoku Senkou Span B[cite: 3].
- Ichimoku_Tenkan (Default: 9) -> Tenkan-sen period in bars[cite: 3].
- Ichimoku_Kijun (Default: 26) -> Kijun-sen period in bars[cite: 3].
- Ichimoku_SenkouB (Default: 52) -> Senkou Span B period in bars[cite: 3].
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ===") -> Section header for long-period RSI midpoint filter[cite: 3].
- Use_RSI75_Filter (Default: false) -> Enables or disables long-period RSI 50-level directional confirmation[cite: 3].
- RSI_Filter_Period (Default: 75) -> Period length in bars for the long-term RSI filter[cite: 3].
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ===") -> Section header for dual MA alignment filter[cite: 3].
- Use_DoubleMA_Filter (Default: false) -> Enables or disables trend alignment check between two additional Moving Averages[cite: 3].
- MA_A_Period (Default: 30) -> Period length in bars for filter Moving Average A[cite: 3].
- MA_A_Method (Default: MODE_EMA) -> Smoothing method for filter Moving Average A[cite: 3].
- MA_A_Applied (Default: PRICE_CLOSE) -> Applied price type for filter Moving Average A[cite: 3].
- MA_A_Shift (Default: 0) -> Horizontal bar shift for filter Moving Average A[cite: 3].
- MA_B_Period (Default: 140) -> Period length in bars for filter Moving Average B[cite: 3].
- MA_B_Method (Default: MODE_EMA) -> Smoothing method for filter Moving Average B[cite: 3].
- MA_B_Applied (Default: PRICE_CLOSE) -> Applied price type for filter Moving Average B[cite: 3].
- MA_B_Shift (Default: 0) -> Horizontal bar shift for filter Moving Average B[cite: 3].
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ===") -> Section header for Awesome Oscillator filter[cite: 3].
- Use_AO_Filter (Default: false) -> Enables or disables Bill Williams Awesome Oscillator confirmation[cite: 3].
- Use_AO_Volume_Filter (Default: false) -> Enables minimum AO amplitude threshold checking[cite: 3].
- AO_Buy_Min (Default: 4.0) -> Minimum AO value required for buy signals when amplitude filter is active[cite: 3].
- AO_Sell_Max (Default: -4.0) -> Maximum AO value allowed for sell signals when amplitude filter is active[cite: 3].
- Use_AO_Color_Filter (Default: false) -> Requires AO histogram slope direction to match signal direction[cite: 3].
- Use_AO_Zero_Filter (Default: false) -> Requires AO histogram to be above zero for buys and below zero for sells[cite: 3].
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ===") -> Section header for Parabolic SAR filter[cite: 3].
- Use_SAR_Filter (Default: false) -> Enables or disables Parabolic Stop and Reverse dot position confirmation[cite: 3].
- SAR_Step (Default: 0.02) -> Acceleration factor step increment for Parabolic SAR[cite: 3].
- SAR_Maximum (Default: 0.2) -> Maximum acceleration factor limit for Parabolic SAR[cite: 3].
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ===") -> Section header for Heiken Ashi candle filter[cite: 3].
- Use_HeikenAshi_Filter (Default: false) -> Requires closed Heiken Ashi candle body polarity to align with signal direction[cite: 3].
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ===") -> Section header for CCI zero-line trend filter[cite: 3].
- Use_CCI_Filter (Default: false) -> Enables or disables Commodity Channel Index zero-line directional filtering[cite: 3].
- CCI_Period (Default: 50) -> Calculation period in bars for the CCI trend filter[cite: 3].
- CCI_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI trend filter[cite: 3].
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ===") -> Section header for CCI overbought/oversold momentum filter[cite: 3].
- Use_CCI_OBOS_Filter (Default: false) -> Enables or disables extreme CCI level breakout filtering[cite: 3].
- CCI_OBOS_Period (Default: 14) -> Calculation period in bars for the CCI OB/OS filter[cite: 3].
- CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI OB/OS filter[cite: 3].
- CCI_Overbought (Default: 100.0) -> Upper CCI level threshold[cite: 3].
- CCI_Oversold (Default: -100.0) -> Lower CCI level threshold[cite: 3].
- InpFilter12 (Default: "=== 12. RVI FILTERS ===") -> Section header for Relative Vigor Index filters[cite: 3].
- Use_RVI_Filter (Default: false) -> Enables or disables RVI zero-line trend confirmation[cite: 3].
- RVI_Period (Default: 75) -> Calculation period in bars for the RVI trend filter[cite: 3].
- Use_RVI_Signal_Filter (Default: false) -> Enables or disables RVI main vs signal line alignment check[cite: 3].
- RVI_Signal_Period (Default: 20) -> Calculation period in bars for the RVI signal line filter[cite: 3].
- InpFilter13 (Default: "=== 13. MACD FILTERS ===") -> Section header for MACD filters[cite: 3].
- Use_MACD_Filter (Default: false) -> Enables or disables MACD histogram polarity confirmation[cite: 3].
- MACD_FastEMA (Default: 12) -> Fast EMA period in bars for MACD calculation[cite: 3].
- MACD_SlowEMA (Default: 26) -> Slow EMA period in bars for MACD calculation[cite: 3].
- MACD_SignalSMA (Default: 9) -> Signal SMA period in bars for MACD calculation[cite: 3].
- MACD_Applied (Default: PRICE_CLOSE) -> Applied price type for MACD calculation[cite: 3].
- Use_MACD_Zero_Filter (Default: false) -> Enables or disables MACD main line position relative to the zero level[cite: 3].
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ===") -> Section header for Support/Resistance and Fibonacci filters[cite: 3].
- Use_SR_Filter (Default: false) -> Enables or disables proximity validation near recent swing high/low zones[cite: 3].
- SR_Period (Default: 50) -> Lookback period in bars to identify recent Support and Resistance levels[cite: 3].
- SR_Zone_Points (Default: 80) -> Tolerance zone width in broker points around Support/Resistance levels[cite: 3].
- Use_Fib_Filter (Default: false) -> Enables or disables price interaction check within swing Fibonacci retracement zones[cite: 3].
- Fib_Level_1 (Default: 0.382) -> First Fibonacci retracement ratio boundary[cite: 3].
- Fib_Level_2 (Default: 0.618) -> Second Fibonacci retracement ratio boundary[cite: 3].
- ZigZag_Depth (Default: 12) -> Minimum bar depth parameter for swing point detection[cite: 3].
- ZigZag_Deviation (Default: 5) -> Minimum price deviation in points for swing point detection[cite: 3].
- ZigZag_Backstep (Default: 3) -> Minimum bar separation between consecutive swing highs or lows[cite: 3].
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ===") -> Section header for ATR-based Supertrend filter[cite: 3].
- Use_Supertrend_Filter (Default: false) -> Enables or disables directional trend filtering using the Supertrend algorithm[cite: 3].
- ST_AtrPeriod (Default: 10) -> ATR period length in bars used in Supertrend band calculations[cite: 3].
- ST_Factor (Default: 3.0) -> Multiplier factor applied to ATR for Supertrend band width[cite: 3].
5. Scanner and System Settings
- InpSecScanner (Default: "=== SCANNER SETTINGS ===") -> Section header for multi-symbol scanner configuration[cite: 1].
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD") -> Comma-separated list of symbols to scan when InpUseWatch is disabled[cite: 1].
- InpTimeframes (Default: "M1,M5,M15,M30,H1,H4,D1") -> Comma-separated list of target timeframes to scan[cite: 1].
- InpUseWatch (Default: true) -> When true, automatically scans symbols visible in the MT4 Market Watch window[cite: 1].
- InpMaxSymbols (Default: 10) -> Maximum number of symbols processed simultaneously by the scanner[cite: 1].
- InpScanSec (Default: 5) -> Timer interval in seconds between automatic market scans[cite: 1].
- InpBarsCopy (Default: 200) -> Number of historical bars copied per symbol and timeframe for calculation[cite: 1].
- InpDirection (Default: 0) -> Signal direction filter mode (0 = Both Buy and Sell, 1 = Buy Only, 2 = Sell Only)[cite: 1].
- InpLatestOnly (Default: true) -> Processes only the most recent signal event per symbol and timeframe pair[cite: 1].
6. Chart Display and Signal Arrows
- InpSecDisplay (Default: "=== CHART DISPLAY ===") -> Section header for on-chart visual settings[cite: 1].
- InpDrawOnChart (Default: true) -> Enables or disables plotting Moving Averages and signal arrows on the current chart[cite: 1].
- InpDrawHistory (Default: true) -> Enables or disables displaying historical signal arrows across past bars[cite: 1].
- InpDrawHA (Default: false) -> Enables or disables rendering Heiken Ashi candlesticks on the main chart window[cite: 1].
- InpHidePriceCandles (Default: false) -> Hides native MT4 candlesticks by matching background color when Heiken Ashi overlay is active[cite: 1].
- InpSecArrows (Default: "=== SIGNAL ARROW CODES ===") -> Section header for arrow appearance settings[cite: 1].
- SignalOffset (Default: 12) -> Vertical spacing distance in points between signal arrows and candle highs/lows[cite: 1].
- BuyArrowCode (Default: 233) -> Wingdings character code used for bullish Buy arrows[cite: 1].
- SellArrowCode (Default: 234) -> Wingdings character code used for bearish Sell arrows[cite: 1].
7. Alert Notifications
- InpSecAlerts (Default: "=== ALERT NOTIFICATIONS ===") -> Section header for notification settings[cite: 1].
- InpAlertPopup (Default: true) -> Enables or disables standard MetaTrader 4 pop-up alert windows[cite: 1].
- InpAlertSound (Default: true) -> Enables or disables audible sound playback upon signal detection[cite: 1].
- InpAlertSoundFile (Default: "alert.wav") -> Filename of the WAV audio file located in the MT4 Sounds directory[cite: 1].
- InpAlertPush (Default: false) -> Enables or disables push notifications to the MetaTrader mobile app[cite: 1].
- InpAlertEmail (Default: false) -> Enables or disables email notifications via MT4 SMTP settings[cite: 1].
- InpAlertOnlyNew (Default: true) -> Restricts alerts to trigger only once per newly closed signal bar[cite: 1].
8. Dashboard Panel, Layout, and Theme Colors
- InpSecDash (Default: "=== DASHBOARD PANEL & LAYOUT ===") -> Section header for dashboard layout settings[cite: 1].
- InpX (Default: 12) -> Initial horizontal X-coordinate in pixels from the upper-left chart corner[cite: 1].
- InpY (Default: 28) -> Initial vertical Y-coordinate in pixels from the upper-left chart corner[cite: 1].
- InpScale (Default: 110) -> Interface scaling percentage (valid range: 70 to 180 percent)[cite: 1].
- InpRowH (Default: 18) -> Base height in pixels for each dashboard table row[cite: 1].
- InpFont (Default: 7) -> Base font size for dashboard text labels[cite: 1].
- InpPadX (Default: 7) -> Horizontal inner padding in pixels within the dashboard container[cite: 1].
- InpWPair (Default: 70) -> Column width in pixels for the symbol name column[cite: 1].
- InpWTF (Default: 34) -> Column width in pixels for the timeframe column[cite: 1].
- InpWArah (Default: 46) -> Column width in pixels for the signal direction column[cite: 1].
- InpWTime (Default: 106) -> Column width in pixels for the signal timestamp column[cite: 1].
- InpWPrice (Default: 68) -> Column width in pixels for the signal price column[cite: 1].
- InpWSL (Default: 68) -> Column width in pixels for the Stop Loss column[cite: 1].
- InpWTP1 (Default: 68) -> Column width in pixels for the Take Profit 1 column[cite: 1].
- InpWTP2 (Default: 68) -> Column width in pixels for the Take Profit 2 column[cite: 1].
- InpWUmur (Default: 46) -> Column width in pixels for the elapsed signal age column[cite: 1].
- InpWOpen (Default: 46) -> Column width in pixels for the chart-switch action button column[cite: 1].
- InpShowEmpty (Default: false) -> Determines whether scanned pairs without active valid signals remain visible in the table[cite: 1].
- InpMaxRows (Default: 17) -> Maximum number of signal rows displayed simultaneously on the dashboard[cite: 1].
- InpSortBy (Default: SORT_TIME) -> Default column used for sorting dashboard rows (Time, Pair, Timeframe, or Direction)[cite: 1].
- InpSortNewest (Default: true) -> Sets default sort order to display newest signals at the top[cite: 1].
- InpSecColors (Default: "=== THEME COLORS ===") -> Section header for dashboard color customization[cite: 1].
- InpColBg (Default: C'18,22,28') -> Main dashboard background color[cite: 1].
- InpColHead (Default: C'32,38,48') -> Header bar and button background color[cite: 1].
- InpColRow (Default: C'24,28,36') -> Alternating even table row background color[cite: 1].
- InpColRow2 (Default: C'28,33,42') -> Alternating odd table row background color[cite: 1].
- InpColText (Default: C'220,225,230') -> Primary dashboard text color[cite: 1].
- InpColBull (Default: C'0,200,83') -> Text color for bullish BUY signal indicators[cite: 1].
- InpColBear (Default: C'255,82,82') -> Text color for bearish SELL signals and Stop Loss values[cite: 1].
- InpColMute (Default: C'120,128,140') -> Muted text color for secondary labels and status information[cite: 1].
- InpColAccent (Default: C'41,98,255') -> Accent color for dashboard title and active sort headers[cite: 1].
- InpColPrice (Default: C'0,188,212') -> Text color for entry price values[cite: 1].
- InpColTP1 (Default: C'76,175,80') -> Text color for Take Profit 1 price values[cite: 1].
- InpColTP2 (Default: C'0,230,118') -> Text color for Take Profit 2 price values[cite: 1].
Risk Disclaimer
Trading foreign exchange, commodities, and other financial instruments carries a high level of risk and may not be suitable for all investors[cite: 2]. Past performance or historical signal behavior does not guarantee future results[cite: 2]. This indicator is an analytical software utility intended solely to assist with technical chart analysis and does not constitute financial advice or a guarantee of profit[cite: 2]. Always test this product thoroughly on a demo account to understand its operational behavior before using it in live market environments[cite: 2].
