This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers.
Area Fifty One calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled through either fixed lot sizes or dynamic sizing based on account leverage and free margin. The EA includes a trailing stop mechanism and a utility to manage manual trades. It is optimized for several major forex pairs on intraday and swing timeframes.
Multi-strategy support including trend and RSI filters
Dynamic lot sizing based on account margin and leverage
Read from AreaFiftyOne.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Trading
static string
Base trading params
LotSize
double
0.01
LotAutoSize
bool
false
LotRiskPercent
double
25
MoneyManagement
static string
Set MM settings here
MoneyRiskInPercent
int
0
MaxDynamicLotSize
double
0.0
MaxMoneyValueToLose
int
0
Positions
static string
Handle positions params
TrailingStep
int
15
DistanceStep
int
15
TakeProfit
int
750
Show all 40 inputs
Name
Type
Default
Description
StopLoss
int
10000
MaxSpread
int
25
Indicators
static string
Choose strategies
TrendIndicatorStrategy
static string
-------------------
UseTrendIndicator
bool
false
Smoothing
double
3.0
UseSMAOnTrendIndicator
bool
true
UseOneOrTwoSMAOnTrendIndicator
int
1
UseSMAsCrossingOnTrendIndicatorData
bool
false
RSIBasedStrategy
static string
-------------------
UseRSIBasedIndicator
bool
true
UseCorridorCroosing
bool
false
MACD_ADX_MA_Strategy
static string
-------------------
UseSimpleTrendStrategy
bool
false
SimpleStochasticCrossingStrategy
static string
-------------------
UseStochasticBasedStrategy
bool
false
ADX_RSI_MA_Strategy
static string
-------------------
Use5050Strategy
bool
false
UseMAOn5050Strategy
bool
false
StochastiCroosingRSIStrategy
static string
-------------------
UseStochRSICroosingStrategy
bool
true
UseADX50PlusStrategy
static string
-------------------
UseADX50Plus
bool
false
ADX50PlusPeriod
int
34
MagicTrendStrategy
static string
-------------------
UseMagicTrendStrategy
bool
false
CCPeriod
int
120
HMAStrategy
static string
-------------------
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Valerzen88/FiftyFiftyExpert 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, 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.
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 contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex
This repository provides a collection of Expert Advisors for MetaTrader 5 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti
MT5CollectionIndicator crossoverMean reversionTrend following
This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicator automation. The core component aggregates signals from a wide array of standard tools, including trend-following moving averages, oscillators like RSI and MACD, and Bill Williams indicators. It includes specifi
This collection of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc
This repository contains a collection of MetaTrader 5 expert advisors designed for various financial instruments including the DAX index, gold, oil, and major currency pairs. The library includes specialized robots like German Sunrise for DAX mean reversion and others for specific events like Friday gold moves or Tuesd
MT5CollectionMean reversionIndicator crossoverTrend following