Scan Alligator Scanner Dashboard All PairTimeframe
- Göstergeler
- Sürüm: 2.0
- Etkinleştirmeler: 5
### Overview
Alligator Scanner Dashboard is an analytical multi-currency and multi-timeframe tool developed for MetaTrader 5 (MT5). Based on Bill Williams' market structure principles, the indicator monitors three Smoothed Moving Averages (SMMA): Jaw (13-period SMMA, shift 8), Teeth (8-period SMMA, shift 5), and Lips (5-period SMMA, shift 3). The tool eliminates chart switching by consolidating real-time trend expansion signals across multiple assets into an interactive dashboard.
The scanner monitors up to 15 symbols across six timeframes simultaneously (M5 to D1, supporting M1 to MN1). When lines expand on a closed bar, the system logs the setup, computes ATR-based Stop Loss and dual Take Profit targets (1:1 and 2:1 RR), and displays actionable levels in an on-screen table. The system also embeds 17 modular filters—spanning oscillators, moving averages, and market structure—to validate momentum and filter false breakouts before entry.
### Operating Principle and Signal Logic
#### 1. Mathematical Foundation
Calculates three Smoothed Moving Averages using median price ((High + Low) / 2):
* Alligator Jaw (Blue): 13-period SMMA with an 8-bar forward displacement shift.
* Alligator Teeth (Red): 8-period SMMA with a 5-bar forward displacement shift.
* Alligator Lips (Green): 5-period SMMA with a 3-bar forward displacement shift.
SMMA formula: First value is SMA; subsequent values: SMMA(t) = [SMMA(t - 1) * (N - 1) + Price(t)] / N.
#### 2. Visual Shift Synchronization
Standard Alligator lines apply forward shifts. InpShiftAdjust = true aligns buffer offsets with historical bar indices (i + Shift), ensuring calculations match visible geometry on closed candles.
#### 3. Signal Trigger Conditions
Evaluated strictly on completed bars (Bar i >= 1). The open bar (Bar 0) is never used, guaranteeing zero repainting.
* Bullish Expansion (Buy Signal):
- Alignment: Lips > Teeth and Teeth > Jaw at Bar i.
- New Expansion Check (InpOnlyNewSignal = true): At Bar i + 1, alignment was not met. Isolates initial breakout bar.
- Direction Gate: InpDirection is 0 (Buy & Sell) or 1 (Buy Only).
- Validation: Passes all enabled modular filters at Bar i.
* Bearish Expansion (Sell Signal):
- Alignment: Jaw > Teeth and Teeth > Lips at Bar i.
- New Expansion Check (InpOnlyNewSignal = true): At Bar i + 1, alignment was not met.
- Direction Gate: InpDirection is 0 (Buy & Sell) or 2 (Sell Only).
- Validation: Passes all enabled modular filters at Bar i.
#### 4. Absolute Non-Repainting Execution
All calculations are performed on closed bars. Once a candle closes and a signal is logged or alerted, arrows, prices, and ATR levels remain fixed.
#### 5. Dynamic Volatility Risk Framework (ATR)
Calculates risk via Average True Range (ATR) over InpATRPeriod (default: 14):
* Stop Loss (SL): Buy = Entry - (ATR * InpATRMultSL); Sell = Entry + (ATR * InpATRMultSL).
* Take Profit 1 (TP1): 1:1 Risk-to-Reward ratio relative to SL distance.
* Take Profit 2 (TP2): 2:1 Risk-to-Reward ratio relative to SL distance.
### Key Technical Features
* Multi-Asset & Multi-Timeframe: Scans up to 15 symbols across six timeframes simultaneously from one chart.
* 17 Modular Confirmation Filters: Selectable filters across oscillators, moving averages, and price structures.
* Volatility-Based Levels: Calculates Entry, Stop Loss, and dual Take Profit targets (1:1 and 2:1 RR) via ATR.
* Interactive On-Chart Panel: Draggable, resizable, collapsible GUI with real-time column sorting.
* One-Click Chart Switcher: The OPEN button switches active chart to the selected symbol and timeframe.
* Direct Chart Visuals: Renders directional arrows, entry levels, Stop Loss lines, and TP targets on chart.
* Multi-Channel Alerts: Alerts via MT5 pop-up dialogs, sound files (.wav), push notifications, and emails.
### Recommendations and Operational Specifications
* Recommended Instruments: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURJPY, GBPJPY, XAUUSD. Universal across liquid Market Watch symbols.
* Supported Timeframes: All standard MT5 timeframes (M1 to MN1). M15, H1, and H4 recommended for intraday and swing trend scanning; M5 for momentum scanning.
* Account Types: Compatible with Hedging and Netting accounts on standard, Raw Spread, and ECN broker environments.
* Performance: Analytical dashboard with low resource usage. A scanning interval of 5 to 10 seconds provides smooth operation.
### Modular Filter Suite
The indicator embeds 17 modular filters that can be activated individually or combined:
1. RSI Crossover Filter (Use_RSI_Cross_Filter): Requires RSI (14) cross above 30 for Buy, or below 70 for Sell.
2. ADX Trend Filter (Use_ADX_Filter): Confirms trend strength; requires ADX (10) >= ADX_Min_Level (default: 20.0).
3. Single MA Filter (Use_MA_Filter): Requires price close above Moving Average for Buy, or below for Sell.
4. Ichimoku Senkou Span B Filter (Use_Ichimoku_Filter): Requires close above Senkou Span B (52) for Buy, or below for Sell.
5. RSI 75 Filter (Use_RSI75_Filter): Long-term baseline; Buy requires RSI > 50.0, Sell requires RSI < 50.0.
6. Double MA Filter (Use_DoubleMA_Filter): Requires fast MA_A to be above slow MA_B for Buy, and below for Sell.
7. Awesome Oscillator Filter (Use_AO_Filter): Verifies minimum magnitude, bar color, and zero-line alignment.
8. Parabolic SAR Filter (Use_SAR_Filter): Verifies SAR dot is below price for Buy, or above price for Sell.
9. Heiken Ashi Filter (Use_HeikenAshi_Filter): Validates synthetic candle direction (bullish for Buy, bearish for Sell).
10. CCI Trend Filter (Use_CCI_Filter): Requires 50-period CCI above zero for Buy, or below zero for Sell.
11. CCI OB/OS Filter (Use_CCI_OBOS_Filter): Confirms momentum when CCI exceeds +100 for Buy, or falls below -100 for Sell.
12. RVI Trend Filter (Use_RVI_Filter): Requires Relative Vigor Index main line above zero for Buy, or below zero for Sell.
13. RVI Signal Filter (Use_RVI_Signal_Filter): Requires RVI main line above signal line for Buy, or below for Sell.
14. MACD Signal Filter (Use_MACD_Filter): Requires MACD histogram (Main - Signal) to be positive for Buy, negative for Sell.
15. MACD Zero Filter (Use_MACD_Zero_Filter): Requires MACD main line above zero for Buy, or below zero for Sell.
16. Support & Resistance Filter (Use_SR_Filter): Requires price to test support for Buy, or resistance for Sell (within SR_Zone_Points).
17. Fibonacci Filter (Use_Fib_Filter): Verifies price testing the 0.382 to 0.618 golden retracement zone via ZigZag swings.
### Input Parameters
Every parameter available in the MetaTrader 5 Inputs tab is documented below:
#### Scanner Settings
* InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD") -> Asset symbols list.
* InpTimeframes (Default: "M5,M15,M30,H1,H4,D1") -> Operational timeframes list.
* InpUseWatch (Default: true) -> Enables scanning all symbols from Market Watch.
* InpMaxSymbols (Default: 15) -> Maximum number of symbols scanned simultaneously (Unit: count).
* InpScanSec (Default: 7) -> Periodic background scanning interval via timer (Unit: seconds).
* InpBarsCopy (Default: 120) -> Quantity of historical price bars copied per chart (Unit: bars).
* InpLookback (Default: 50) -> Historical bar depth searched for Alligator setups (Unit: bars).
* InpDirection (Default: 0) -> Direction filter (0 = Buy & Sell, 1 = Buy Only, 2 = Sell Only).
#### Alligator Settings
* InpJawPeriod (Default: 13) -> Smoothing averaging period for Jaw line (Unit: bars).
* InpJawShift (Default: 8) -> Forward displacement shift for Jaw line (Unit: bars).
* InpTeethPeriod (Default: 8) -> Smoothing averaging period for Teeth line (Unit: bars).
* InpTeethShift (Default: 5) -> Forward displacement shift for Teeth line (Unit: bars).
* InpLipsPeriod (Default: 5) -> Smoothing averaging period for Lips line (Unit: bars).
* InpLipsShift (Default: 3) -> Forward displacement shift for Lips line (Unit: bars).
* InpMAMethod (Default: MODE_SMMA) -> Smoothing method for Alligator lines (SMMA, EMA, SMA, LWMA).
* InpAppliedPrice (Default: PRICE_MEDIAN) -> Applied price constant ((High + Low) / 2).
* InpShiftAdjust (Default: true) -> Synchronizes visual shifts with candle bar indices.
* InpOnlyNewSignal (Default: true) -> Restricts alerts to initial expansion breakout candles.
#### ATR SL & TP Settings
* InpATRPeriod (Default: 14) -> Calculation period for Average True Range (Unit: bars).
* InpATRMultSL (Default: 1.5) -> ATR multiplier for Stop Loss distance (Unit: multiplier).
* InpTP1_RR (Default: 1.0) -> Risk-to-Reward ratio for TP1 relative to SL (Unit: ratio).
* InpTP2_RR (Default: 2.0) -> Risk-to-Reward ratio for TP2 relative to SL (Unit: ratio).
#### RSI Cross Filter
* Use_RSI_Cross_Filter (Default: false) -> Toggles RSI boundary cross confirmation on or off.
* RSI_Length (Default: 14) -> Calculation period for RSI (Unit: bars).
* RSI_Price_Source (Default: PRICE_CLOSE) -> Applied price constant for RSI calculation.
* Oversold (Default: 30.0) -> Lower boundary index level for oversold upward cross.
* Overbought (Default: 70.0) -> Upper boundary index level for overbought downward cross.
#### ADX Filter
* Use_ADX_Filter (Default: false) -> Toggles ADX directional trend strength filter.
* ADX_Period (Default: 10) -> Calculation period for Average Directional Index (Unit: bars).
* ADX_Min_Level (Default: 20.0) -> Minimum ADX value required to confirm active trend presence.
#### Single MA Filter
* Use_MA_Filter (Default: false) -> Toggles Moving Average baseline trend confirmation.
* MA_Period (Default: 50) -> Averaging period for the Moving Average (Unit: bars).
* MA_Method (Default: MODE_SMA) -> Smoothing method applied to the Moving Average.
* MA_Applied (Default: PRICE_CLOSE) -> Applied price constant for Moving Average.
* MA_Shift (Default: 0) -> Horizontal displacement shift applied to MA (Unit: bars).
#### Ichimoku Senkou Span B Filter
* Use_Ichimoku_Filter (Default: false) -> Toggles Ichimoku cloud boundary confirmation.
* Ichimoku_Tenkan (Default: 9) -> Calculation period for Tenkan-sen conversion line (Unit: bars).
* Ichimoku_Kijun (Default: 26) -> Calculation period for Kijun-sen base line (Unit: bars).
* Ichimoku_SenkouB (Default: 52) -> Calculation period for Senkou Span B leading line (Unit: bars).
#### RSI 75 Filter
* Use_RSI75_Filter (Default: false) -> Toggles macro 75-period RSI baseline filter.
* RSI_Filter_Period (Default: 75) -> Averaging period for secondary trend RSI (Unit: bars).
* RSI_Filter_Price (Default: PRICE_CLOSE) -> Applied price constant for secondary RSI.
#### Double MA Filter
* Use_DoubleMA_Filter (Default: false) -> Toggles dual Moving Average crossover hierarchy filter.
* MA_A_Period (Default: 30) -> Period of faster Moving Average A (Unit: bars).
* MA_A_Method (Default: MODE_EMA) -> Smoothing method for Moving Average A.
* MA_A_Applied (Default: PRICE_CLOSE) -> Applied price constant for Moving Average A.
* MA_A_Shift (Default: 0) -> Displacement shift for Moving Average A (Unit: bars).
* MA_B_Period (Default: 140) -> Period of slower Moving Average B (Unit: bars).
* MA_B_Method (Default: MODE_EMA) -> Smoothing method for Moving Average B.
* MA_B_Applied (Default: PRICE_CLOSE) -> Applied price constant for Moving Average B.
* MA_B_Shift (Default: 0) -> Displacement shift for Moving Average B (Unit: bars).
#### Awesome Oscillator Filter
* Use_AO_Filter (Default: false) -> Master toggle for Awesome Oscillator momentum verification.
* Use_AO_Volume_Filter (Default: false) -> Enables minimum absolute value magnitude threshold check.
* AO_Buy_Min (Default: 4.0) -> Minimum positive AO value required for Buy setups (Unit: points).
* AO_Sell_Max (Default: -4.0) -> Maximum negative AO value required for Sell setups (Unit: points).
* Use_AO_Color_Filter (Default: false) -> Requires rising green bar for Buy, falling red for Sell.
* Use_AO_Zero_Filter (Default: false) -> Requires rising above zero for Buy, falling below zero for Sell.
#### Parabolic SAR Filter
* Use_SAR_Filter (Default: false) -> Toggles Parabolic SAR position verification.
* SAR_Step (Default: 0.02) -> Incremental acceleration factor for Parabolic SAR.
* SAR_Maximum (Default: 0.2) -> Maximum acceleration factor ceiling for Parabolic SAR.
#### Heiken Ashi Filter
* Use_HeikenAshi_Filter (Default: false) -> Toggles synthetic Heiken Ashi candle direction check.
#### CCI Trend Filter
* Use_CCI_Filter (Default: false) -> Toggles Commodity Channel Index zero-baseline confirmation.
* CCI_Period (Default: 50) -> Averaging period for trend CCI (Unit: bars).
* CCI_Applied (Default: PRICE_CLOSE) -> Applied price constant for trend CCI.
#### CCI OB & OS Filter
* Use_CCI_OBOS_Filter (Default: false) -> Toggles CCI overbought and oversold boundary check.
* CCI_OBOS_Period (Default: 14) -> Averaging period for momentum CCI (Unit: bars).
* CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Applied price constant for momentum CCI.
* CCI_Overbought (Default: 100.0) -> Upper momentum threshold required for Buy setups.
* CCI_Oversold (Default: -100.0) -> Lower momentum threshold required for Sell setups.
#### RVI Trend Filter
* Use_RVI_Filter (Default: false) -> Toggles Relative Vigor Index zero-baseline verification.
* RVI_Period (Default: 75) -> Calculation period for trend RVI (Unit: bars).
#### RVI Signal Filter
* Use_RVI_Signal_Filter (Default: false) -> Toggles RVI main versus signal line crossover check.
* RVI_Signal_Period (Default: 20) -> Calculation period for signal-line RVI (Unit: bars).
#### MACD Signal Filter
* Use_MACD_Filter (Default: false) -> Toggles MACD histogram differential (Main - Signal) check.
* MACD_FastEMA (Default: 12) -> Fast Exponential Moving Average period for MACD (Unit: bars).
* MACD_SlowEMA (Default: 26) -> Slow Exponential Moving Average period for MACD (Unit: bars).
* MACD_SignalSMA (Default: 9) -> Signal line Simple Moving Average period for MACD (Unit: bars).
* MACD_Applied (Default: PRICE_CLOSE) -> Applied price constant for MACD calculation.
#### MACD Level 0 Filter
* Use_MACD_Zero_Filter (Default: false) -> Toggles MACD main line zero-baseline check.
#### Support & Resistance Filter
* Use_SR_Filter (Default: false) -> Toggles dynamic support/resistance test confirmation.
* SR_Period (Default: 50) -> Historical bar lookback range for detecting S&R levels (Unit: bars).
* SR_Zone_Points (Default: 80) -> Tolerance band distance around S&R levels (Unit: points).
#### Fibonacci Filter
* Use_Fib_Filter (Default: false) -> Toggles ZigZag Fibonacci golden zone confirmation.
* Fib_Level_1 (Default: 0.382) -> Primary Fibonacci retracement level boundary (Unit: ratio).
* Fib_Level_2 (Default: 0.618) -> Secondary Fibonacci retracement level boundary (Unit: ratio).
* ZigZag_Depth (Default: 12) -> Depth parameter for swing ZigZag algorithm (Unit: bars).
* ZigZag_Deviation (Default: 5) -> Deviation threshold for swing ZigZag (Unit: points).
* ZigZag_Backstep (Default: 3) -> Backstep parameter for swing ZigZag (Unit: bars).
#### Alerts & Notifications
* InpAlertPopup (Default: false) -> Enables pop-up alert dialog boxes in MetaTrader 5.
* InpAlertSound (Default: false) -> Plays an acoustic sound file on verified signals.
* InpSoundFile (Default: "alert2.wav") -> Sound file name located in the Sounds directory.
* InpAlertPush (Default: false) -> Dispatches push notifications to mobile MetaTrader devices.
* InpAlertEmail (Default: false) -> Dispatches email notifications via terminal SMTP.
* InpEmailSubject (Default: "Alligator Scanner Signal") -> Header subject line string for emails.
* InpAlertOnlyNew (Default: false) -> Restricts alerts strictly to newly detected bar signals.
#### Display & Position Settings
* InpX (Default: 12) -> Horizontal pixel coordinate for dashboard position (Unit: pixels).
* InpY (Default: 28) -> Vertical pixel coordinate for dashboard position (Unit: pixels).
* InpScale (Default: 100) -> Master visual scaling percentage for the panel (70% to 180%).
* InpRowH (Default: 18) -> Vertical height allocated per table data row (Unit: pixels).
* InpFont (Default: 8) -> Base typographic font point size for table elements (Unit: points).
* InpPadX (Default: 8) -> Horizontal margin padding inside table cells (Unit: pixels).
* InpWPair (Default: 68) -> Column width for symbol asset names (Unit: pixels).
* InpWTF (Default: 34) -> Column width for timeframe labels (Unit: pixels).
* InpWArah (Default: 44) -> Column width for trade direction tags (Unit: pixels).
* InpWTime (Default: 96) -> Column width for signal timestamp readouts (Unit: pixels).
* InpWEntry (Default: 64) -> Column width for entry price readouts (Unit: pixels).
* InpWSL (Default: 64) -> Column width for Stop Loss price readouts (Unit: pixels).
* InpWTP1 (Default: 64) -> Column width for Take Profit 1 price readouts (Unit: pixels).
* InpWTP2 (Default: 64) -> Column width for Take Profit 2 price readouts (Unit: pixels).
* InpWATR (Default: 48) -> Column width for ATR volatility readouts in points (Unit: pixels).
* InpWUmur (Default: 42) -> Column width for elapsed signal age readouts (Unit: pixels).
* InpWOpen (Default: 44) -> Column width for interactive OPEN chart button (Unit: pixels).
* InpShowEmpty (Default: false) -> Displays table rows even when no active signal is present.
* InpMaxRows (Default: 18) -> Maximum quantity of signal rows rendered on panel (Unit: rows).
#### Sorting Settings
* InpSortBy (Default: SORT_TIME) -> Initial sorting column (0 = Time, 1 = Pair, 2 = TF, 3 = Direction).
* InpSortNewest (Default: true) -> Descending sort order placing newest setups at the top.
#### Draw On Chart Settings
* InpDrawOnChart (Default: true) -> Enables drawing technical levels directly on active chart.
* InpShowArrow (Default: true) -> Renders directional visual arrows at the signal candle.
* InpShowLevels (Default: true) -> Renders horizontal trendlines for Entry, SL, TP1, and TP2.
* InpExtendBars (Default: 25) -> Forward projection length for level lines (Unit: bars).
* InpArrowCodeBuy (Default: 233) -> Wingdings symbol code for Bullish Buy chart arrows.
* InpArrowCodeSell (Default: 234) -> Wingdings symbol code for Bearish Sell chart arrows.
* InpArrowSize (Default: 2) -> Graphical size and line thickness of signal arrows (Unit: size index).
* InpArrowDistance (Default: 15) -> Pixel offset spacing between arrow and candle extreme (Unit: points).
#### Color Customization Settings
* InpColBg (Default: C'18,22,28') -> Background color of main dashboard panel container.
* InpColHead (Default: C'32,38,48') -> Background color of panel header bar.
* InpColRow (Default: C'24,28,36') -> Primary alternating row background fill color.
* InpColRow2 (Default: C'28,33,42') -> Secondary alternating row background fill color.
* InpColText (Default: C'220,225,230') -> Typographic color for table text and price values.
* InpColBull (Default: C'0,200,83') -> Semantic accent color representing Bullish Buy direction.
* InpColBear (Default: C'255,82,82') -> Semantic accent color representing Bearish Sell direction.
* InpColMute (Default: C'120,128,140') -> Secondary muted color for timestamps and hints.
* InpColAccent (Default: C'41,98,255') -> Accent color used for interactive control buttons and title.
* InpColArrowBuy (Default: C'0,230,118') -> Chart arrow color for Bullish Buy signals.
* InpColArrowSell (Default: C'255,82,82') -> Chart arrow color for Bearish Sell signals.
* InpColEntry (Default: C'41,98,255') -> Line and label color for projected Entry price.
* InpColSL (Default: C'255,82,82') -> Line and label color for projected Stop Loss level.
* InpColTP1 (Default: C'0,200,83') -> Line and label color for projected Take Profit 1 level.
* InpColTP2 (Default: C'0,230,118') -> Line and label color for projected Take Profit 2 level.
### Risk Disclaimer
Trading foreign exchange, commodities, indices, and leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. Market volatility and leverage can work against you as well as for you, potentially leading to the loss of deposited capital. Past performance or backtested results do not guarantee future performance.
Alligator Scanner Dashboard is an analytical and operational technical analysis software designed to assist traders in identifying mathematical chart patterns and managing visual workflow. This software does not provide financial advice, does not guarantee profitability, and does not execute automated trades. Users must exercise independent judgment, apply sound risk and money management protocols, and thoroughly test the software on a demo account under various market conditions before considering deployment in live trading environments.
