RSI MA Cross Custom enters long positions when the RSI is oversold and a fast exponential moving average crosses above a slow one, and short positions when the RSI is overbought during a downward crossover. Risk management is handled through automated stop loss placement at recent swing highs or lows and a target take profit based on a user-defined reward-to-risk ratio. The EA uses fixed lot sizing and is primarily designed for educational demonstration.
Read from RSI MA Cross Custom.mq4. 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_mt4 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.
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 MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr
This MetaTrader 4 expert advisor is designed for gold scalping using a combination of Relative Strength Index and Exponential Moving Average indicators. It identifies entry points when momentum reaches specific overbought or oversold thresholds while considering moving average trends. The system manages risk through fi
This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci
This MetaTrader 4 expert advisor automates trading using a combination of trend-following and mean-reversion indicators. It executes trades based on the crossover of two Exponential Moving Averages, filtered by Relative Strength Index levels and Bollinger Band boundaries. The robot enters a position when an EMA crossov
This MetaTrader 4 expert advisor automates trading using Stochastic Oscillator signals. It allows for the confluence of up to three separate Stochastic indicators, potentially across different timeframes, to determine entry points. Trades are triggered by line crossovers or when the indicator reaches user-defined overb
Falcon D is a MetaTrader 4 expert advisor designed for the H1 timeframe, focusing on price retracement entries filtered by technical indicators. It opens positions when price deviates significantly from the daily start point in opposition to the established trend. The system incorporates filters including a long-period