Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.12.22 17:33
Experts

LB & SB using RSI & Momentum - expert for MetaTrader 4

| English Español Português 日本語 Deutsch

Views:
2835
Rating:
votes: 4
LRMB.mq4 (22.26 KB)view
SRMB.mq4 (21.74 KB)view

The same EA's as previously released. The additional code allows the user to set parameters on RSI and Momentum. For guidance, in the variables, if the RSI buy restrict is set to 70, the EA will not place a pending buy order if the RSI is above 70.

The modification to the code is simple, even someone of limited knowledge of coding could change the indicators to one of their choice. Below are the new lines.

extern int         RSI_Period        = 14;
extern int         RSI_Buy_Restrict  = 1.;
extern int         RSI_Sell_Restrict = 1.;
extern int    Momentum_Period        = 14;       //  These additional lines in the variables
extern int    Momentum_Buy_Restrict  = 1.;
extern int    Momentum_Sell_Restrict = 1.;


double d_RSI = iRSI(Symbol(),0,RSI_Period, PRICE_CLOSE, 1);
double d_Momentum=iMomentum(Symbol(),0,Momentum_Period,PRICE_CLOSE,1);     // These two lines before the order send

&& d_Momentum < Momentum_Buy_Restrict && d_RSI < RSI_Buy_Restrict)
&& d_Momentum > Momentum_Sell_Restrict && d_RSI > RSI_Sell_Restrict)     //These two lines at the order send


Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.