Loading…

Rule Based Divergence Scanner

Rule Based Divergence Scanner — MT4 indicator, supplied with source code and a compiled file. Source metadata: ID 4984: Rule-Based Divergence Scanner; core Divergence mapped to PRICE_ACTION/DIVERGENCE; visual-only custom indicator Declared inputs include: CatalogId, CalculationTimeframe, FastPeriod, SlowPeriod, SignalPeriod, ATRPeriod, LookbackPeriod, MaxBars, SignalThreshold, BandATRMultiplier, SessionStartHour, SessionEndHour, NotifyOnSignal. Description extracted from the supplied source metadata. Compilation compatibility, runtime behavior and trading results have not been independently verified.

Indicator · MT4 · v1.00 · Free

About Rule Based Divergence Scanner

Rule Based Divergence Scanner is an indicator for MetaTrader 4 based on Divergence, RSI, Moving Average and ATR. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 13 settings, such as Catalog id, Calculation timeframe and Fast period. MQL source code included.

Files in the download: Rule_Based_Divergence_Scanner.mq4, Rule_Based_Divergence_Scanner.ex4.

Settings

SettingDefaultWhat it does
Catalog id4984
Calculation timeframePERIOD_CURRENTPeriod or timeframe used by the calculation
Fast period14Period or timeframe used by the calculation
Slow period30Period or timeframe used by the calculation
Signal period8Period or timeframe used by the calculation
Atr period16Period or timeframe used by the calculation
Lookback period40Period or timeframe used by the calculation
Max bars1600
Signal threshold24.0
Band atr multiplier1.40How much the lot size grows after a loss
Session start hour0Hour when trading starts (server time)
Session end hour0Hour when trading stops (server time)
Notify on signalfalseTurn this alert on or off

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Divergence · Dashboards & Scanners · Buy/Sell Arrows · Alerts · RSI · Moving Average · ATR · MT4 Indicator · MQL4 Source Code

MetaTrader 4 & 5 indicators · PolyMaria