Loading…

Forex Divergence Ergodic Swing Trading Strategy

Forex Divergence Ergodic Swing Trading Strategy — a MetaTrader 4 indicator kept in the Old Kings collection. Judging by its name, it is built around divergence between price and an oscillator. Its source code uses divergence checks and MACD. It draws arrows on the chart and can send alerts. It has 16 settings, for example Bar Diff (default 1), r (default 2) and s (default 10). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 4 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Indicator · MT4 · v1.0 · Free

About Forex Divergence Ergodic Swing Trading Strategy

Forex Divergence Ergodic Swing Trading Strategy is an indicator for MetaTrader 4 based on Divergence and MACD. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 16 settings, such as Bar diff, R and S. MQL source code included.

Files in the download: BH-Ergodic.mq4, CandleBreaker.ex4, divergence 1.tpl, THV3 Trix 4.01.ex4, DivergenceFX5_V2.0.mq4, installation manual.txt.

Settings

SettingDefaultWhat it does
Bar diff1calculations are taken between current bar and current bar + BarDiff
R2First moving average on mean values
S10Second moving average applied to first
U5Third moving average applied to division
Trigger3Final moving average or smoothing
Price type00=Close, 1=Open, 2=High, 3=Low, 4=Median, 5=Typical, 6=Weighted
Separator1*** OSMA Settings ***
Fast ema12
Slow ema26
Signal9
Separator2*** Indicator Settings ***
Positive sensitivity0.0001
Negative sensitivity-0.0001
History bars count0.0
Draw divergence linesTRUE
Display alertTRUETurn 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 · Buy/Sell Arrows · Alerts · MACD · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria