Introduction MQL5 Book EA 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 loss and take profit levels and uses fixed lot sizing. A notable feature is the inclusion of a daily time-based exit, which automatically closes open positions at a specified hour. It is designed for users learning automated strategy development.
Read from MA_CROS_RSI.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
s0
string
—
Strategy
strategy
STRATEGY_IN
ONLY_MA
Trader Entry Strategy
s1
string
—
Moving Averages
ma_fast_period
int
12
Fast Moving Average Period
ma_slow_period
int
32
Slow Moving Average Period
ma_time_graphic
ENUM_TIMEFRAMES
PERIOD_CURRENT
Graphic Time
ma_method
ENUM_MA_METHOD
MODE_EMA
Method
ma_price
ENUM_APPLIED_PRICE
PRICE_CLOSE
Price Applied
s2
string
—
RSI
rsi_period
int
5
RSI Period
rsi_time_graphic
ENUM_TIMEFRAMES
PERIOD_CURRENT
Graphic Time
rsi_price
ENUM_APPLIED_PRICE
PRICE_CLOSE
Price Applied
Show all 20 inputs
Name
Type
Default
Description
rsi_overbought
int
70
Level Overbought
rsi_oversold
int
30
Level Oversold
s3
string
—
num_lots
int
100
Number of lots
TK
double
60
Take Profit
SL
double
30
Stop Loss
s4
string
—
limit_close_op
string
17:40
Time Limit Close Position
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone rafaelfvcs/Introduction-to-MetaTrader5-and-MQL5---book 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
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
This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l
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
This expert advisor for MetaTrader 5 automates trade entries using a combination of Relative Strength Index (RSI), Money Flow Index (MFI), and multiple Moving Average periods. It identifies potential entry points based on overbought and oversold thresholds, specifically looking for RSI values below 30 or MFI values bel