Loading…

MACD Cross Martingale EA Ver 4

MACD Cross Martingale EA Ver 4 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Judging by its name, it is built around MACD (moving average convergence / divergence) and martingale money management (bigger lots after a loss — high risk). This copy is version 4. Its source code uses MACD. It raises the lot size after losses (martingale — high risk), can hold buy and sell positions together and moves the stop behind price. It has 40 settings, for example S1 (default ---------------- Entry S), Fast EMA (default 12) and Slow EMA (default 26). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 EA file 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.

Expert advisor · MT4 · v1.0 · Free

About MACD Cross Martingale EA Ver 4

MACD Cross Martingale EA Ver 4 is an expert advisor (trading robot) for MetaTrader 4 based on MACD. It increases the lot size after a losing trade (martingale), can hold buy and sell positions at the same time (hedging) and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as S1, Fast ema and Slow ema. MQL source code included.

It also can size trades from your balance and risk percent.

Files in the download: MACD Cross Martingale EA Ver 4.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
S1---------------- Entry Settings
Fast ema12
Slow ema26
Macdsma9
S2---------------- Money Management
Lots0.1|-----------------------lots size
Risk mmfalse|---------------------risk management
Risk percent1|------------------risk percentage
Martingalefalse|-----------------martingale
Multiplier12.0|-----------------multiplier martingale
Multiplier23.0|-----------------multiplier martingale
Multiplier34.0|-----------------multiplier martingale
Multiplier45.0|-----------------multiplier martingale
Multiplier56.0|-----------------multiplier martingale
Multiplier67.0|-----------------multiplier martingale
Multiply countHow much the lot size grows after a loss
Min lots0.01|-------------------minlots
Max lots100|--------------------maxlots
Basket profit lossfalse|-----------use basket loss/profit
Basket profit100000|---------------if equity reaches this level, close trades
Basket loss9999|-------------------if equity reaches this negative level, close trades
S3---------------- Order Management
Stop loss0|------------------------stop loss
Take profit0|----------------------take profit
Hide slfalse|---------------------hide stop loss
Hide tpfalse|---------------------hide take profit
Trailing stop0|--------------------trailing stop
Trailing step0|--------------------trailing step
Break even0|-----------------------break even
Max orders1|---------------------maximum orders allowed
Slippage3|------------------------slippage
Magic2009|------------------------magic number
S4---------------- MA Filter
Ma filterfalse|-------------------moving average filter
Ma period20|-----------------------ma filter period
Ma method0|------------------------ma filter method
Ma price0|-------------------------ma filter price
S5---------------- Time Filter
Trade on sundaytrue|---------------time filter on sunday
Monday to thursday time filterfalse|-time filter the week

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 → Experts.
  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 expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Martingale · MACD · Hedging · Trailing Stop & Break-even · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria