The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that increases exposure. Risk management tools include a maximum floating loss limit and ATR-based distance filters between orders. The library also includes separate strategies based on Ichimoku Kinko Hyo, Darvas Boxes, and Heiken Ashi indicators.
Bollinger Band mean-reversion logic
Dynamic and linear lot size progression
ATR-based minimum distance trade filtering
Global maximum floating loss protection
Includes Ichimoku, Darvas Box, and Heiken Ashi robots
Read from RubberBands.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpLabelBB
string
----- BOLLINGER BAND SETTINGS -----
BOLLINGER BAND SETTINGS
InpPeriod
int
20
Period [>0]
InpDeviation
double
2.0
Deviation [>0]
InpShift
int
0
Shift [>=0]
InpLabelTrade
string
----- TRADE SETTINGS -----
TRADE SETTINGS
InpTradeMode
TradeMode
TRADEMODE_BUY_AND_SELL
Trade Mode
InpLotProgression
LotProgression
LOT_DYNAMIC
Size Progression
InpLotSize
double
0.01
Starting Lot Size [>=0.01]
InpSkipTrades
int
4
Skip First Few Trades [>=0]
InpMaxFloatLoss
double
0.0
Maximum Floating Loss (in dollars) [>0.0, 0.0 ~ Off]
InpLabelFilter
string
----- FILTERS -----
FILTERS
InpDistanceType
MinimumDistance
DISTANCE_ATR
Minimum Distance Between Trades
Show all 22 inputs
Name
Type
Default
Description
InpMinDistance
double
100.0
Constant Minimum Distance (in pips)
InpLabelCustomize
string
----- CUSTOMIZATION -----
CUSTOMIZATION
InpInfoMode
InfoMode
INFO_SHOW_RIGHT
Indicator Info
InpInfoShiftX
int
0
Indicator Info Horizontal Shift
InpInfoFontSize
int
10
Indicator Info Font Size [>0]
InpInfoFontColor
color
clrPaleGreen
Indicator Info Font Color
InpBuyOpenArrow
color
clrBlue
Arrow Color For Buy Open
InpBuyCloseArrow
color
clrYellow
Arrow Color For Buy Close
InpSellOpenArrow
color
clrRed
Arrow Color For Sell Open
InpSellCloseArrow
color
clrYellow
Arrow Color For Sell Close
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Galm007/MT4-Expert-Advisors 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 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 contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-
This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas
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
This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.
This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con