MACD Lv0 Cross Scanner Dashboard All PairTimeframe
- Indicatori
- Versione: 1.20
- Aggiornato: 26 ottobre 2026
- Attivazioni: 5
Overview: MACD Scanner Dashboard Pro is an advanced, multi-symbol, multi-timeframe analytical interface designed specifically for the MetaTrader 5 terminal. Its primary operational purpose is to systematically scan the market for Moving Average Convergence Divergence (MACD) crossover configurations across a user-defined array of currency pairs and timeframes. This utility aggregates complex analytical data into a single interactive graphical user interface, eliminating the need to monitor multiple charts manually. It integrates a sophisticated 14-algorithm technical filtering framework (MultiFilterSuite) engineered to validate foundational MACD signals against a rigorous set of secondary metrics including trend direction, market momentum, baseline volatility, and historical price action structures. The software functions strictly as an analytical tool, providing an interactive dashboard that plots dynamic entry levels, Average True Range (ATR) based Stop Loss boundaries, and multiple Risk-to-Reward (RR) Take Profit targets directly on the active chart interface upon user command.
Operating Principle & Signal Logic: The core analytical engine relies on the mathematical evaluation of the standard MACD indicator. To ensure signal stability and structural integrity, the algorithm strictly evaluates data on closed candlesticks (historical shift 1 and shift 2). By referencing completed price data, the tool operates strictly as a non-repainting indicator. Once a candle closes and a specific signal is registered on the dashboard, it is permanent and will not recalculate or shift retrospectively. The system features two user-selectable calculation modes for its primary trigger. Mode 1 (MACD Signal Line Crossover) triggers a baseline BUY condition when the MACD Main Line (the mathematical difference between the Fast EMA and Slow EMA) crosses above the MACD Signal Line (the SMA of the Main Line) from below. It triggers a SELL condition when the Main Line crosses below the Signal Line from above. Mode 1 includes an optional Zero Line Filter, mandating that valid BUY crossovers must occur mathematically below the 0.0 histogram baseline, and SELL crossovers must occur strictly above the 0.0 baseline to capture mean-reversion impulses. Mode 2 (MACD Level 0 Crossover) alters the trigger mechanism entirely. It triggers a BUY condition when the MACD Main Line explicitly crosses the 0.0 baseline upwards (transitioning from a negative to a positive value), and a SELL condition when the Main Line crosses the 0.0 baseline downwards. After the primary MACD trigger is detected, the signal is routed through the MultiFilterSuite class. The signal must survive a boolean evaluation against every activated secondary filter. If all active filter functions return a 'true' state, validating the market direction, the signal is formally registered on the dashboard. Upon registration, the risk management module calculates a dynamic Stop Loss by reading the absolute Average True Range (ATR) value at the specific signal candle, multiplying it by a user-defined coefficient, and applying it to the closing price. Take Profit 1 and Take Profit 2 are calculated strictly based on Risk-to-Reward mathematical ratios applied to the established ATR Stop Loss physical distance, ensuring a structured algorithmic exit projection.
Key Features: The utility features an interactive on-chart graphical dashboard rendering real-time data columns including Symbol Pair, Timeframe, Trade Direction, Signal Timestamp, Entry Price, Stop Loss, Take Profit 1, Take Profit 2, absolute MACD Value, and the chronological Age of the signal. The interface includes clickable "OPEN" buttons for every registered signal, executing a command to instantly switch the active chart's symbol and timeframe to match the selected signal, seamlessly plotting historical visualization data. On-chart visual rendering includes drawing automated horizontal trendlines for Entry, SL, and TP levels, alongside directional Wingdings arrows pointing to the exact trigger candle. The dashboard includes dynamic multi-sorting capabilities, allowing the user to organize the signal matrix by Timestamp, Symbol Name, Timeframe, or Direction (Bullish/Bearish) with ascending or descending toggles. The scanning engine is timer-based, executing calculations at controlled intervals to strictly manage CPU load and prevent terminal interface freezing when processing heavy multi-dimensional arrays. Comprehensive alert mechanisms are embedded, routing data through MetaTrader terminal pop-up message boxes, local sound files, push notifications to the MetaQuotes mobile application, and SMTP email forwarding.
Operation & Setup Recommendations: This analytical software is technically compatible with all liquid financial instruments provided by the broker, including major forex pairs, minor crosses, commodities, and indices. Supported timeframe parameters range from M5 to D1. Structural MACD analysis is generally optimized for intraday and swing horizons (M15, H1, H4). Users are advised to deploy this tool on an ECN or Raw Spread account configuration. Because the Stop Loss and Take Profit projections are calculated using precise mathematical ATR distance, excessive broker spread or artificial markups can skew the validity of the plotted risk-to-reward zones. Scanning a high volume of market pairs across numerous timeframes simultaneously requires significant central processing unit (CPU) allocation. If the MetaTrader 5 terminal exhibits latency, it is recommended to reduce the 'InpMaxSymbols' parameter, limit the 'InpTimeframes' string, or increase the 'InpScanSec' timer interval to allow the processor adequate time to clear data buffer arrays between operational cycles.
Input Parameters List:
[ENTRY METHOD SELECTION]
InpEntryMode (Default: MODE_MACD_SIGNAL_CROSS) -> Defines the core foundational strategy. Select MODE_MACD_SIGNAL_CROSS to search for intersections between the MACD Main Line and its Signal Line, or MODE_MACD_LEVEL_0_CROSS to monitor for absolute transitions of the Main Line across the zero histogram boundary.
[SCANNER CORE SETTINGS]
InpSymbols (Default: EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD) -> A comma-separated string array dictating the exact financial instruments the engine will monitor. Ensure the syntax matches the broker's specific naming convention exactly.
InpTimeframes (Default: M5,M15,M30,H1,H4) -> A comma-separated string list of chart timeframes to be processed during each scanning cycle. Valid inputs include standard MetaTrader timeframes.
InpUseWatch (Default: true) -> Boolean toggle determining the symbol sourcing method. If true, the algorithm ignores the InpSymbols string and extracts all visible instruments populated in the MetaTrader Market Watch window.
InpMaxSymbols (Default: 15) -> A hard-coded mathematical ceiling on the number of symbols the dashboard will process simultaneously to prevent memory buffer overflow.
InpScanSec (Default: 7) -> The chronological interval in seconds dictating the execution frequency of the background scanning loop.
InpBarsCopy (Default: 120) -> Specifies the integer amount of historical candlestick bars loaded into the memory buffer per symbol and timeframe for indicator calculations.
InpLookback (Default: 50) -> The maximum backward iteration limit for the signal search algorithm, determining how far back to look for the most recent valid crossover event.
InpDirection (Default: 0) -> Configures the directional bias of the scanning matrix. 0 searches for Both, 1 restricts to Buy setups exclusively, 2 restricts to Sell setups exclusively.
[MACD CORE PARAMETERS]
FastEMA (Default: 12) -> Defines the calculation period for the Fast Exponential Moving Average component of the MACD oscillator.
SlowEMA (Default: 26) -> Defines the calculation period for the Slow Exponential Moving Average component of the MACD oscillator.
SignalSMA (Default: 9) -> Defines the Simple Moving Average period applied to the MACD Main Line to create the secondary Signal Line.
AppliedPrice (Default: PRICE_CLOSE) -> Selects the specific price data point utilized for all moving average calculations within the MACD algorithm.
UseZeroFilter (Default: true) -> Mandates that a Bullish crossover is only valid if the MACD value is below 0.0, and a Bearish crossover is valid if the MACD value is above 0.0.
[ATR SL & TP PARAMETERS]
InpATRPeriod (Default: 14) -> Specifies the lookback period in bars utilized for the Average True Range volatility calculation.
InpATRMultSL (Default: 1.5) -> A decimal multiplier applied to the absolute ATR value to establish the precise coordinate for the dynamic Stop Loss boundary.
InpTP1_RR (Default: 1.0) -> A mathematical multiplier establishing the Risk-to-Reward ratio for the first Take Profit zone.
InpTP2_RR (Default: 2.0) -> A mathematical multiplier establishing the Risk-to-Reward ratio for the secondary Take Profit zone.
[ALERT & NOTIFICATIONS]
InpAlertPopup (Default: false) -> Triggers the native MetaTrader alert dialogue box containing symbol, timeframe, direction, and price level data.
InpAlertSound (Default: false) -> Triggers a local audio cue upon the registration of a valid signal.
InpSoundFile (Default: alert.wav) -> The exact filename of the audio asset stored in the terminal's Sounds directory to be executed for alerts.
InpAlertPush (Default: false) -> Routes text-based signal data through the MetaQuotes ID network for mobile push notifications.
InpAlertEmail (Default: false) -> Compiles the signal data into an email body and forwards it via the configured SMTP server.
InpEmailSubject (Default: MACD Scanner Signal) -> Configures the specific text string utilized as the header subject line for outgoing email alerts.
InpAlertOnlyNew (Default: false) -> An anti-spam toggle that cross-references the signal timestamp with memory to ensure an alert is only fired once per unique crossover event.
[DISPLAY & LAYOUT]
InpX (Default: 12) -> Sets the horizontal pixel offset distance for anchoring the dashboard GUI on the chart.
InpY (Default: 28) -> Sets the vertical pixel offset distance for anchoring the dashboard GUI on the chart.
InpScale (Default: 100) -> Global scaling parameter defined as a percentage, enabling magnification of all graphical elements for high-resolution displays.
InpRowH (Default: 18) -> Defines the vertical height dimension in pixels allocated for every individual signal row within the table structure.
InpFont (Default: 8) -> Establishes the baseline font size parameter applied to all text objects rendered within the dashboard columns.
InpPadX (Default: 8) -> Specifies the internal margin padding applied within each table cell to prevent text overlap.
InpWPair (Default: 68) -> Width variable determining the horizontal pixel length allocated for the Pair column.
InpWTF (Default: 34) -> Width variable determining the horizontal pixel length allocated for the Timeframe column.
InpWArah (Default: 44) -> Width variable determining the horizontal pixel length allocated for the Direction column.
InpWTime (Default: 96) -> Width variable determining the horizontal pixel length allocated for the Timestamp column.
InpWEntry (Default: 64) -> Width variable determining the horizontal pixel length allocated for the Entry Price column.
InpWSL (Default: 64) -> Width variable determining the horizontal pixel length allocated for the Stop Loss column.
InpWTP1 (Default: 64) -> Width variable determining the horizontal pixel length allocated for the Take Profit 1 column.
InpWTP2 (Default: 64) -> Width variable determining the horizontal pixel length allocated for the Take Profit 2 column.
InpWMACD (Default: 56) -> Width variable determining the horizontal pixel length allocated for the MACD Value column.
InpWUmur (Default: 42) -> Width variable determining the horizontal pixel length allocated for the Signal Age column.
InpWOpen (Default: 44) -> Width variable determining the horizontal pixel length allocated for the interactive Open Button column.
InpShowEmpty (Default: false) -> Diagnostic toggle. If true, the dashboard renders rows for scanned symbols even when no valid signal is currently active.
InpMaxRows (Default: 18) -> A structural limitation setting the absolute maximum number of graphical rows the dashboard is permitted to draw to prevent screen overflow.
[SORTING]
InpSortBy (Default: SORT_TIME) -> Establishes the default metric utilized by the sorting algorithm to organize the signal array.
InpSortNewest (Default: true) -> Toggles the chronological orientation of the sorting array, pinning the most recent market events to the top of the table.
[DRAW ON CHART]
InpDrawOnChart (Default: true) -> The master toggle for historical visualization. When set to true, clicking a signal's OPEN button will instruct the engine to plot physical levels on the chart.
InpShowArrow (Default: true) -> Dictates the rendering of physical Wingdings directional arrows plotted precisely at the triggering candlestick.
InpShowLevels (Default: true) -> Dictates the rendering of horizontal OBJ_TREND lines representing the calculated numerical coordinates for Entry, SL, and TP targets.
InpExtendBars (Default: 25) -> Determines the forward projection length of the horizontal level lines into future chart space based on bar count.
InpArrowCodeBuy (Default: 233) -> Specifies the exact Wingdings character map decimal code utilized to draw the Bullish entry directional icon.
InpArrowCodeSell (Default: 234) -> Specifies the exact Wingdings character map decimal code utilized to draw the Bearish entry directional icon.
InpArrowSize (Default: 2) -> Modifies the physical width and prominence of the rendered chart arrows.
InpArrowDistance (Default: 15) -> Determines the exact physical separation calculated in absolute market points between the candlestick extremity and the arrow anchor coordinate.
[THEME COLORS]
InpColBg (Default: C'18,22,28') -> Defines the primary background hexadecimal color code for the entire dashboard panel.
InpColHead (Default: C'32,38,48') -> Defines the background color code for the uppermost table header row containing sorting titles.
InpColRow (Default: C'24,28,36') -> Configures the primary background color for alternating individual signal rows.
InpColRow2 (Default: C'28,33,42') -> Configures the secondary background color for alternating individual signal rows to create a zebra-striped matrix.
InpColText (Default: C'220,225,230') -> Configures the primary typography color for neutral data points such as symbol names and numerical prices.
InpColBull (Default: C'0,220,130') -> Establishes the conditional typography color applied to text elements when a signal state is actively validated as a BUY.
InpColBear (Default: C'255,80,80') -> Establishes the conditional typography color applied to text elements when a signal state is actively validated as a SELL.
InpColMute (Default: C'120,128,140') -> Defines a secondary typography color utilized for inactive data, system status strings, and subtle UI instructions.
InpColAccent (Default: C'0,180,216') -> Defines the visual highlight color applied to active sorting column headers and interactive UI elements.
InpColArrowBuy (Default: C'0,230,118') -> Defines the fill color for the bullish directional Wingdings arrows plotted directly on the chart interface.
InpColArrowSell (Default: C'255,82,82') -> Defines the fill color for the bearish directional Wingdings arrows plotted directly on the chart interface.
InpColEntry (Default: C'0,180,216') -> Configures the specific color coding applied to the horizontal dotted projection line indicating the Entry price.
InpColSL (Default: C'255,82,82') -> Configures the specific color coding applied to the horizontal dotted projection line indicating the Stop Loss parameter.
InpColTP1 (Default: C'0,200,83') -> Configures the specific color coding applied to the horizontal dotted projection line indicating the first Take Profit zone.
InpColTP2 (Default: C'0,230,118') -> Configures the specific color coding applied to the horizontal dotted projection line indicating the secondary Take Profit zone.
[1. RSI CROSS FILTER]
Use_RSI_Cross_Filter (Default: false) -> Activates momentum boundary crossing validation. For a bullish setup, the RSI on shift 1 must be greater than the oversold limit while shift 2 was lower.
RSI_Length (Default: 14) -> The mathematical lookback period defining the number of bars utilized to calculate the Relative Strength Index.
RSI_Price_Source (Default: PRICE_CLOSE) -> The specific candlestick data parameter ingested by the RSI algorithmic formula.
RSI_Oversold (Default: 30.0) -> The specific lower numerical boundary required for bullish momentum validation.
RSI_Overbought (Default: 70.0) -> The specific upper numerical boundary required for bearish momentum validation.
[2. ADX FILTER]
Use_ADX_Filter (Default: false) -> Activates the Average Directional Index logic sequence ensuring the crossover occurs within a statistically defined trending environment.
ADX_Period (Default: 10) -> The number of historical bars processed to calculate the positive and negative directional indicators forming the ADX line.
ADX_Min_Level (Default: 20.0) -> The absolute threshold the main ADX line must exceed to authorize the MACD crossover signal.
[3. SINGLE MA FILTER]
Use_MA_Filter (Default: false) -> Implements a strict moving average directional filter. A BUY signal is authorized only if the closing price is mathematically higher than the current MA value.
MA_Period (Default: 50) -> The total quantity of bars processed in the moving average accumulation algorithm.
MA_Method (Default: MODE_SMA) -> The specific calculation methodology applied to the moving average series.
MA_Shift (Default: 0) -> Controls the horizontal displacement of the MA buffer moving the reference data chronologically.
[4. ICHIMOKU SENKOU SPAN B FILTER]
Use_Ichimoku_Filter (Default: false) -> Integrates the Ichimoku Kumo cloud boundary validation referencing the Senkou Span B buffer. Buy signals are invalidated if price is below the cloud.
Ichimoku_Tenkan (Default: 9) -> The lookback calculation period for the fast-moving conversion line parameter.
Ichimoku_Kijun (Default: 26) -> The lookback calculation period for the standard base line parameter.
Ichimoku_SenkouB (Default: 52) -> The extended calculation period dictating the structural projection of the leading cloud boundary.
[5. RSI 75 FILTER]
Use_RSI75_Filter (Default: false) -> Implements a secondary macro-level RSI baseline logic demanding that the RSI value resides strictly above 50.0 for bullish setups and below 50.0 for bearish setups.
RSI_Filter_Period (Default: 75) -> The elongated calculation period applied to the macro RSI array designed to filter out short-term fluctuations.
[6. DOUBLE MA FILTER]
Use_DoubleMA_Filter (Default: false) -> Activates an advanced dual moving average alignment protocol. A bullish trigger is rejected unless Moving Average A is mathematically greater than Moving Average B.
MA_A_Period (Default: 30) -> Defines the calculation length for the fast structural moving average element.
MA_A_Method (Default: MODE_EMA) -> The specific smoothing formula applied to the fast moving average buffer.
MA_A_Applied (Default: PRICE_CLOSE) -> The target price array ingested by the fast moving average formula.
MA_A_Shift (Default: 0) -> The horizontal projection offset applied to the fast moving average line.
MA_B_Period (Default: 140) -> Defines the calculation length for the slow structural moving average element.
MA_B_Method (Default: MODE_EMA) -> The specific smoothing formula applied to the slow moving average buffer.
MA_B_Applied (Default: PRICE_CLOSE) -> The target price array ingested by the slow moving average formula.
MA_B_Shift (Default: 0) -> The horizontal projection offset applied to the slow moving average line.
[7. AWESOME OSCILLATOR FILTER]
Use_AO_Filter (Default: false) -> Engages the Bill Williams Awesome Oscillator evaluation subroutine analyzing the difference between median price moving averages.
Use_AO_Volume_Filter (Default: false) -> Dictates that the absolute numerical value of the AO histogram must breach extreme minimum or maximum levels to validate the signal setup.
AO_Buy_Min (Default: 4.0) -> The required positive threshold the AO histogram must reach to authorize a bullish MACD entry.
AO_Sell_Max (Default: -4.0) -> The required negative threshold the AO histogram must reach to authorize a bearish MACD entry.
Use_AO_Color_Filter (Default: false) -> Implements a rate-of-change dynamic where valid BUYs require the current AO value to be strictly greater than the previous bar's AO value.
Use_AO_Zero_Filter (Default: false) -> Mandates a strict zero-line polarity where BUYs are only permitted if the AO histogram is resting physically above the 0.0 baseline.
[8. PARABOLIC SAR FILTER]
Use_SAR_Filter (Default: false) -> Activates the Parabolic Stop and Reverse position matrix requiring the closing price to reside on the correct side of the SAR curve to confirm trend direction.
SAR_Step (Default: 0.02) -> The algorithmic acceleration factor determining how quickly the SAR dot series closes in on the price action.
SAR_Maximum (Default: 0.2) -> The absolute upper mathematical constraint preventing the acceleration factor from scaling infinitely.
[9. HEIKEN ASHI FILTER]
Use_HeikenAshi_Filter (Default: false) -> Activates a synthetic candlestick loop where a MACD signal is rejected if the corresponding Heiken Ashi candle resolves as contradictory to the signal direction.
[10. CCI TREND FILTER]
Use_CCI_Filter (Default: false) -> Engages the Commodity Channel Index baseline trend verification logic requiring the CCI value to reside strictly above 0.0 for bullish setups.
CCI_Period (Default: 50) -> Specifies the integer lookback range defining the moving average components of the baseline CCI formula.
CCI_Applied (Default: PRICE_CLOSE) -> Selects the input price vector processed by the core CCI calculation loop.
[11. CCI OB & OS FILTER]
Use_CCI_OBOS_Filter (Default: false) -> Engages a secondary Commodity Channel Index subroutine designed specifically to detect historical extremities before signal validation.
CCI_OBOS_Period (Default: 14) -> Specifies the shorter-term lookback range utilized exclusively for the extremity calculation matrix.
CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Selects the input price vector processed by the secondary CCI algorithmic loop.
CCI_Overbought (Default: 100.0) -> Determines the upper extremity requirement that the previous CCI value must have exceeded prior to a valid bearish cross.
CCI_Oversold (Default: -100.0) -> Determines the lower extremity requirement that the previous CCI value must have dropped below prior to a valid bullish cross.
[12. RVI FILTERS]
Use_RVI_Filter (Default: false) -> Implements the Relative Vigor Index baseline logic requiring the main RVI line to be above zero for BUYS and below zero for SELLS.
RVI_Period (Default: 75) -> Determines the period over which the price range and open-close differences are smoothed in the main algorithm.
Use_RVI_Signal_Filter (Default: false) -> Engages a localized RVI crossover protocol mandating that the RVI Main Line must reside above the RVI Signal Line for bullish validation.
RVI_Signal_Period (Default: 20) -> Sets the specific calculation period governing the smoothing of the secondary RVI Signal Line component.
[13. MACD FILTERS]
Use_MACD_Filter (Default: false) -> Introduces a dual-MACD verification architecture where the primary MACD signal is cross-referenced against a secondary MACD histogram array for structural confirmation.
MACD_FastEMA (Default: 12) -> Fast EMA calculation period governing the secondary filtering MACD indicator.
MACD_SlowEMA (Default: 26) -> Slow EMA calculation period governing the secondary filtering MACD indicator.
MACD_SignalSMA (Default: 9) -> Signal SMA calculation period applied specifically to the secondary MACD array.
MACD_Applied (Default: PRICE_CLOSE) -> Input price parameter utilized exclusively for the secondary MACD algorithm.
Use_MACD_Zero_Filter (Default: false) -> Enforces a rigid polarity requirement mandating the secondary Main Line physically resides above 0.0 for BUYS and below 0.0 for SELLS.
[14. SR & FIBONACCI FILTERS]
Use_SR_Filter (Default: false) -> Activates a dynamic geometrical scanning loop searching historical highs and lows. Signals are authorized only if the trigger candle interacts with these calculated Support and Resistance zones.
SR_Period (Default: 50) -> The number of backward chronological bars scanned to identify the absolute maximum and minimum values acting as structural barriers.
SR_Zone_Points (Default: 80) -> Defines the mathematical thickness of the Support and Resistance barrier creating a tolerance band calculated in physical market points.
Use_Fib_Filter (Default: false) -> Engages a sophisticated dynamic Fibonacci retracement tool deploying a hidden ZigZag subroutine to calculate fractional retracement levels. Signals are rejected unless price touches the target zone.
Fib_Level_1 (Default: 0.382) -> The primary fractional mathematical ratio utilized to define the first boundary of the target Fibonacci retracement area.
Fib_Level_2 (Default: 0.618) -> The secondary fractional mathematical ratio utilized to define the second boundary of the target Fibonacci retracement area.
ZigZag_Depth (Default: 12) -> The primary depth parameter defining the minimal number of bars required to confirm a genuine structural swing high or swing low.
ZigZag_Deviation (Default: 5) -> The minimal mathematical price movement defined in points required between a previous extreme and current price to form a new anchor.
ZigZag_Backstep (Default: 3) -> The minimal number of horizontal bars required between consecutive historical local extremities to establish valid Fibonacci calculations.
Risk Disclaimer: Trading foreign exchange, commodities, and other leveraged financial instruments involves a significant degree of risk and may result in the loss of invested capital. This activity may not be suitable for all investors. Past performance, including algorithmic simulations, does not guarantee future results. This software application is strictly an analytical and operational tool designed to assist traders in identifying potential technical analysis configurations based on raw mathematical formulas. It does not provide financial advice or guarantee profit under any market condition. Sudden market volatility, liquidity gaps, news events, or broker slippage can adversely affect the execution of calculated dynamic risk levels such as Stop Loss or Take Profit. Users are explicitly required to thoroughly test this product on a simulated Demo account over a substantial period to comprehend its operational behavior, scanning mechanics, and user interface before considering deployment in live trading environments. By executing this software, the user assumes full responsibility for all trading decisions and outcomes.
