Collection · MT4

MT4 Trading Collection

by paulnheera

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator.

GitHub stars1
Forks1
Last update6 years ago19 Apr 2020
LicenceNone stated

Overview

MT4 Trading Collection identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, take profit levels, and a trailing stop function. The repository contains various standard sample files and data extraction tools but lacks a README or specific configuration instructions for different currency pairs.

Details

Author

paulnheera on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Trend following

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
TakeProfitdouble50
Lotsdouble0.1
TrailingStopdouble30
MACDOpenLeveldouble3
MACDCloseLeveldouble2
MATrendPeriodint26

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone paulnheera/MT4-Trading 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, and any .mqh files into the Include folder the code expects.
  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

161 stars

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

MT4 Collection Indicator crossoverMartingaleGrid High risk

EA MQL4 Collection

by Yumerain
151 stars

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

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
135 stars

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

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection
18 stars

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

MT4 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Viktorzhong MT4 Collection
16 stars

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

MT4 Collection AI / machine learningIndicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of OverLord MQL4 Code Samples
12 stars

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

MT4 Collection Multi-strategyTrend followingIndicator crossover High risk

More collections

Need a broker for MT4?

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

Compare brokers