• Información general
  • Comentarios (8)
  • Discusión (42)
  • Novedades

Stochastic and 3 iMA

This is a simple trend strategy for Forex.

Recommended timeframe is H1, the default settings are for the GBPUSD currency pairs (for other timeframes and currency pairs, it is necessary to select other indicator settings).

The following indicators are used in the strategy:

  1. Exponential Moving Average: EMA (4) — blue
  2. Exponential Moving Average: EMA (13) — green
  3. Exponential Moving Average: EMA (50) — orange.
  4. Stochastic Oscillator (12,9,5), levels — 20, 40, 60, 80.

A buy trade is opened at the opening of the next candle after the following conditions are met:

  1. ЕМА (4) crosses ЕМА (50) upwards.
  2. ЕМА (13) also crosses ЕМА (50) upwards.

Stop loss is set at the distance of either 50-70 points, 70 by default, or below EMA (50) — whichever is greater.

Exit the position as soon as the dotted (%D) line of Stochastic crosses the level 60 downwards. Figure 1. Additionally, exit the position when ЕМА (4) crosses ЕМА (50) upwards, provided that the position in profit.

For sell trades the conditions are opposite.

Exit the sell trade as soon as the dotted (%D) line of Stochastic crosses the level 40 upwards. Figure 2. Additionally, exit the position when ЕМА (4) crosses ЕМА (50) downwards, provided that the position in profit.


Settings

  • Lot for trading - lot size.
  • StopLoss - for five-digit quotes.
  • MagicNumber - Magic Number
  • The reverse trade??? - if FALSE, then trading is performed strictly according to the strategy. If TRUE, the EA opens positions inversely.
  • Stochastic High Level - the upper level, the overbought level of the Stochastic indicator.
  • Stochastic Low Level - the lower level, the oversold level of the Stochastic indicator.

Hopefully, the indicator parameters are self-explanatory.

Nikolay Gaylis
17215
Nikolay Gaylis 2018.12.18 15:21 
 

El usuario no ha dejado ningún comentario para su valoración

Mauro Giuseppe Tondo
1681
Mauro Giuseppe Tondo 2018.06.06 00:05 
 

El usuario no ha dejado ningún comentario para su valoración

Daniel Andrejczuk
5461
Daniel Andrejczuk 2017.11.09 23:45 
 

El usuario no ha dejado ningún comentario para su valoración

Andrey Litvichenko
7594
Andrey Litvichenko 2017.10.16 11:09 
 

El usuario no ha dejado ningún comentario para su valoración

Tomas Gajda
216
Tomas Gajda 2017.09.30 12:45 
 

Backtesting is so far so good after optimisation. Now forwardtest few months and see if same/similar results as for back test.

Nork
6084
Nork 2017.07.21 14:28 
 

El usuario no ha dejado ningún comentario para su valoración

Florin Selea
995
Florin Selea 2017.07.10 11:06   

What s wrong with this expert ? it opens more that 1 position and it shouldn t and doesn t puts stops ?!

Waste of time

sasha100
3431
sasha100 2017.04.24 12:54 
 

Интересный продукт.Спасибо автору.

Versión 1.5 2018.12.23
Добавлена возможность ограничения времени работы. Чтобы советник торговал круглосуточно, оставьте время начала и время окончания как есть, 0 и 24. Если-же вы хотите запустить советник для работы в ночное время, достаточно поставить начало торговли, к примеру 20 и завершение 6. Таким образом советник НЕ будет выставлять позиции с 6 до 20, но будет контролировать открытые и при необходимости их закрывать.
Versión 1.4 2018.12.20
Исправлена ошибка. Описание ошибки в обсуждении.
Versión 1.3 2018.12.18
Исправлена ошибка открытия позиций TRADE_RETCODE_INVALID_FILL
Versión 1.2 2017.06.01
Added the ability to select the levels of the Stochastic indicator.
Versión 1.1 2017.04.28
Added the ability to reverse trading. It allows opening BUY positions instead of SELL and vice versa.