• Обзор
  • Отзывы (3)
  • Обсуждение (79)
  • Что нового

Multi oscillator divergence EA

This multi oscillator Expert Advisor identifies when a divergence occurs between price and an oscillator. It identifies both regular/classical (trend reversal) and hidden (trend continuation) divergences. It has RSI, Pin bar and Engulfing filter options which makes it possible to filter out only the strongest setups.

Due to the numerous amount of settings the Expert Advisor is mainly aimed for intermediate to advanced traders who already have experience with divergence trading.


Features

  • Can detect divergences for the following oscillators: MACD, OsMA (Moving average of Oscillator), Stochastic, RSI, CCI, RVI and Awesome. Only one oscillator can be selected.
  • Possibility to close half position selecting from different strategies.
  • 2 moving averages with different periods can be enabled as a trend filter. For instance MA 200 and MA 21.
  • Spread and slippage filter.
  • Averaging down function (when enabled then the EA does not comply with FIFO regulation)

It is recommended to trade a portfolio of minimum 6 symbols at the same time to reduce risk as much as possible. Please also make sure that you test the EA on a demo account and let at least 20 trades be done. I recommend you to start with the preset (.set) files (https://www.mql5.com/en/blogs/post/713758) when you will do your own back testing and fine tuning in the strategy tester.


Parameters

Parameters marked with an asterisk (*) in the beginning are explained here: https://www.mql5.com/en/blogs/post/713758

  • Send alert instead of opening trade - When set to 'true' an alert will be sent instead of opening a trade.
  • ECN account - 'true' or 'false'.
  • Main oscillator
  • Second oscillator (double divergence) - If set to NONE then only the main oscillator will be used.
  • Divergence candle shift (must be >0) - When set to 1 you will be able to catch the movement earlier. On the other hand, the signal is less reliable.
  • Double divergence max. candle shift - How many candles back in time to look for the second divergence.
  • * Second divergence time frame.
  • * Bars to check (divergence depth).
  • * Trade only if divergence candle high/low crossed.
  • * Offset in points from candle high/low.
  • Maximum bars signal is valid for - The market order will not be placed after this amount of bars.
  • Send alert instead of opening trade - When set to 'true' an alert will be sent instead of opening a trade.
  • REGULAR DIVERGENCE SETTINGS (trend reversal)
    • Trade regular.
    • RSI filter method.
    • Use moving average filter.
  • HIDDEN DIVERGENCE SETTINGS (trend continuation)
    • Trade hidden.
    • RSI filter method.
    • Use moving average filter.
  • * Divergence time frame
  • Open buy order - 'true' or 'false'.
  • Open sell order - 'true' or 'false'.
  • Trade only between given times (computer time) - Hour filter for opening trades.
  • Trade from/to time - Hour from/to.
  • * Maximum allowed slippage in points.
  • * Maximum allowed spread in points (0 = not used).
  • * Risk in percentage (>0 = auto lot). 
  • * Point value for risk percentage.
  • Manual lots - Will be used if Risk above is set to 0.
  • * Type of stop loss/exit
    • Fixed stop loss (SL).
    • * Take profit method
      • * Close half position
        • Fixed take profit.
        • * Trailing stop.
        • * Trailing step.
        • * Risk/Reward ratio.
        • Break-even (0 = disabled).
        • * Break-even trigger.
        • MACD AND OsMA SETTINGS
          • Fast MA - Default is 12 (5 for Awesome).
          • Slow MA - Default is 26 (34 for Awesome).
          • Signal MA - Default is 9 (not used with Awesome).
        • STOCHASTIC SETTINGS
          • K.
          • D.
          • Slowing.
        • CCI, RSI AND RVI SETTINGS
          • Period.
        • * CANDLE PATTERNS FILTER SETTINGS
        • MOVING AVERAGE (MA) FILTER SETTINGS
          • Slow/fast MA - Default is 200/21. If fast is set to same as slow then only the slow MA filter will be used.
          • Slow/fast MA method - Default is Simple (SMA).
          • Slow/fast MA price type - Default is Close.
          • MA time frame - It is recommended to set this to one time frame higher than the divergence time frame.
        • RSI FILTER SETTINGS
          • RSI overbought and oversold levels - The divergence candle must form above/below these levels in order to be valid.
          • RSI Period - Default period is 10.
          • RSI apply to price - RSI level is calculated from this setting. Default is Typical price.
        • * Averaging settings
          • ALERTS (if alert instead of trade is enabled)
            • Set to 'true' for each alert type you would like to activate.
          • EA SETTINGS
            • * Magic number.
            • * Order comment.


          PinkCashCat
          75
          PinkCashCat 2018.09.18 16:52 
           

          Nice EA #iLIKE

          sakamotoGM
          51
          sakamotoGM 2018.01.08 16:04 
           

          so far , excellent EA. Few & high quality trades.

          Farooq Majoka
          940
          Farooq Majoka 2017.11.29 19:17 
           

          A fairly good start with 71 pips off one long eurusd trade that was opened previous night. Looks like an error free neat ea with clear cut methodology. i think brother Flodin has put in more than his bit by providing fairly good .set files for different pairs and timeframes. 4 stars for a good start..will update before 30 days are up !!

          5th star added!

          It continues to trade so very well!

          thanx to brother Flodin for sharing the EA here for a very fair price tag!

          Версия 2.0 2018.10.13
          - added possibility to select if to use the RSI filter on first, last or both extremums. Before this update is was only possible to use it on the last extremum.
          Версия 1.9 2018.09.26
          - added trading time filter
          Версия 1.8 2018.09.24
          - added possibility to select separate periods for RSI, CCI and RVI
          Версия 1.7 2018.09.13
          - added logic so that the stop loss value (if set to >0) will also be applied to the averaging orders
          Версия 1.6 2018.08.16
          - added an averaging function
          - it is now possible to use separate RSI levels for hidden divergences
          - the parameter 'Wait for candle close' has been replaced with Candle shift
          Версия 1.5 2018.05.02
          - Улучшена функция двойного расхождения.
          - Добавлена поддержка открытия позиции, только когда дивергенция также найдена на старшем таймфрейме.
          Версия 1.4 2018.02.02
          - Добавлен осциллятор Awesome.
          - Добавлена возможность установки шага трейлинга.
          Версия 1.3 2018.01.15
          - исправлена ошибка в функции двойной дивергенции
          - добавлена возможность закрыть половину позиции на уровне поддержки/сопротивления, точке разворота, уровне ATR или Пин-баре
          Версия 1.2 2018.01.08
          - добавлена поддержка ECN-счетов
          - добавлена логика работы по соотношению риска к прибыли
          - добавлена поддержка двойной дивергенции
          - добавлен комбинированный список для выбора метода стоп-лосса
          - добавлена проверка параметров при загрузке советника
          Версия 1.1 2017.11.23
          - Исправлены мелкие ошибки