Forex Trading Robot is a collection of MetaTrader 5 expert advisors that implement various technical strategies, including trend-following and hedging approaches.
The core logic utilizes Exponential Moving Averages and the Average True Range indicator to identify market volatility. It employs a martingale lot scaling system where position sizes are multiplied to recover from drawdown. Trade management is handled through a basket take profit mechanism that dynamically adjusts targets based on the number of active positions. The EA includes time-based restrictions and specific point distances for layering trades. The repository lacks documentation and a README file.
Read from hedgemode.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Lots
double
0.01
DistancePoints
int
100
StepDistancePoints
int
50
TpPointsOddPosition
int
800
TpPointsEvenPosition
int
400
TimeStartHour
int
8
TimeStartMin
int
0
LotsMultiplier
int
2
MovingAverageCount
int
4
AtrAverageCount
int
14
AtrUp
double
0.00090
AtrDown
double
0.00050
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone HosseinAssaran/ForexTradingRobot from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 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 repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based
This repository is a collection of MetaTrader 5 expert advisors and scripts designed for educational purposes. It contains several standalone trading tools, including simple Bollinger Band strategies, trailing stop managers, and limit order placement utilities. The primary example uses a grid-based approach, populating
This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a multi-currency ring trading system. The flagship EA executes trades across several currency pairs simultaneously, utilizing triangular hedging logic to manage exposure. It incorporates various lot management modes including
This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m
This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr
This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,