The primary logic utilizes MACD signal line crossovers filtered by moving average trends to identify entry points. Risk management is handled through fixed lot sizing, predefined take profit levels, and an automated trailing stop mechanism. The repository contains several variations of these strategies, including a combined MACD and moving average crossover filter. The documentation is minimal, consisting primarily of standard example code and basic logic implementations.
Read from MACD Sample.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
TakeProfit
double
50
Lots
double
0.1
TrailingStop
double
30
MACDOpenLevel
double
3
MACDCloseLevel
double
2
MATrendPeriod
int
26
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone hieplehoang/ea 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 collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri
This repository contains a collection of MetaTrader 4 expert advisors, primarily focusing on trend-following and crossover strategies. The main EA utilizes moving average crossovers to detect market trends and incorporates stochastic oscillators across multiple timeframes like M15 and H1. It manages risk through percen
This repository provides a collection of MetaTrader 4 expert advisors, centered around the OverLord robot which utilizes logistic regression models. OverLord determines entries by calculating price directionality over various tick counts and analyzing moving average slopes against hardcoded coefficients. In addition to
MT4CollectionAI / machine learningIndicator crossoverTrend following
This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring the Chaos Theory EA. This robot combines several trading methodologies including Bill Williams' Chaos Theory, Trading Made Simple, and THV3 to trade multiple currency pairs simultaneously. It utilizes technical filters such as Su