Trading robot · MT4

ADX Martingale EA

by MatthewWebster10

This MetaTrader 4 expert advisor uses the Average Directional Index to identify and trade market trends.

High risk

GitHub stars2
Forks0
Last update6 years ago8 Oct 2019
LicenceNone stated

Overview

ADX Martingale EA implements a volatility-based risk management system using the Average True Range to calculate stop loss and take profit levels dynamically. The strategy includes a configurable martingale lot scaling mechanism and limits the total number of concurrent trades to manage exposure. Users can adjust entry delays via bar waiting parameters and define total account risk as a percentage of equity.

Details

Author

MatthewWebster10 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

Read from ADX MARTINGALE.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
WAIT_BARSint5
MAX_TRADESint3
NEW_TRADE_WAIT_BARSint26
MULTIPLIER_TPint5
MULTIPLIER_SLint3
MartingaleboolTrue
Time_Based_OrdersboolTrue
Do_SeparationboolTrue
ATR_periodint20
ATR_avg_periodint5
Slippageint3
ADX_perioddouble14
Show all 15 inputs
NameTypeDefaultDescription
ADX_avg_perioddouble5
EA_tot_riskdouble0.15
pseudo_sldouble20

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone MatthewWebster10/ADX-Expert-Advisor from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA
10 stars

This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on

MT4 Trading robot BreakoutTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of E and P For The Freedom

The Falcon

by Lucas170
10 stars

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon

Collinator

by jblanked
8 stars

Collinator is a MetaTrader 4 expert advisor specifically designed for trading US30 during the New York market open. It initiates trades based on the 8:30 AM candle trend or moving average crossovers. The robot features comprehensive exit management, including four stages of partial profit taking and a break-even stop l

MT4 Trading robot Trend followingMartingale High risk
Updated 3 years ago None stated GitHub repository of Collinator

EA HiLo

by yuriodilon
6 stars

EA HiLo is an automated trading robot for MetaTrader 4 that utilizes the HiLo Activator indicator for signal generation. It executes buy orders when the price closes above the indicator and sell orders when it closes below. The system includes a directional filter based on a moving average to confirm market trends befo

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 years ago None stated GitHub repository of EA HiLo

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers