Collection · MT5

DollarKiller Martingale Study

by dollarkillerx

This MetaTrader 5 expert advisor is an educational project implementing a martingale trading strategy.

High risk

GitHub stars3
Forks2
Last update6 years ago15 Mar 2020
LicenceMIT

Overview

DollarKiller Martingale Study uses Bollinger Bands to trigger entries and employs a grid-based approach to manage trades by layering additional positions at fixed intervals. The system features lot size multiplication after each layer to recover losses and targets a cumulative profit amount for closing the basket. It includes risk management controls for maximum position limits and spread deviations. The project is primarily designed as a study tool for learning MQL5 development.

Details

Author

dollarkillerx on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Martingale, Grid, Mean reversion

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
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
usernamestringEA平台账户
passwordstringEA平台密码
Majicint666Majic
Deviationint100点差小点
bandsCycleint53布林带周期
bandsDeviationint3布林带偏差
initialRrderQuantitydouble0.045初始下单量
initialTakeProfitint103初始止盈点数
pointsAddingPositionsint219加仓间隔点数
marginMultipleint18加仓倍数
maximumNumberSameDirectionint23同向最大持仓数
totalProfitdouble100总获利出场

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone dollarkillerx/MT5-STUDY 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
6 stars

This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define

MT5 Collection MartingaleGridBreakout High risk

North East Way Collection

by Yogurt-Peng
2 stars

This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through

MT4MT5 Collection Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way Collection

Guangying Strategy

by sunyourway
2 stars

This collection for MetaTrader 4 and 5 features the Guangying multi-symbol expert advisor alongside various utility tools and martingale-based robots. The primary system monitors multiple forex pairs and gold from a single chart using Fibonacci-derived logic for trade entries. It includes risk controls such as equity d

MT4MT5 Collection MartingaleGridMulti-strategy High risk
Updated 9 years ago None stated GitHub repository of Guangying Strategy
2 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes. 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

MT5 Collection Indicator crossoverMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of MQL5 Learning Collection

Mql Coading EA Collection

by Sureshpatil4348
1 stars

This repository provides an extensive collection of MetaTrader 4 and MetaTrader 5 expert advisors, including the Cobra and Pivot Point systems. The included tools utilize strategies ranging from daily pivot level reversals to grid-based recovery and cost-averaging methods. Notable features include ATR-based stop losses

MT4MT5 Collection GridMean reversionMulti-strategy High risk
Updated 1 year ago None stated GitHub repository of Mql Coading EA Collection

More collections

Need a broker for MT5?

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

Compare brokers