Basic Expert Advisor uses statistical calculations like standard deviation and confidence levels to determine entry signals based on price returns. The system is designed for intraday trading, featuring specific inputs for session start, end, and forced position closure times. Risk management features include point-based stop loss and take profit, a daily trade limit, and optional trailing stops or breakeven triggers to protect open positions.
Read from BasicEA3.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
input_magic_number
ulong
1
EA Magic number
input_risk_indicator
ENUM_RISK_USING
RISK_VAR
Risk indicator calculation
input_returns_timeframe
ENUM_TIMEFRAMES
PERIOD_M1
Returns timeframe
input_average_period
uint
20
Risk indicator MA period
input_confidence_level
ENUM_CONFIDENCE_LEVELS
LEVEL_95
Risk indicator confidence level
input_risk_std_dev
double
2
Risk indicator Standard Deviation
input_close_pos_on_avg
bool
false
Close position on risk indicator average?
input_init_trade_time
string
09:05
Time to initialize trades
input_end_trade_time
string
13:00
Time to end trades
input_close_positions
string
17:00
Time to close positions
input_use_risk_mgmt
bool
false
Use Risk Management?
input_take_profit_pts
double
50
Take profit threshold (pts - entry)
Show all 21 inputs
Name
Type
Default
Description
input_stop_loss_pts
double
10
Stop loss threshold (entry - pts)
input_use_trades_limit
bool
false
Use trades limit?
input_number_of_trades
int
1
Number of trades per day
input_use_breakeven
bool
false
Use breakeven?
input_break_even
double
10
Breakeven trigger
input_break_even_pts
double
5
Breakeven points
input_use_trailing_stop
bool
false
Use trailing stop?
input_trigger_ts
double
20
Trailing stop trigger
input_step_ts
double
1
Trailing stop step
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone angelohomen/BasicExpertAdvisor 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.
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.
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem
This MetaTrader 5 expert advisor serves as an educational example from a book on MQL5 programming. It implements a versatile trading system that can be configured to use moving average crossovers, Relative Strength Index levels, or both indicators combined for trade entries. The EA manages risk with user-defined stop l
Spike Trader is a price action robot for MetaTrader 4 and 5 that identifies price spikes to trade market reversals. It monitors candle highs or lows relative to preceding bars and requires a specific percentage price jump and candle close position to trigger an entry. The EA enters trades in the opposite direction of t
Allegro Stormer is a MetaTrader 5 expert advisor that implements a specific technical setup based on momentum and oscillator indicators. It utilizes a Momentum indicator filtered by a moving average alongside a Stochastic Oscillator to identify entry points. Risk management is centralized around the Average True Range,
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