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.
Read from ADX MARTINGALE.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
WAIT_BARS
int
5
MAX_TRADES
int
3
NEW_TRADE_WAIT_BARS
int
26
MULTIPLIER_TP
int
5
MULTIPLIER_SL
int
3
Martingale
bool
True
Time_Based_Orders
bool
True
Do_Separation
bool
True
ATR_period
int
20
ATR_avg_period
int
5
Slippage
int
3
ADX_period
double
14
Show all 15 inputs
Name
Type
Default
Description
ADX_avg_period
double
5
EA_tot_risk
double
0.15
pseudo_sl
double
20
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone MatthewWebster10/ADX-Expert-Advisor from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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
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
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