Trading robot · MT4

Bollinger Envelopes Grid

by gemgin

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators.

High risk

GitHub stars26
Forks14
Last update8 years ago22 Dec 2017
LicenceNone stated

Overview

Bollinger Envelopes Grid primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage trades. It includes adjustable risk controls such as maximum order counts and lot limits, alongside traditional point-based stop loss and take profit settings. The software allows for specific trading directions including long-only, short-only, or both. The provided documentation is minimal and provides general platform definitions.

Details

Author

gemgin on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Martingale, Grid

Markets

Forex

Timeframes

Any timeframe

Risk profile

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

Topics

metatraderexpert-advisorsmetaquotes-language-4mql4eametatrader-4

Input parameters

Read from 02布林(new3).mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Stratgy_1kaiguanshi是否使用组1参数做单
Stratgy_2kaiguanshi是否使用组2参数做单
Lotsdouble0.1交易手数(固定手数)
EnverUseOrNot_c1kaiguanshi是否在组1使用envelopes指标
period_enver_1int144时间周期
move_enver_1int0平移
type_enver_1ENUM_MA_METHODMODE_SMA移动平均
applied_enver_1ENUM_APPLIED_PRICEPRICE_CLOSE应用于
deviation_enver_1double0.1偏差(%)
period_bands_c2int20布林带周期
deviation_bands_c2double2偏差
shift_bands_c2int0平移
Show all 30 inputs
NameTypeDefaultDescription
applied_bands_c2ENUM_APPLIED_PRICEPRICE_CLOSE应用于
range_bands_c2double10?
period_enver_2int144时间周期
move_enver_2int0平移
type_enver_2ENUM_MA_METHODMODE_SMA移动平均
applied_enver_2ENUM_APPLIED_PRICEPRICE_CLOSE应用于
deviation_enver_2double0.1偏差(%)
range_enver_2double200?
BarNumberint40有效期为X根K线?
Lots_c2double0.1组2手数
Add_Lots_Rangedouble100固定加仓间隔
jiacangbeishudouble1加仓倍数
Profit_c2double200止盈点数
Loss_c2double200止损点数
maxorderint1最大加仓次数
maxlotsint1最大加仓手数
MAGICMAint20010101组1EA识别码(每个EA设为不同数字)
MAGICMA_c2int20010102组2EA识别码(每个EA设为不同数字)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone gemgin/ExpertAdvisors 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.
  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

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus

HolyLamp

by dollarkillerx
3 stars

HolyLamp is a MetaTrader 4 automated trading system that utilizes mean-reversion signals across several technical indicators, including Bollinger Bands, RSI, Stochastics, and the Commodity Channel Index. It is primarily configured for EURUSD on the five-minute timeframe. The robot enters trades at indicator extremes an

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 4 years ago MIT GitHub repository of HolyLamp

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

Angry Bird

by bobdomo
2 stars

Angry Bird is a MetaTrader 4 expert advisor based on the Ilan 1.6 architecture, utilizing a mean-reversion strategy combined with aggressive risk management. The EA enters trades based on Relative Strength Index (RSI) levels to identify overextended price movements. It employs an exponential martingale lot scaling syst

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 years ago None stated GitHub repository of Angry Bird

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

More trading robots

Need a broker for MT4?

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

Compare brokers