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

Experts

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

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

Views:
9116
Rating:
votes: 11
Published:
2016.12.22 17:33
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


Binary Options Strategy Library Binary Options Strategy Library

Build Binary Options strategies to test in the Strategy Tester of MetaTrader 4 with Binary Options Strategy Tester utility from marketplace.

Custom Moving Average Indicator Custom Moving Average Indicator

Code based on MetaTrader 4 Moving Average indicator.

Ultimate Moving Average Ultimate Moving Average

Moving Average based on Ultimate Oscillator. It calculates weighted average of three moving averages (Simple, Exponential, Smoothed or Linear Weighted).

Tipu Signal Plotter Tipu Signal Plotter

This is a simple indicator that plots Signal History on the chart.