Adjustable MA Forex Expert Advisor
A simple, customizable two-moving-average EA for MT5. Designed as a study and backtest template rather than a live trading system.
Adjustable MA is a compact, open-source expert advisor that implements a two-moving-average crossover: it opens on a cross and closes on the opposite cross. The package at AutoFXRebate includes a ready MT5 build and a PDF install guide. MT4 and MT5 source code is available if you want to inspect or modify it.
All main inputs are exposed so you can set periods, MA type, a minimum difference filter, stop loss, take profit, trailing stop and slippage. The EA supports a fixed lot or a simple margin-based money management mode. It is intended for demo and learning use rather than live trading.
Run on demo first. The EA is meant for study and backtesting; keep it on a demo account while you test settings and measure drawdown before any live use.
사양
- Tool type
- Two-MA crossover expert advisor, intended as a study and backtest template
- Platform
- MT5 (package includes an MT5 build)
- Terms
- Free, open source (Apache 2.0)
- Strategy
- Opens on a moving average cross, closes on the opposite cross; always one position open and flips on each cross
- Main inputs
- Period_1 (default 20), Period_2 (default 22), MA_Method (EMA), MinDiff (default 3), Slippage (3)
- Trade management
- StopLoss, TakeProfit, TrailingStop in pips (0 disables); EA will add SL/TP after open on ECN brokers
- Lot sizing
- Manual Lots (default 0.1) or UseMM to size from free margin (LotsPer10000)
- Original list price
- Free
- At AutoFXRebate
- Free download, PDF install guide and Telegram support
How the crossover runs here
The EA monitors two moving averages and flips the position whenever they cross. MinDiff requires a minimum gap between the lines before a cross counts, which reduces whipsaw signals when the averages run close to each other.
On ECN brokers that do not allow SL/TP to be attached on order open, the EA opens the trade and then modifies it to add stop loss and take profit automatically.
What you can change and why it matters
Every element of the MA crossover can be adjusted: the two periods, the MA calculation method, the minimum difference before a cross triggers and the money management mode. Use the Strategy Tester to produce a baseline, then change one value at a time and compare results.
The EA is intentionally simple so you can use it as a teaching tool or a starting point for your own ideas. The open source code makes inspection and modification straightforward.
Who this suits
Traders who want a transparent EA to learn how an automated strategy is built and to test MA settings quickly. It is not presented as a ready live strategy; consider other AutoFXRebate entries if you need a production-ready EA.
If you prefer to tweak code or need a clean template for backtests across many pairs and timeframes, this provides a minimal starting point.
기능
- Classic two-MA crossover logic that flips position on every cross
- Adjustable MA periods, MA type and a MinDiff filter against tight crosses
- Optional StopLoss, TakeProfit and TrailingStop in pips (0 disables)
- Fixed lots or simple margin-based money management (UseMM)
- ECN compatible: opens order then attaches SL/TP automatically
- Open source under Apache 2.0; MT4 and MT5 sources available
성과
A backtest on EURUSD M5 with default inputs, not independently verified, shows about 12.2% growth over six years, roughly 12.6% maximum drawdown and 56.41% winners across 647 trades. Use those numbers only as a baseline to compare your own strategy variations and always validate changes on out-of-sample data while running the EA on demo.
장점
- Free and open source; you can read and modify the code
- Simple, exposed inputs make it easy to learn and to backtest systematically
- No martingale or grid; position sizing is explicit
- Package at AutoFXRebate includes PDF install instructions and Telegram support
단점
- Not profitable; recommended for demo use only
- A plain two-MA crossover offers limited edge in modern markets without further filters
- Backtest results are a single baseline and do not substitute for extensive forward testing
- No automatic tuning or advanced money management built in
설치
- Download the package from AutoFXRebate and follow the included PDF guide for MT5 installation.
- Copy the EA file into your MQL5/Experts folder, then restart MetaTrader 5.
- Enable Algo Trading (AutoTrading) in MT5 so the EA can place trades.
- Attach the EA to an M5 EURUSD chart with default inputs, run the Strategy Tester to create a baseline, and record growth, max drawdown and number of trades.
- Change one input at a time, such as Period_1, Period_2, MinDiff or SL/TP, and rerun tests on other pairs and out-of-sample data.
- Keep the EA on a demo account while you tune. If you open an account through AutoFXRebate, the site provides per-lot backcom; message our Telegram if you need help installing.
총평
Adjustable MA is best treated as a teaching and backtesting template rather than a plug-and-play live EA. Its transparency and open source code make it useful if you want to understand a basic crossover or use it as a starting point for development.
Start on demo, follow the setup steps above, treat the backtest figures as a baseline to improve on, and consider live use only after long demo validation. Download the MT5 build for free from AutoFXRebate and contact our Telegram group if you need installation help.
위험 고지
외환 및 CFD 거래에는 상당한 위험이 따르며 모든 투자자에게 적합하지 않을 수 있습니다. 지표, EA 및 거래 도구는 수익을 보장하지 않습니다. 항상 적절한 위험 관리를 적용하시기 바랍니다. AutoFXRebate는 이 도구들을 만들지 않았으며, 도구가 내세우는 어떠한 결과도 보증하지 않습니다. 실제 자금을 걸기 전에 데모에서 테스트하시기 바랍니다.
Adjustable MA Forex Expert Advisor 무료로 받기
파일은 설치 가이드와 함께 저희 Telegram 채널에 있습니다. 따로 입력할 것은 없습니다.
Telegram 열기관련 도구

GoldStorm MT5 Expert Advisor
An MT5 EA focused on XAUUSD using fractal breakout logic with three selectable modes (Conservative Swing, Aggressive Momentum, Trend Following). Recommended on H1; stop loss on every trade.
$89무료

Gold Grid Strategy EA
An MT5 grid robot that trades XAUUSD with trend-aligned baskets, 12 internal strategies and optional drawdown cutoff; no per-basket hard stop by design.
$1,199.99무료

5 in 1 One Strategy MT5 Robot
An MT5 EA that chooses one of five entry methods per signal; best used on XAUUSD and major pairs on M30 or H1. Martingale is off by default.
$199무료

Boom & Crash Index EA (MT5)
An MT5 expert advisor for Deriv synthetic indices that uses a Smart Recovery re-entry routine and runs best on M1, M5. Test on demo and keep position sizing conservative.
$40무료