The robot calculates an exponential moving average and applies a percentage-based deviation to create upper and lower bands. It enters trades when the price closes outside these bands, targeting a reversal. Positions are closed once the price returns within the envelope boundaries. The system features a time-of-day filter to limit activity to specific hours and uses fixed lot sizing. Notably, the provided code relies on signal-based exits and does not include traditional hard stop loss or take profit inputs.
Counter-trend envelope scalping strategy
Adjustable moving average period and deviation percentage
Read from envelopescalper.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Ma1
int
200
Moving average
Mode
ENUM_MA_METHOD
MODE_EMA
MA mode
dev
double
1.0
Deviation from MA [%]
lot
double
0.01
Lot-size
start
string
02:00
Start time [hh:mm]
stop
string
18:00
Stop time [hh:mm]
Magic
long
2143
Magic #
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone andhoo/Envelopescalper from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
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.
Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index
FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take
Advanced Multi Currency Scalper is a MetaTrader 5 robot designed to monitor and trade multiple forex pairs simultaneously from a single instance. The strategy is based on Bollinger Bands, using period and deviation settings to identify potential entry points. Each currency pair is managed independently with its own set
This MetaTrader 5 expert advisor collection provides multiple variants for scalping gold on the one-minute timeframe. It utilizes a combination of Stochastic Oscillator crossovers and linear regression analysis to identify trend quality and entry points. Trade management is handled through ATR-based dynamic stop loss a
High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s
This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity