RSI MA Cross Custom initiates buy orders when the RSI indicates oversold conditions and a fast exponential moving average crosses above a slow exponential moving average. Conversely, it opens sell orders during overbought RSI conditions when the fast average crosses below the slow average. Risk controls include dynamic stop loss placement based on recent swing highs or lows and take profit levels determined by a reward-to-risk ratio. The project is designed primarily for educational use.
Read from RSI MA Cross Custom.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpFastMAPeriod
int
5
Fast MA Bars
InpFastMAMethod
ENUM_MA_METHOD
MODE_EMA
Fast MA Method
InpFastMAAppliedPrice
ENUM_APPLIED_PRICE
PRICE_CLOSE
Fast MA Applied Price
InpSlowMAPeriod
int
10
Slow MA Bars
InpSlowMAMethod
ENUM_MA_METHOD
MODE_EMA
Slow MA Method
InpSlowMAAppliedPrice
ENUM_APPLIED_PRICE
PRICE_CLOSE
Slow MA Applied Price
InpRSIPeriod
int
10
RSI Period
InpRSIAppliedPrice
ENUM_APPLIED_PRICE
PRICE_CLOSE
RSI Applied Price
InpRSIOverboughtLevel
double
80
RSI Overbought
InpRSIOversoldLevel
double
15
RSI Oversold
InpSwingPeriod
int
5
Swing high/low period
InpTakeProfitRatio
double
1.0
tp:sl ratio
Show all 15 inputs
Name
Type
Default
Description
InpOrderSize
double
0.01
Order size in lots
InpMagic
int
app_magic
Magic number
InpTradeComment
string
app_name
Trade comment
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone OrchardForexTutorials/230424_rsi_ma_cross_strategy_mt5 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
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
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