Collection · MT5

MQL5 Learning Collection

by cloudater

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes.

High risk

GitHub stars2
Forks0
Last update2 years ago16 Jan 2024
LicenceNone stated

Overview

The primary strategies revolve around Commodity Channel Index crossovers and Average True Range indicators for dynamic stop loss and take profit placement. The codebase includes various experimental models, such as double moving average breakouts and counter-trend trading logic. It also provides implementations for higher-risk management styles, including grid layering and martingale lot scaling. As a learning project, the documentation is minimal and focuses on technical implementation details and bug resolution for the MT5 platform.

Details

Author

cloudater on GitHub

Type

Collection

Strategy

Indicator crossover, Mean reversion, Martingale, Grid

Markets

Any symbol

Timeframes

Any timeframe

Risk Profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend

Input Parameters

Read from D_CCI_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
div1string--------指标设置--------分割线
init_fast_periodint18CCI快线周期
init_fast_colorintclrWhiteCCI快线颜色
init_slow_periodint54CCI?
init_slow_colorintclrYellowCCI?
is_ATRbooltrue是否打开ATR止盈止损;
div2string--------EA设置--------分割线
init_lotsdouble0.01下单手数
init_commentstringCCI crose+ATR EA: 注释前缀
init_magiclong15291406EA识别码
init_tpint500止盈
init_typeOrderTypeBuyType设置开仓方向
Show all 13 inputs
NameTypeDefaultDescription
init_savefilestringis_param.csv参数文件的名称

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone cloudater/MQL5_Learning from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

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

MT5 Collection Indicator crossoverMean reversionMartingale High risk

Robot AI

by yansuwitna
1 stars

This MetaTrader 5 expert advisor utilizes Stochastic Oscillator crossovers to execute buy and sell orders. It calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that

MT5 Collection Indicator crossoverMartingaleMean reversion High risk
Updated 6 months ago None stated GitHub repository of Robot AI

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
4 stars

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

MT4 Collection MartingaleGridIndicator crossover High risk
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice repository for automated trading scripts. It features several distinct strategies, including moving average crossovers, Bollinger Band mean-reversion, and RSI-based entries. A core component of the repository is a martingale-style system that layers o

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of MQL4 Practice Collection

More collections

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers