Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Larry Conners RSI 2 - expert for MetaTrader 5

Published by:
STANTON ROUX
Views:
12215
Rating:
(32)
Published:
2017.12.13 14:18
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This Expert Advisor uses three indicators, RSI (Relative Strength Index), fast Moving Average (5 period), slow Moving Average (200 period).

The Idea of this strategy is to determine the general trend by using the slow Moving Average (MA 200). Then buy on the dips and sell on the rises.

Long Entry Rules

  • RSI (2 period) is less than 6.
  • Close of previous candle is greater than slow Moving Average.

Long Exit Rules

  • Close is greater than fast Moving Average.

Short Entry Rules

  • RSI (2 period) is greater than 95.
  • Close of previous candle is less than slow Moving Average.

Short Exit Rules

  • Close is less than fast Moving Average.

Input parameters

input double   lot = 1;                  //Lots
input int      shortSmaPeriods = 5;      //Fast MA period
input int      longSmaPeriods = 200;     //Slow MA period
input int      RSIPeriods = 2;           //RSI Period 
input int      RSILongEntry = 6;         //RSI Long Entry
input int      RSIShortEntry = 95;       //RSI Short Entry

input int      slippage=3;
input bool     useStopLoss=true;       //Use Stop Loss
input double   stopLossPips=30;        //Stop Loss (pips)
input bool     useTakeProfit=true;     //Use Take Profit
input double   takeProfitPips=60;      //Take Profit (pips)

Best results on the EUR/USD pair 1H timeframe. Play with inputs to find your desired results.

EUR/USD 1 HR TF

LeadLagRelationshipTester LeadLagRelationshipTester

Script for checking the LeadLagRelationship indicator (https://www.mql5.com/en/market/product/26229)

PS Magicas - Three moving averages PS Magicas - Three moving averages

PS Magicas - Three moving averages that give target and possible entries.

Renko 2.0 Renko 2.0

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

CDouble & CDoubleVector CDouble & CDoubleVector

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!