Unisciti alla nostra fan page
- Pubblicati da::
- STANTON ROUX
- Visualizzazioni:
- 13015
- Valutazioni:
- Pubblicato:
- 2017.12.13 14:18
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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.

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

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

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

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!