The repository provides separate scripts for long and short entries, with options to evaluate trade signals either on a per-tick basis or only upon candle completion. Each expert advisor allows users to configure RSI periods and levels alongside standard risk controls, including fixed point-based stop loss and take profit orders and a total dollar loss limit. The scripts serve as educational templates for developers learning MQL5.
Read from RSI_Bar_Entry_Sell.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
LossLimit
int
2000
Loss Limit in dollars
Lot_Size
double
0.01
InpTakeProfitPts
int
35000
Take profit points
InpStopLossPts
int
20000
Stop loss points
InpTradeComment
string
__FILE__
Trade comment
InpMagicNumber
int
2000011
Magic number
RSI_Sell_Value
double
68
RSI_Period
int
14
RsiLookBack
int
0
PositionsTotals
int
2
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone sambaye/MQL5_Sample_Expert_Advisors 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.
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 is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp
This repository contains a collection of MetaTrader 5 expert advisors, primarily focused on the ChildsPlay strategy derived from online trading forums. The main expert advisor uses multiple exponential moving averages and the Commodity Channel Index across two timeframes to identify trend-following entries. It implemen
This collection features several expert advisors for the MetaTrader 5 platform, each built around a different technical indicator such as MACD, RSI, Parabolic SAR, and Ichimoku Kinko Hyo. The robots execute trades based on classic signal logic, including zero-line crossings and signal line crossovers. Users can configu
This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu
This educational collection provides a foundation for building MetaTrader 5 expert advisors through a series of modular code snippets and a primary RSI-based trading robot. The included expert advisor executes trades based on Relative Strength Index overbought and oversold levels, supporting both live and closed candle
MT5CollectionMean reversionIndicator crossoverTrend following