Trading robot · MT4

ADX Cross EA

by chaipat-ncm

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction.

High risk

GitHub stars143
Forks47
Last update2 years ago3 Apr 2024
LicenceNone stated

Overview

ADX Cross EA executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a profit-locking feature to secure gains. Users can choose between standard lot sizing or lot progression strategies, including a martingale option. The repository is designed as an educational tool for algorithmic trading development.

Details

Author

chaipat-ncm on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Martingale, Trend following

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Topics

amibroker

Input parameters

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

NameTypeDefaultDescription
magicint42029
CommonSettingsstring---------------------------------------------
user_slippageint2
user_tpint50
user_slint50
use_tp_slint1
profit_lockdouble0.90
MoneyManagementSettingsstring---------------------------------------------
money_managementint1
min_lotsdouble0.1
riskint5
progressionint00=none | 1:ascending | 2:martingale
Show all 16 inputs
NameTypeDefaultDescription
IndicatorSettingsstring---------------------------------------------
adx_periodint14
adx_leveldouble25
shiftint1

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone chaipat-ncm/learn2trade 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

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

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

Belinda Sizing EA

by Lucas170
5 stars

The Belinda Sizing EA is a MetaTrader 4 expert advisor that executes a trend-following strategy based on Simple Moving Average crossovers. It uses a volatility filter comparing current Average True Range values against historical data to confirm market conditions before entry. Trades are managed with a hard stop loss a

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing EA

Belinda Sizing

by Lucas170
5 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on simple moving average crossovers. It enters trades when a short-term SMA crosses a long-term SMA, provided a volatility filter using the Average True Range is met. The system includes automated exit logic via opposite crossovers, a hard stop

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

Belinda Sizing

by Lucas170
4 stars

Belinda Sizing is an automated trading robot for MetaTrader 4 that utilizes a dual moving average crossover strategy combined with a volatility filter. It enters trades when a short-period simple moving average crosses a long-period moving average, provided that current volatility measured via the Average True Range is

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

Oasis Money Maker

by rasimsen
3 stars

This MetaTrader 4 expert advisor executes trades based on three selectable technical indicators: Moving Averages, the Alligator indicator, or a custom channel strategy referred to as Rasim Line. It identifies trends and price levels to enter positions automatically. The EA manages risk through user-defined stop loss an

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Oasis Money Maker

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