Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | MQL5 Wizard MA RSI

The "MQL5 Wizard MA RSI" Expert Advisor has been generated using the MQL5 Wizard based on the signals of the trend MA (Moving Average) indicator and of the RSI (Relative Strength Index) oscillator.

The Expert Advisor only works at moment of new bar emergence:

//--- inputs for expert
input string             Expert_Title         ="MQL5 Wizard MA RSI"; // Document name
ulong                    Expert_MagicNumber   =26774;                //
bool                     Expert_EveryTick     =false;

Входные параметры:

VariableValueDisclaimer
Signal threshold value to open [0...100]55A threshold value to open a position. It can take on values from 0 to 100.
Signal threshold value to close [0...100]100A threshold value to close a position. It can take on values from 0 to 100.
Price level to execute a deal0.0Distance from the current price. If 0 - open at the current price, if -xx - pending Stop orders will be placed, if +xx - pending Limit orders will be placed.
Stop Loss level (in points)50.0The price level for Stop Loss
Take Profit level (in points)50.0The price level for Take Profit
Expiration of pending orders (in bars) 4Pending order lifetime (in bars)
Moving Average Period of averaging20MA — averaging period
Moving Average Time shift3MA — horizontal shift of the indicator 
Moving Average Method of averagingMODE_SMAMA — type of smoothing
Moving Average Prices series PRICE_CLOSEMA — price type
Moving Average Weight [0...1.0]0.8Weight of MA signals
Relative Strength Index Period of calculation3RSI — period of averaging
Relative Strength Index Prices seriesPRICE_CLOSERSI — price type
Relative Strength Index Weight [0...1.0]0.5Weight of RSI signals


Testing results on EURUSD, M15 from 2016.01.06 to 2017.01.27, initial deposit 3,000:

MetaTrader Experts, Indicators, Scripts and Libraries


17489

Best MetaTrader Indicators + Profitable Expert Advisors